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
+6.2k Golang : Gorrila mux.Vars() function example
+19.6k Golang : Create and resolve(read) symbolic links
+18.3k Golang : Archive directory with tar and gzip
+7.9k Golang : Take screen shot of browser with JQuery example
+4.5k Swift : Convert string array to array example
+9.6k Golang : Bubble sort example
+44.3k Golang : Marshal and unmarshal json.RawMessage struct example
+17.3k Golang : Get path name to current directory or folder
+13.7k Golang : Get all local users and print out their home directory, description and group id
+3.9k MariaDB/MySQL : Form select statement or search query with Chinese characters
+3.7k Linux : sudo yum updates not working