From b103c7219228bf6ae11ee0a0dd025a412f1a5470 Mon Sep 17 00:00:00 2001 From: chenzhihui Date: Wed, 3 Mar 2021 22:31:32 +0800 Subject: [PATCH] update kratos --- cmd/kratos/main.go | 5 ++--- cmd/protoc-gen-go-errors/go.mod | 2 +- cmd/protoc-gen-go-errors/main.go | 2 +- cmd/protoc-gen-go-http/go.mod | 2 +- cmd/protoc-gen-go-http/go.sum | 4 ++-- cmd/protoc-gen-go-http/main.go | 2 +- 6 files changed, 8 insertions(+), 9 deletions(-) diff --git a/cmd/kratos/main.go b/cmd/kratos/main.go index 19150b815..d0c9506c0 100644 --- a/cmd/kratos/main.go +++ b/cmd/kratos/main.go @@ -10,14 +10,13 @@ import ( ) var ( - // Version is the version of the compiled software. - Version string = "v2.0.0-alpha4" + version string = "v2.0.0-alpha5" rootCmd = &cobra.Command{ Use: "kratos", Short: "Kratos: An elegant toolkit for Go microservices.", Long: `Kratos: An elegant toolkit for Go microservices.`, - Version: Version, + Version: version, } ) diff --git a/cmd/protoc-gen-go-errors/go.mod b/cmd/protoc-gen-go-errors/go.mod index b42906cf6..8dfbaf147 100644 --- a/cmd/protoc-gen-go-errors/go.mod +++ b/cmd/protoc-gen-go-errors/go.mod @@ -3,7 +3,7 @@ module github.com/go-kratos/kratos/cmd/protoc-gen-go-errors/v2 go 1.15 require ( - github.com/go-kratos/kratos/v2 v2.0.0-alpha4 + github.com/go-kratos/kratos/v2 v2.0.0-alpha5 github.com/google/uuid v1.2.0 // indirect golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect google.golang.org/grpc v1.36.0 // indirect diff --git a/cmd/protoc-gen-go-errors/main.go b/cmd/protoc-gen-go-errors/main.go index e590c0bc5..12a8b1924 100644 --- a/cmd/protoc-gen-go-errors/main.go +++ b/cmd/protoc-gen-go-errors/main.go @@ -8,7 +8,7 @@ import ( "google.golang.org/protobuf/types/pluginpb" ) -const version = "0.0.1" +const version = "v2.0.0-alpha5" func main() { showVersion := flag.Bool("version", false, "print the version and exit") diff --git a/cmd/protoc-gen-go-http/go.mod b/cmd/protoc-gen-go-http/go.mod index a7d44ac4c..8144ee2a5 100644 --- a/cmd/protoc-gen-go-http/go.mod +++ b/cmd/protoc-gen-go-http/go.mod @@ -3,7 +3,7 @@ module github.com/go-kratos/kratos/cmd/protoc-gen-go-http/v2 go 1.15 require ( - github.com/go-kratos/kratos/v2 v2.0.0-20210303135906-ec6ddeeacb79 + github.com/go-kratos/kratos/v2 v2.0.0-alpha5 github.com/golang/protobuf v1.4.3 github.com/gorilla/mux v1.8.0 google.golang.org/genproto v0.0.0-20210202153253-cf70463f6119 diff --git a/cmd/protoc-gen-go-http/go.sum b/cmd/protoc-gen-go-http/go.sum index 1c5cf17e2..5c131b17e 100644 --- a/cmd/protoc-gen-go-http/go.sum +++ b/cmd/protoc-gen-go-http/go.sum @@ -9,8 +9,8 @@ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.m github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/go-kratos/kratos/v2 v2.0.0-20210303135906-ec6ddeeacb79 h1:30gIrPVUDzCZyHLh9gYbYyDykQAcVIoAWBty1UpwpzU= -github.com/go-kratos/kratos/v2 v2.0.0-20210303135906-ec6ddeeacb79/go.mod h1:oLvFyDBJkkWN8TPqb+NmpvRrSy9uM/K+XQubVRc11a8= +github.com/go-kratos/kratos/v2 v2.0.0-alpha5 h1:lewh/J44ua+EFTTdjQ9F6+yVGzV8GBFi177aPHZyJCw= +github.com/go-kratos/kratos/v2 v2.0.0-alpha5/go.mod h1:oLvFyDBJkkWN8TPqb+NmpvRrSy9uM/K+XQubVRc11a8= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= diff --git a/cmd/protoc-gen-go-http/main.go b/cmd/protoc-gen-go-http/main.go index 86c436ef4..18418e437 100644 --- a/cmd/protoc-gen-go-http/main.go +++ b/cmd/protoc-gen-go-http/main.go @@ -8,7 +8,7 @@ import ( "google.golang.org/protobuf/types/pluginpb" ) -const version = "0.0.1" +const version = "v2.0.0-alpha5" func main() { showVersion := flag.Bool("version", false, "print the version and exit")