proto.go 554 B

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