Skip to content

liujb/go-protobuf-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published