Created
September 1, 2019 21:06
-
-
Save serverhorror/2f1c328d6001717155517a3d736bc39f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// +build linux | |
package pb | |
//go:generate protoc -I . -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --go_out=plugins=grpc:. stool.proto | |
//go:generate protoc -I . -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --grpc-gateway_out=logtostderr=true:. stool.proto | |
//go:generate protoc -I . -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --swagger_out=logtostderr=true:. stool.proto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// +build windows | |
package pb | |
//go:generate protoc -I . -I $GOPATH\src -I $GOPATH\src\github.com\grpc-ecosystem\grpc-gateway\third_party\googleapis --go_out=plugins=grpc:. stool.proto | |
//go:generate protoc -I . -I $GOPATH\src -I $GOPATH\src\github.com\grpc-ecosystem\grpc-gateway\third_party\googleapis --grpc-gateway_out=logtostderr=true:. stool.proto | |
//go:generate protoc -I . -I $GOPATH\src -I $GOPATH\src\github.com\grpc-ecosystem\grpc-gateway\third_party\googleapis --swagger_out=logtostderr=true:. stool.proto | |
import ( | |
_ "google.golang.org/grpc" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment