replace version format

This commit is contained in:
Asim Aslam 2019-09-22 15:21:22 +01:00
parent 9fbc88a60f
commit 2434c7b2a7

View File

@ -119,7 +119,7 @@ type Option func(*Options)
var ( var (
DefaultAddress = ":0" DefaultAddress = ":0"
DefaultName = "go.micro.server" DefaultName = "go.micro.server"
DefaultVersion = fmt.Sprintf("%d", time.Now().Unix()) DefaultVersion = time.Now().Format("2006.01.02.15.04")
DefaultId = uuid.New().String() DefaultId = uuid.New().String()
DefaultServer Server = newRpcServer() DefaultServer Server = newRpcServer()
DefaultRouter = newRpcRouter() DefaultRouter = newRpcRouter()