How to configure the go get command to use http protocol instead of https protocol

47 views Asked by At

The company's private gitlab repository uses the http protocol and cannot be pulled through the go get command by default.

I setting the GOPRIVATE and GOINSECURE variables to no avail.

How can I modify it to implement http pull? Looking forward to your reply.

PS: The ssh method cannot be implemented because I use telnet gitlab.company.com 22 and cannot access it.

0

There are 0 answers