diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 79f262438848dcd071097fbbc6fb8af739044c11..0000000000000000000000000000000000000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.gitignore b/.gitignore index fb6d4c2be0a3fb37b59a6e1c196deb5e65fa330d..670b35a4389930e4aacd1acfd28016295213a3f3 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ examples/core/api/api examples/core/cron/cron examples/core/sqs/sqs +.DS_Store diff --git a/README.md b/README.md index b09bb79eb78a3ae95a02e2707e800b6ac87b63c9..e8f6ef07e5a6f31c3018c88c6bde7552f133e474 100644 --- a/README.md +++ b/README.md @@ -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.