From 14d383bc6fe34b50464c6ab54ed2508d57b80975 Mon Sep 17 00:00:00 2001 From: longXboy Date: Thu, 8 Jul 2021 13:54:09 +0800 Subject: [PATCH] add v2.0.0 --- api/metadata/metadata_http.pb.go | 2 +- cmd/kratos/main.go | 4 ++-- cmd/protoc-gen-go-errors/main.go | 2 +- cmd/protoc-gen-go-http/main.go | 2 +- examples/blog/api/blog/v1/blog_http.pb.go | 2 +- examples/helloworld/helloworld/helloworld_http.pb.go | 2 +- examples/swagger/helloworld/helloworld_http.pb.go | 2 +- examples/traces/api/message/message_http.pb.go | 2 +- examples/traces/api/user/user_http.pb.go | 2 +- examples/validate/api/example_http.pb.go | 2 +- internal/testproto/echo/echo_service_http.pb.go | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/api/metadata/metadata_http.pb.go b/api/metadata/metadata_http.pb.go index 4c9c3eb7f..c241e376a 100644 --- a/api/metadata/metadata_http.pb.go +++ b/api/metadata/metadata_http.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-http. DO NOT EDIT. // versions: -// protoc-gen-go-http v2.0.0-rc7 +// protoc-gen-go-http v2.0.0 package metadata diff --git a/cmd/kratos/main.go b/cmd/kratos/main.go index 33a3229e2..6f0562c94 100644 --- a/cmd/kratos/main.go +++ b/cmd/kratos/main.go @@ -12,7 +12,7 @@ import ( ) var ( - version string = "v2.0.0-rc7" + version string = "v2.0.0" rootCmd = &cobra.Command{ Use: "kratos", @@ -34,4 +34,4 @@ func main() { if err := rootCmd.Execute(); err != nil { log.Fatal(err) } -} \ No newline at end of file +} diff --git a/cmd/protoc-gen-go-errors/main.go b/cmd/protoc-gen-go-errors/main.go index f2787c023..704b858e6 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 = "v2.0.0-rc7" +const version = "v2.0.0" func main() { showVersion := flag.Bool("version", false, "print the version and exit") diff --git a/cmd/protoc-gen-go-http/main.go b/cmd/protoc-gen-go-http/main.go index 31c540659..88c47a8eb 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 = "v2.0.0-rc7" +const version = "v2.0.0" func main() { showVersion := flag.Bool("version", false, "print the version and exit") diff --git a/examples/blog/api/blog/v1/blog_http.pb.go b/examples/blog/api/blog/v1/blog_http.pb.go index 1e11f837e..5c8a8129f 100644 --- a/examples/blog/api/blog/v1/blog_http.pb.go +++ b/examples/blog/api/blog/v1/blog_http.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-http. DO NOT EDIT. // versions: -// protoc-gen-go-http v2.0.0-rc7 +// protoc-gen-go-http v2.0.0 package v1 diff --git a/examples/helloworld/helloworld/helloworld_http.pb.go b/examples/helloworld/helloworld/helloworld_http.pb.go index d362a4c75..8515ed383 100644 --- a/examples/helloworld/helloworld/helloworld_http.pb.go +++ b/examples/helloworld/helloworld/helloworld_http.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-http. DO NOT EDIT. // versions: -// protoc-gen-go-http v2.0.0-rc7 +// protoc-gen-go-http v2.0.0 package helloworld diff --git a/examples/swagger/helloworld/helloworld_http.pb.go b/examples/swagger/helloworld/helloworld_http.pb.go index d362a4c75..8515ed383 100644 --- a/examples/swagger/helloworld/helloworld_http.pb.go +++ b/examples/swagger/helloworld/helloworld_http.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-http. DO NOT EDIT. // versions: -// protoc-gen-go-http v2.0.0-rc7 +// protoc-gen-go-http v2.0.0 package helloworld diff --git a/examples/traces/api/message/message_http.pb.go b/examples/traces/api/message/message_http.pb.go index dd66f981b..dbab58c83 100644 --- a/examples/traces/api/message/message_http.pb.go +++ b/examples/traces/api/message/message_http.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-http. DO NOT EDIT. // versions: -// protoc-gen-go-http v2.0.0-rc7 +// protoc-gen-go-http v2.0.0 package v1 diff --git a/examples/traces/api/user/user_http.pb.go b/examples/traces/api/user/user_http.pb.go index 29f54ee47..2b670cf70 100644 --- a/examples/traces/api/user/user_http.pb.go +++ b/examples/traces/api/user/user_http.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-http. DO NOT EDIT. // versions: -// protoc-gen-go-http v2.0.0-rc7 +// protoc-gen-go-http v2.0.0 package v1 diff --git a/examples/validate/api/example_http.pb.go b/examples/validate/api/example_http.pb.go index 4b633bc81..9b32eb94a 100644 --- a/examples/validate/api/example_http.pb.go +++ b/examples/validate/api/example_http.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-http. DO NOT EDIT. // versions: -// protoc-gen-go-http v2.0.0-rc7 +// protoc-gen-go-http v2.0.0 package v1 diff --git a/internal/testproto/echo/echo_service_http.pb.go b/internal/testproto/echo/echo_service_http.pb.go index 253d11809..319fbd63b 100644 --- a/internal/testproto/echo/echo_service_http.pb.go +++ b/internal/testproto/echo/echo_service_http.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-http. DO NOT EDIT. // versions: -// protoc-gen-go-http v2.0.0-rc7 +// protoc-gen-go-http v2.0.0 package echo