tks-proto

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2021 License: MIT

README

TKS-proto

TKS-proto contains .pb.go files and protocol buffers for TKS services.

Getting Started

Add new .proto

.proto files are located under protos/ directory. Please make and write new .proto file following the Style Guide.

Generate .pb.go files

You can easily generate .pb.go files using make build command.
If there are no errors, .pb.go files would be generated in generated-in-go directory.

$ make build
go get -u github.com/golang/protobuf/protoc-gen-go
protoc --proto_path=protos --go_out=generated-in-go --go_opt=paths=source_relative protos/*.proto

$ ls generated-in-go
common.pb.go   contract.pb.go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL