Skip to content

Instantly share code, notes, and snippets.

@tomasruud
tomasruud / go-private.md
Last active November 19, 2021 14:10 — forked from MicahParks/go get private GitLab with group and subgroup (Golang modules).md
go get private GitLab with group and subgroup (Golang modules)

Problem

The go command line tool needs to be able to fetch dependencies from your private GitLab, but authenticaiton is required.

This assumes your private GitLab is hosted at gitlab.com/my-organization, and that you are using GO version >=1.17.

Environment variables

The following environment variables are recommended:

export GOPRIVATE=gitlab.com/my-organization
@tomasruud
tomasruud / garmin-iq-sdk-ubuntu-18.04.md
Created January 22, 2020 12:04 — forked from mysiar/garmin-iq-sdk-ubuntu-18.04.md
Garmin IQ SDK on Ubuntu 18.04