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
+9.4k Golang : Convert file unix timestamp to UTC time example
+17.5k Golang : Implement getters and setters
+9.4k Golang : How to get quoted string into another string?
+6.2k Golang : Null and nil value
+8.1k Golang : automatically figure out array length(size) with three dots
+20.9k Golang : How to reverse slice or array elements order
+5.4k Linux/Unix : Commands that you need to be careful about
+6.8k Golang : Shuffle strings array
+5.3k Golang : Missing Subversion command
+8.7k Golang : Copy map(hash table) example
+10.1k Golang : Generate random elements without repetition or duplicate
+12.3k Facebook PHP getUser() returns 0