Skip to content
Snippets Groups Projects
Commit dbce8d60 authored by Johan de Klerk's avatar Johan de Klerk
Browse files

Added readme on how to install as a private repo

parent 55de7da4
No related branches found
No related tags found
No related merge requests found
File deleted
......@@ -17,3 +17,4 @@
examples/core/api/api
examples/core/cron/cron
examples/core/sqs/sqs
.DS_Store
......@@ -2,6 +2,30 @@
A set of utilities used by our Golang projects
* [errors](./errors/README.md)
## Install this private repo
Add this in your `~/.gitconfig`:
```
[url "ssh://git@gitlab.bob.co.za/"]
insteadOf = https://gitlab.bob.co.za/
```
Run this to reset the go proxy
```
go env -w GOPROXY=
```
Set the private go module path
```
go env -w GOPRIVATE=gitlab.bob.co.za:bob-public-utils/bobgroup-go-utils
```
Run this in your project to add the private module
```
go get gitlab.bob.co.za:bob-public-utils/bobgroup-go-utils
```
## Creating a new release
When making changes, a new release needs to be made in order to use the updated library in your project.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment