Golang : "https://" not allowed in import path
Problem :
Attempt to go get
packages return this error message
"https://" not allowed in import path
Solution :
Changing https:
to http:
won't help. Instead, remove the https://
or http://
entirely.
For example :
go get github.com/name/examplepackage
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+27.1k PHP : Convert(cast) string to bigInt
+13.5k Golang : Gin framework accept query string by post request example
+13.7k Golang : Get current time
+6.7k Golang : Normalize email to prevent multiple signups example
+6.6k Default cipher that OpenSSL used to encrypt a PEM file
+12.1k Golang : Extract part of string with regular expression
+9.5k PHP : Get coordinates latitude/longitude from string
+5.3k Golang : Stop goroutine without channel
+4.7k Nginx and PageSpeed build from source CentOS example
+14.9k Golang : How to add color to string?
+7.9k How to show different content from website server when AdBlock is detected?
+6.7k Golang : Decode XML data from RSS feed