proto/goutils/tools.go

18 lines
575 B
Go
Raw Normal View History

2023-11-27 09:36:02 +00:00
//go:build tools
// +build tools
package goutils
// $ go install \
// github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \
// github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \
// google.golang.org/protobuf/cmd/protoc-gen-go \
// google.golang.org/grpc/cmd/protoc-gen-go-grpc
import (
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway"
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
_ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
)