tks-proto

module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 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 pbgo/ directory.

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

$ ls pbgo
common.pb.go   contract.pb.go

Directories

Path Synopsis
mock
Package mock_pbgo is a generated GoMock package.
Package mock_pbgo is a generated GoMock package.

Jump to

Keyboard shortcuts

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