https://github.com/feiskyer/go-examples
Various golang examples.
https://github.com/feiskyer/go-examples
examples go kubernetes
Last synced: about 1 year ago
JSON representation
Various golang examples.
- Host: GitHub
- URL: https://github.com/feiskyer/go-examples
- Owner: feiskyer
- License: apache-2.0
- Created: 2016-10-12T15:48:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-14T06:49:22.000Z (almost 9 years ago)
- Last Synced: 2025-04-19T20:53:48.657Z (about 1 year ago)
- Topics: examples, go, kubernetes
- Language: Go
- Homepage:
- Size: 129 KB
- Stars: 41
- Watchers: 4
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go examples
[](https://travis-ci.org/feiskyer/go-examples) [](https://goreportcard.com/report/github.com/feiskyer/go-examples)
Various go examples based on [gobyexample](https://github.com/mmcgrana/gobyexample) with extensions.
- Go basic
- gRPC
- Hyper
- Libvirt client
- Kubernetes
- Networking
- OpenStack client
- And so on
## Golang install
```sh
curl -sL https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz | tar -C /usr/local -zxf -
export GOPATH='/go'
export PATH=$GOPATH/bin:/usr/local/go/bin/:$PATH
```
## Useful tools
* godep: `go get github.com/tools/godep`
* dep: `go get -u github.com/golang/dep/...`
* govendor: `go get -u github.com/kardianos/govendor`
* gometalinter: `go get -u github.com/alecthomas/gometalinter && gometalinter --install`
* [go-pry](https://github.com/d4l3k/go-pry): An interactive REPL for Go, `go get github.com/d4l3k/go-pry`.
* [gophernotes](https://github.com/gopherdata/gophernotes): Go in Notebooks.
- `go get golang.org/x/tools/cmd/goimports`
- `go get -tags zmq_4_x github.com/gopherds/gophernotes`
- `mkdir -p ~/Library/Jupyter/kernels/gophernotes`
- `cp -r $GOPATH/src/github.com/gopherds/gophernotes/kernel/* ~/Library/Jupyter/kernels/gophernotes`