SIGN IN SIGN UP

Protocol Buffers - Google's data interchange format

0 0 35 C++

Add a Go language example.

This follows the other examples so that it can be used as a tutorial,
such as the ones at:
  https://developers.google.com/protocol-buffers/docs/tutorials

Even though Go generally does not use Makefiles, I added targets for the
Go examples to be consistent with the other languages.

Edit:

Fix Travis run. Change to use $HOME instead of ~. Add protoc to path.
GOPATH entry cannot start with shell metacharacter '~': "~/gocode"

Edit(2):

Fix Go code style to address comments.
T
Tim Swast committed
7e31c4d930efa3f80d0f03c93e788ba73b847fd8
Parent: f1e14fb