Golang : "https://" not allowed in import path
Tags : golang https-not-allowed 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
Tags : golang https-not-allowed import-path
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
+11.8k Golang : Calculate time different
+2.8k Golang : Process json data with Jason package
+1.7k Python : Delay with time.sleep() function example
+1.3k Golang : Lock executable to a specific machine with unique hash of the machine
+4.6k Golang : Interfacing with PayPal's IPN(Instant Payment Notification) example
+14.4k Golang : Calculate future date with time.Add() function
+1.4k Javascript : Empty an array example
+1.1k Golang : Join lines with certain suffix symbol example
+3.3k Golang : automatically figure out array length(size) with three dots
+2.2k Golang : Intercept and compare HTTP response code example
+2k Golang : Fibonacci number generator examples
+1.8k Unix/Linux : How to fix CentOS yum duplicate glibc or device-mapper-libs dependency error?