Go vanity imports, unrecognized import path, no-import meta tags


go is complaining that meta-tags don’t exist, when they do.

➜ go version                    
go version go1.14.15 linux/amd64
➜ curl "https://go.mis.vision/mis-utils?go-get=1"
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="go-import" content="go.mis.vision/mis-utils  ssh://git@ssh.dev.azure.com:v3/somewhere">
<meta name="go-source" content="go.mis.vision/mis-utils _ _ _">
* { font-family: sans-serif; }
body { margin-top: 0; }
.content { display: inline-block; }
code { display: block; font-family: monospace; font-size: 1em; background-color: #d5d5d5; padding: 1em; margin-bottom: 16px; }
ul { margin-top: 16px; margin-bottom: 16px; }
<div class="content">
<code>go get go.mis.vision/mis-utils</code>
<code>import "go.mis.vision/mis-utils"</code>
Home: <a href="https://godoc.org/go.mis.vision/mis-utils">https://godoc.org/go.mis.vision/mis-utils</a><br/>
Source: <a href="#ZgotmplZ">ssh://git@ssh.dev.azure.com:v3/somewhere</a><br/>
➜ go get go.mis.vision/mis-utils
go: go.mis.vision/mis-utils@v1.0.1: unrecognized import path "go.mis.vision/mis-utils": parse https://go.mis.vision/mis-utils?go-get=1: no go-import meta tags ()

What am I missing?


specify additional parameter for the repo in vanity config: "VCS": "git"

Answered By – serge-v

Answer Checked By – Katrina (GoLangFix Volunteer)

Leave a Reply

Your email address will not be published.