From 9c5f96471cdb5fc50b23c69f614553f993a58c95 Mon Sep 17 00:00:00 2001 From: Tony Date: Sun, 29 Mar 2020 11:49:07 +0800 Subject: [PATCH] update kratos version to v0.4.0 (#537) Co-authored-by: chenzhihui --- tool/kratos/tool_index.go | 18 +++++++++--------- tool/kratos/version.go | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tool/kratos/tool_index.go b/tool/kratos/tool_index.go index 8252e64c5..36035d92b 100644 --- a/tool/kratos/tool_index.go +++ b/tool/kratos/tool_index.go @@ -6,7 +6,7 @@ var toolIndexs = []*Tool{ { Name: "kratos", Alias: "kratos", - BuildTime: time.Date(2019, 6, 21, 0, 0, 0, 0, time.Local), + BuildTime: time.Date(2020, 3, 29, 0, 0, 0, 0, time.Local), Install: "go get -u github.com/go-kratos/kratos/tool/kratos", Summary: "Kratos工具集本体", Platform: []string{"darwin", "linux", "windows"}, @@ -16,7 +16,7 @@ var toolIndexs = []*Tool{ { Name: "protoc", Alias: "kratos-protoc", - BuildTime: time.Date(2019, 10, 31, 0, 0, 0, 0, time.Local), + BuildTime: time.Date(2020, 3, 29, 0, 0, 0, 0, time.Local), Install: "go get -u github.com/go-kratos/kratos/tool/kratos-protoc", Summary: "快速方便生成pb.go的protoc封装,windows、Linux请先安装protoc工具", Platform: []string{"darwin", "linux", "windows"}, @@ -25,7 +25,7 @@ var toolIndexs = []*Tool{ { Name: "swagger", Alias: "swagger", - BuildTime: time.Date(2019, 5, 5, 0, 0, 0, 0, time.Local), + BuildTime: time.Date(2020, 3, 29, 0, 0, 0, 0, time.Local), Install: "go get -u github.com/go-swagger/go-swagger/cmd/swagger", Summary: "swagger api文档", Platform: []string{"darwin", "linux", "windows"}, @@ -34,7 +34,7 @@ var toolIndexs = []*Tool{ { Name: "genbts", Alias: "kratos-gen-bts", - BuildTime: time.Date(2019, 10, 31, 0, 0, 0, 0, time.Local), + BuildTime: time.Date(2020, 3, 29, 0, 0, 0, 0, time.Local), Install: "go get -u github.com/go-kratos/kratos/tool/kratos-gen-bts", Summary: "缓存回源逻辑代码生成器", Platform: []string{"darwin", "linux", "windows"}, @@ -43,7 +43,7 @@ var toolIndexs = []*Tool{ { Name: "genmc", Alias: "kratos-gen-mc", - BuildTime: time.Date(2019, 7, 23, 0, 0, 0, 0, time.Local), + BuildTime: time.Date(2020, 3, 29, 0, 0, 0, 0, time.Local), Install: "go get -u github.com/go-kratos/kratos/tool/kratos-gen-mc", Summary: "mc缓存代码生成", Platform: []string{"darwin", "linux", "windows"}, @@ -52,7 +52,7 @@ var toolIndexs = []*Tool{ { Name: "wire", Alias: "wire", - BuildTime: time.Date(2019, 8, 20, 0, 0, 0, 0, time.Local), + BuildTime: time.Date(2020, 3, 29, 0, 0, 0, 0, time.Local), Install: "go get -u github.com/google/wire/cmd/wire", Platform: []string{"darwin", "linux", "windows"}, Hidden: true, @@ -61,7 +61,7 @@ var toolIndexs = []*Tool{ Name: "genproject", Alias: "kratos-gen-project", Install: "go get -u github.com/go-kratos/kratos/tool/kratos-gen-project", - BuildTime: time.Date(2019, 12, 22, 0, 0, 0, 0, time.Local), + BuildTime: time.Date(2020, 3, 29, 0, 0, 0, 0, time.Local), Platform: []string{"darwin", "linux", "windows"}, Hidden: true, Requirements: []string{"wire"}, @@ -69,7 +69,7 @@ var toolIndexs = []*Tool{ { Name: "testgen", Alias: "testgen", - BuildTime: time.Date(2020, 1, 20, 22, 33, 0, 0, time.Local), + BuildTime: time.Date(2020, 3, 29, 0, 0, 0, 0, time.Local), Install: "go get -u github.com/go-kratos/kratos/tool/testgen", Summary: "测试代码生成", Platform: []string{"darwin", "linux", "windows"}, @@ -78,7 +78,7 @@ var toolIndexs = []*Tool{ { Name: "testcli", Alias: "testcli", - BuildTime: time.Date(2020, 1, 20, 22, 33, 0, 0, time.Local), + BuildTime: time.Date(2020, 3, 29, 0, 0, 0, 0, time.Local), Install: "go get -u github.com/go-kratos/kratos/tool/testcli", Summary: "测试代码运行", Platform: []string{"darwin", "linux", "windows"}, diff --git a/tool/kratos/version.go b/tool/kratos/version.go index 84617b651..29497eefe 100644 --- a/tool/kratos/version.go +++ b/tool/kratos/version.go @@ -8,9 +8,9 @@ import ( var ( // Version is version - Version = "0.3.3" + Version = "0.4.0" // BuildTime is BuildTime - BuildTime = "2020/1/19" + BuildTime = "2020/3/29" ) // VersionOptions include version