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
+8k Swift : Convert (cast) Character to Integer?
+8k Golang : Metaprogramming example of wrapping a function
+8k Golang : Configure Apache and NGINX to access your Go service example
+8.1k Golang : Implementing class(object-oriented programming style)
+14.3k Golang : Rename directory
+5.4k Golang : Configure crontab to poll every two minutes 8am to 6pm Monday to Friday
+6.5k Unix/Linux : How to fix CentOS yum duplicate glibc or device-mapper-libs dependency error?
+29k Golang : JQuery AJAX post data to server and send data back to client example
+8.5k Golang : Random integer with rand.Seed() within a given range
+17.2k Golang : Find smallest number in array
+17k Golang : When to use init() function?
+19k Golang : Execute shell command