kratos upgrade
go install github.com/go-kratos/kratos/cmd/kratos/v2@latest
go install github.com/go-kratos/kratos/cmd/protoc-gen-go-http/v2@latest
go install github.com/go-kratos/kratos/cmd/protoc-gen-go-errors/v2@latest
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
go install github.com/google/gnostic/cmd/protoc-gen-openapi@latest
go: github.com/google/gnostic/cmd/protoc-gen-openapi@latest: no matching versions for query "latest"
exit status 1
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
Kratos version (use kratos -v): kratos version v2.4.0
Go version (use go version): go1.18.3 darwin/amd64
OS (e.g: cat /etc/os-release): MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports)
What happened:
kratos upgrade
go install github.com/go-kratos/kratos/cmd/kratos/v2@latest go install github.com/go-kratos/kratos/cmd/protoc-gen-go-http/v2@latest go install github.com/go-kratos/kratos/cmd/protoc-gen-go-errors/v2@latest go install google.golang.org/protobuf/cmd/protoc-gen-go@latest go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest go install github.com/google/gnostic/cmd/protoc-gen-openapi@latest go: github.com/google/gnostic/cmd/protoc-gen-openapi@latest: no matching versions for query "latest" exit status 1
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kratos -v
): kratos version v2.4.0go version
): go1.18.3 darwin/amd64cat /etc/os-release
): MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports)