Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bobgroup-go-utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bob Public Utils
bobgroup-go-utils
Commits
dbce8d60
Commit
dbce8d60
authored
1 year ago
by
Johan de Klerk
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.DS_Store
+0
-0
0 additions, 0 deletions
.DS_Store
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
README.md
+24
-0
24 additions, 0 deletions
README.md
with
25 additions
and
0 deletions
.DS_Store
deleted
100644 → 0
+
0
−
0
View file @
55de7da4
File deleted
This diff is collapsed.
Click to expand it.
.gitignore
+
1
−
0
View file @
dbce8d60
...
...
@@ -17,3 +17,4 @@
examples/core/api/api
examples/core/cron/cron
examples/core/sqs/sqs
.DS_Store
This diff is collapsed.
Click to expand it.
README.md
+
24
−
0
View file @
dbce8d60
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment