onze-api-main-as-lib

Example of using onze-api-main as a library

To make it work

Since we use a private repo, you’ll have to export the private repo into an environment variable

export GOPRIVATE=github.com/RedVentures/*

You’ll have to configure git to use ssh to log in, instead of https.

git config --global --add url."[email protected]:".insteadOf "https://github.com/"

If your go.mod file has a line like:

require github.com/RedVentures/onze-api-main v0.0.2

just change it to use latest tag, for example:

require github.com/RedVentures/onze-api-main v1.0.0-80370

GitHub

View Github