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
+10.6k Golang : Calculations using complex numbers example
+14.9k Golang : Get IP addresses of a domain name
+8.3k Golang : Find correlation coefficient example
+7.3k Golang: Prevent over writing file with md5 hash
+19.8k Golang : Sort and reverse sort a slice of strings
+16.5k Golang : Simple client server example
+8.6k Golang : How to check if a website is served via HTTPS
+8.6k Golang : Populate slice with sequential integers example
+17k Golang : Iterating Elements Over A List
+5k Fix ERROR 2003 (HY000): Can't connect to MySQL server on 'IP address' (111)
+21.1k Golang : How to read JPG(JPEG), GIF and PNG files ?
+6k Golang : How to detect if a sentence ends with a punctuation?