Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想用 ( go get github.com/gorilla/mux) 安装 Mux 包,但我总是收到错误消息
go get github.com/gorilla/mux
# github.com/gorilla/context open go/src/github.com/gorilla/context/context.go: No such file or directory
我自己创建了 github.com、gorilla 和 context 目录。但是我没有 context.go 文件....我该如何解决?
只需安装它go get:
go get
$ go get github.com/gorilla/context $ cd $GOPATH/src/github.com/gorilla/context/ ~/go/src/github.com/gorilla/context$ ls context.go context_test.go doc.go LICENSE README.md