Categorygithub.com/anon-d/proto
module
0.0.7
Repository: https://github.com/anon-d/proto.git
Documentation: pkg.go.dev

# README

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

# Packages

No description provided by the author