Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abtris/golang-rest-examples
REST examples for apiary.io
https://github.com/abtris/golang-rest-examples
Last synced: about 1 month ago
JSON representation
REST examples for apiary.io
- Host: GitHub
- URL: https://github.com/abtris/golang-rest-examples
- Owner: abtris
- License: mit
- Created: 2014-06-24T16:37:01.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-27T20:25:52.000Z (over 10 years ago)
- Last Synced: 2024-04-15T03:04:07.120Z (7 months ago)
- Language: Go
- Homepage:
- Size: 164 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GoLang Apiary REST Examples
- [API documentation](http://docs.restapi3.apiary.io) at [Apiary](http://apiary.io)
## Install go
brew install go
As of go 1.2, a valid GOPATH is required to use the `go get` command:
http://golang.org/doc/code.html#GOPATH`go vet` and `go doc` are now part of the go.tools sub repo:
http://golang.org/doc/go1.2#go_tools_godocTo get `go vet` and `go doc` run:
go get code.google.com/p/go.tools/cmd/godoc
go get code.google.com/p/go.tools/cmd/vetYou may wish to add the GOROOT-based install location to your PATH:
export PATH=$PATH:/usr/local/opt/go/libexec/bin
## Compile example
cd ./get
go build
## Run example
./get/get