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
+12.1k Golang : Sort and reverse sort a slice of bytes
+6.1k Golang : Totalize or add-up an array or slice example
+4.4k Unix/Linux : How to pipe/save output of a command to file?
+11.5k Golang : Convert a rune to unicode style string \u
+5.4k Unix/Linux : Get reboot history or check when was the last reboot date
+10.1k Golang : Bubble sort example
+26.1k Golang : Convert file content into array of bytes
+6.6k Golang : How to call function inside template with template.FuncMap
+7k Golang : How to stop user from directly running an executable file?
+5.4k Unix/Linux : How to open tar.gz file ?
+6.3k Golang : Humanize and Titleize functions
+12.6k Golang : Skip blank/empty lines in CSV file and trim whitespaces example