-
Golang version 1.7+ https://golang.org/
-
Dep https://golang.github.io/dep/
What the heck is Dep The Documentation says
the "official experiment" dependency management tool for the Go language
. -
Protocol Buffer (Protobuf) Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler. https://github.com/google/protobuf/releases
-
Docker
- Using Go
-
Install Dependencies
$ dep ensure
-
Build Binary
- OSX
- Build
$ make grpc-awesome-osx
- Run
$ GRPC_AUTH_KEY=123456 ./grpc-awesome-osx
- Build
- Linux
- Build
$ make grpc-awesome-osx
- Run
$ GRPC_AUTH_KEY=123456 ./grpc-awesome-osx
- Build
- OSX
-
- Using Docker
- Build
$ make docker
- Run
$ docker run --rm -p 3000:3000 -e GRPC_AUTH_KEY=123456 go-grpc-awesome
- Build
2018 Bhinneka.com