proto.go 540 B

123456789101112
  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 install -v github.com/gogo/protobuf/protoc-gen-gofast
  6. //go:generate go run ./infra/vprotogen/main.go
  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}