Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vgo: unknown module no go-import tags #25654

sami9gag opened this issue May 31, 2018 · 2 comments


Copy link

@sami9gag sami9gag commented May 31, 2018

What version of Go are you using (go version)?

go version go1.10.2 darwin/amd64 vgo:2018-02-20.1

Does this issue reproduce with the latest release?


What operating system and processor architecture are you using (go env)?


What did you do?

I'm trying to pull dependencies for a project using opencensus, which depends on thrift. The thrift dependency fails to pull due to missing import tags. This can be reproduced with the following snippet:

package main

import (

func main() {
	_ = jaeger.Options{}

When using vgo get -u on that snippet, the pull will fail with an error: unknown module no go-import tags

The failure appears to be caused by this line in one of the dependencies:

This works with go get -u

What did you expect to see?

I expected vgo get -u to complete normally after pulling the dependencies.

What did you see instead?

vgo: resolving import ""
vgo: import "" ->
        import "" ->
        import "": unknown module no go-import tags
@gopherbot gopherbot added this to the vgo milestone May 31, 2018

This comment has been minimized.

Copy link

@rsc rsc commented Jun 6, 2018

The problem is that vgo does not understand the .git name convention.


This comment has been minimized.

Copy link

@gopherbot gopherbot commented Jun 20, 2018

Change mentions this issue: cmd/go/internal/modfetch: fix Lookup, Import; add ImportRepoRev

@golang golang locked and limited conversation to collaborators Jun 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.