User profile management micro-service
This micro-service uses Cockroach/PostgresSQL for storage and either:
-
the
micro apifor load balancing via the proxy handleror
-
Google App Engine
In this Readme you will come accross the variables <name> and <version>,
both can be found in config/consts.go where <version>
is the Major version code as per http://semver.org
e.g.
Name = "usersms"
VersionFull = "0.1.2"
yields
<name> => usersms
<version> => 0
Refer to the respective readme files for instructions:
- Go 1.8+ is required for this.
- APIDoc installed and added to
PATHvariable: http://apidocjs.com
Run the build command from inside the root folder:
make build
make build can also be supplied with goos=[GOOS] goarch=[GOARCH]
goarm=[GOARM] values as per the documentation at https://golang.org/cmd/go (untested)
build uses the go toolchain to build binaries. It also generates API docs and configuration templates.