FFFF GitHub - liujb/go-protobuf-demo: A demo of protobuf by golang · GitHub
[go: up one dir, main page]

Skip to content

About

A demo of protobuf by golang

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Golang use protobuf

Linux or Mac install protobuf compiler download

When you installed, Like this

~/code/golang/src/go-protobuf-demo on ⭠ master ⌚ 22:12:20
$ protoc --version
libprotoc 2.6.1

Download the go-protobuf client url
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
Compiler your *.proto file to .go
protoc --go_out=./pb-go ./pb-proto

About

A demo of protobuf by golang

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0