You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ref the discussion at golang-nuts "Proposal: ban relative import paths".
https://groups.google.com/d/msg/golang-nuts/n9d8RzVnadk/07f9RDlwLsYJ
Posted by Andrew Gerrand on Apr 3:
> See my earlier post in this thread about why relative imports are a bad idea.
>
> The only reason the go tool supports relative imports is to run the compiler tests,
which predate the go tool and the concept of GOPATH. I would prefer to refactor the
compiler tests so that relative imports are not used, and remove support for relative
imports from the go tool entirely.
>
> Andrew
The text was updated successfully, but these errors were encountered:
Unclear whether this is really something we should do. Certainly not for Go 1.2.
I find relative imports very useful for simple tests, and I will be sad if I cannot 'go
run' those tests.
The text was updated successfully, but these errors were encountered: