我正试着去http://bazaar.launchpad.net/~ubuntu-push-hackers/ubuntu-push/trunk/view/head:/bus/networkmanager
我试过了: go get bazaar.launchpad.net/~ubuntu-push-hackers/ubuntu-push/bus/networkmanager
package bazaar.launchpad.net/~ubuntu-push-hackers/ubuntu-push/bus/networkmanager: unrecognized import path "bazaar.launchpad.net/~ubuntu-push-hackers/ubuntu-push/bus/networkmanager"
去获取bazaar.launchpad.net/ubuntu-push-hackers/ubuntu-push/bus/networkmanager
Same result as above
去获取launchpad.net/ubuntu-push-hackers/ubuntu-push/bus/networkmanager
# cd .; bzr branch https://launchpad.net/ubuntu-push-hackers /root/go/src/launchpad.net/ubuntu-push-hackers
bzr: ERROR: Not a branch: "https://launchpad.net/ubuntu-push-hackers/".
package launchpad.net/ubuntu-push-hackers/ubuntu-push/bus/networkmanager: exit status 3
答案 0 :(得分:0)
使用go get
可以处理包,而不是git引用或文件系统路径。
尝试
go get launchpad.net/ubuntu-push