Skip to content

x/vgo: confused by ./ imports #24157

@neild

Description

@neild

When compiling a package containing import "./sub":

$ vgo build .
vgo: resolving import "./sub"
FindRepo: Get https://./sub?go-get=1: dial tcp: lookup .: no such host
vgo: import "github.com/neild/test" ->
	import "./sub": Get https://./sub?go-get=1: dial tcp: lookup .: no such host

I have no opinion on whether vgo should support relative imports, but it probably should at least recognize them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions