导航

go get github竟然区分大小写

Posted on 2013-05-09 17:24  蝈蝈俊  阅读(1456)  评论(0编辑  收藏  举报

之前下载go 的mysql包时,是如下方式,

$ go get github.com/Go-SQL-Driver/MySQL

不过现在这么执行会报错误如下:

Username for 'https://github.com': ghj1976
Password for 'https://ghj1976@github.com':
# cd .; git clone https://github.com/Go-SQL-Driver/MySQL /Users/cybercare/go/src/github.com/Go-SQL-Driver/MySQL
Cloning into '/Users/cybercare/go/src/github.com/Go-SQL-Driver/MySQL'...
fatal: https://github.com/Go-SQL-Driver/MySQL/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?
package github.com/Go-SQL-Driver/MySQL: exit status 128

 

go get 下载方式改成小写后,则没有任何问题,直接就可以了。
go get github.com/go-sql-driver/mysql

这个包的Readme中现在也修改成用小写方式go get 了。

https://github.com/Go-SQL-Driver/MySQL#readme

http://www.cnblogs.com/ghj1976/archive/2013/03/18/2965357.html