Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improves readability of Go example test. | Tim Swast | 2015-12-16 | 1 | -25/+5 |
| | |||||
* | Add region tags to the Go protobuf examples. | Tim Swast | 2015-12-15 | 1 | -0/+44 |
| | | | | | | | | | | | This will allow us to like to specific snippets of code in the documentation. I plan to create a tutorial similar to the C# tutorial https://developers.google.com/protocol-buffers/docs/csharptutorial Since that tutorial has sections for populating a proto, parsing, and serializing, I made a region for each of these for Go. To make the populating sample more self-contained, I refactor the listing example slightly. | ||||
* | Add a Go language example. | Tim Swast | 2015-11-25 | 1 | -0/+96 |
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. |