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
+14.4k Golang : Reset buffer example
+13k Golang : Convert(cast) int to int64
+18.3k Golang : Aligning strings to right, left and center with fill example
+5.7k Golang : Fix opencv.LoadHaarClassifierCascade The node does not represent a user object error
+7.1k Golang : Check if one string(rune) is permutation of another string(rune)
+5.7k Javascript : How to replace HTML inside <div>?
+9.9k Golang : Channels and buffered channels examples
+5.4k PHP : Convert string to timestamp or datestamp before storing to database(MariaDB/MySQL)
+3.9k Detect if Google Analytics and Developer Media are loaded properly or not
+8.8k Golang : Populate or initialize struct with values example
+7.5k Golang : Mapping Iban to Dunging alphabets
+19.1k Golang : Delete item from slice based on index/key position