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
+6k Golang : Mapping Iban to Dunging alphabets
+12.3k Golang : Get constant name from value
+21.5k Golang : Get ASCII code from a key press(cross-platform) example
+38.8k Golang : How do I convert int to uint8?
+17.9k Golang : Get current URL example
+17.1k Golang : How to get hour, minute, second from time?
+5.2k Golang & Javascript : How to save cropped image to file on server
+10.1k Golang : Format numbers to nearest thousands such as kilos millions billions and trillions
+6.2k Golang : Trim everything onward after a word
+24.6k Mac/Linux and Golang : Fix bind: address already in use error
+16.7k Golang : Convert IPv4 address to decimal number(base 10) or integer
+4.8k Javascript : How to replace HTML inside <div>?