3
1

More than 3 years have passed since last update.

Golang - How to Get Private Repository Module

Last updated at Posted at 2019-11-21

410 Gone Problem

$ go get -u gitlab.com/johnny/logger

go: finding gitlab.com/johnny/logger latest

go: downloading gitlab.com/johnny/logger v0.0.0-20190921175342-61a76c096369

verifying gitlab.com/johnny/logger@v0.0.0-20190921175342-61a76c096369

reading https://sum.golang.org/lookup/gitlab.com/johnny/logger@v0.0.0-20190921175342-61a76c096369: 410 Gone

Solution

$ go env -w GOPRIVATE=gitlab.com/johnny

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1