Proto: refine go generate command

pull/2714/head
loyalsoldier 4 years ago
parent ca5f2532e8
commit e036db835e
No known key found for this signature in database
GPG Key ID: 23829BBC1ACF2C90

@ -1,8 +1,8 @@
package core
//go:generate go get -u "google.golang.org/protobuf/proto"
//go:generate go get -u "google.golang.org/protobuf/cmd/protoc-gen-go"
//go:generate go get -u "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
//go:generate go get -u "github.com/gogo/protobuf/protoc-gen-gofast"
//go:generate go install "google.golang.org/protobuf/proto"
//go:generate go install "google.golang.org/protobuf/cmd/protoc-gen-go"
//go:generate go install "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
//go:generate go install "github.com/gogo/protobuf/protoc-gen-gofast"
//go:generate go install "v2ray.com/core/infra/vprotogen"
//go:generate vprotogen -repo v2ray.com/core

Loading…
Cancel
Save