I'm trying to run a main.go
file Here , and it shows error
cannot find package "labix.org/v2/mgo" in any of:
C:\Go\src\labix.org\v2\mgo (from $GOROOT)
D:\MyFolder\go-in-5-minutes\episode5\src\labix.org\v2\mgo (from $GOPATH)
cannot find package "labix.org/v2/mgo/bson" in any of:
C:\Go\src\labix.org\v2\mgo\bson (from $GOROOT)
D:\MyFolder\go-in-5-minutes\episode5\src\labix.org\v2\mgo\bson (from $GOPATH)
exit status 1 Process exiting with code: 1
so I try to execute
D:\MyFolder\go-in-5-minutes\episode5\> go get labix.org/v2/mgo
But then I got this error:
cd .; bzr branch https://launchpad.net/mgo/v2 D:\MyFolder\go-i n-5-minutes\episode5\src\labix.org\v2\mgo bzr: ERROR: The remote server unexpectedly closed the connection. package labix.org/v2/mgo: exit status 3
How to solve this problem and get labix.org/v2/mgo
?