Skip to content

larjudge/protocol-buffer-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protocol Buffer Tutorial

Setup

go get -u github.com/golang/protobuf/protoc-gen-go

(Re)compiling go code from .proto files

protoc -I=$SRC_DIR --go_out=$DST_DIR $SRC_DIR/addressbook.proto

protoc -I ./proto --go_out=./pkg/addressbook ./proto/addressbook.proto

Releases

No releases published

Packages

No packages published

Languages