Skip to content

anon-d/proto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protobuf file for SSO. Writen in go

Begin

  • Install go utils
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
export PATH="$PATH:$(go env GOPATH)/bin"

Для постоянного сохранения изменения добавить в ~/.bashrc, ~/.zshrc или ~/.profile

  • install task
  • isntall protoc

Example (for MacOS)

brew install go-task/tap/go-task
brew isntall protoc

Usage

task sso

Command

protoc -I proto proto/sso/sso.proto --go_out=./gen/go --go_opt=paths=source_relative --go-grpc_out=./gen/go/ --go-grpc_opt=paths=source_relative

About

Protofile for SSO

Resources

Stars

Watchers

Forks

Packages

No packages published