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

cmd/go: go list displays extra ./ in front of package name on windows #2928

Closed
alexbrainman opened this issue Feb 9, 2012 · 1 comment
Closed
Milestone

Comments

@alexbrainman
Copy link
Member

C:\>go version
go version weekly.2012-02-07 +52ba9506bd99

C:\>set GOPATH=c:\a\code

C:\>cd %GOPATH%\src

C:\a\code\src>dir /s
 Volume in drive C has no label.
 Volume Serial Number is F483-CD2E

 Directory of C:\a\code\src

09/02/2012  01:23 PM    <DIR>          .
09/02/2012  01:23 PM    <DIR>          ..
08/02/2012  05:33 PM    <DIR>          foo
               0 File(s)              0 bytes

 Directory of C:\a\code\src\foo

08/02/2012  05:33 PM    <DIR>          .
08/02/2012  05:33 PM    <DIR>          ..
31/01/2012  10:30 AM               516 foo.go
31/01/2012  09:59 AM               100 foo_test.go
               2 File(s)            616 bytes

     Total Files Listed:
               2 File(s)            616 bytes
               5 Dir(s)  129,703,759,872 bytes free

C:\a\code\src>go list ./...
./foo

C:\a\code\src>
@rsc
Copy link
Contributor

rsc commented Mar 7, 2012

Comment 2:

I believe the giant cmd/go update fixed this.
Just double-checked on Windows that the ./ is not there anymore.

Status changed to Fixed.

@rsc rsc added this to the Go1 milestone Apr 10, 2015
@rsc rsc removed the priority-go1 label Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants