proto.go 621 B

12345678910111213
  1. package core
  2. import "path/filepath"
  3. //go:generate go install -v google.golang.org/protobuf/cmd/protoc-gen-go
  4. //go:generate go install -v google.golang.org/grpc/cmd/protoc-gen-go-grpc
  5. //go:generate go get -v -u github.com/gogo/protobuf/protoc-gen-gofast
  6. //go:generate go install -v github.com/gogo/protobuf/protoc-gen-gofast
  7. //go:generate go run ../infra/vprotogen/main.go -pwd ./..
  8. // ProtoFilesUsingProtocGenGoFast is the map of Proto files
  9. // that use `protoc-gen-gofast` to generate pb.go files
  10. var ProtoFilesUsingProtocGenGoFast = map[string]bool{filepath.Join("proxy", "vless", "encoding", "addons.proto"): true}