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
+8.9k Golang : Sort lines of text example
+5k Golang : micron to centimeter example
+13.5k Golang : error parsing regexp: invalid or unsupported Perl syntax
+25.1k Golang : Create PDF file from HTML file
+13.1k Golang : Calculate elapsed years or months since a date
+5.3k Golang : Convert lines of string into list for delete and insert operation
+6.4k PHP : Proper way to get UTF-8 character or string length
+8.4k Golang : Number guessing game with user input verification example
+10k Golang : Convert octal value to string to deal with leading zero problem
+4.2k Javascript : Empty an array example
+19.6k Golang : Example for DSA(Digital Signature Algorithm) package functions
+9.8k Golang : List available AWS regions