Skip to content

LineoIT/sso-proto

Repository files navigation

Lineo ID proto library

Go plugins for the protocol compiler

Install the protocol compiler plugins for Go using the following commands:

go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@latest
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest


$ go install github.com/wasilibs/go-protoc-gen-grpc-java/cmd/protoc-gen-grpc-java@latest
$ go install github.com/wasilibs/go-protoc-gen-builtins/cmd/[email protected]

Install GRPC Gateway(optional)

go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2
go install google.golang.org/protobuf/cmd/protoc-gen-go
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc

Generate proto file to Go

make generate

with buf

buf generate
# or
go run github.com/bufbuild/buf/cmd/[email protected] generate

with task

task generate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published