This library provides several utility functions such as jwt token verification, setup tasks, input validation, abstraction for crypto and command execution operations.
The common
requires Go version 1.12.12 that has support for go modules
. The build was validated with the latest version go1.13.8 of go
. It is recommended that you use go1.13.8 version of go
. You can use the following to install go
.
wget https://dl.google.com/go/go1.13.8.linux-amd64.tar.gz
tar -xzf go1.13.8.linux-amd64.tar.gz
sudo mv go /usr/local
export GOROOT=/usr/local/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
Name | Repo URL | Minimum Version Required |
---|---|---|
logrus | github.com/sirupsen/logrus | v1.4.0 |
dgrijalva jwt-go | github.com/dgrijalva/jwt-go | v3.2.0+incompatible |
gorilla mux | github.com/gorilla/mux | v1.7.3 |
yaml for Go | gopkg.in/yaml.v2 | v2.2.2 |
Note: All dependencies are listed in go.mod