我想用(go get github.com/gorilla/mux)安装Mux包但我总是得到错误消息
# github.com/gorilla/context
open go/src/github.com/gorilla/context/context.go: No such file or directory
Run Code Online (Sandbox Code Playgroud)
我自己创建了目录github.com,gorilla和context.但我没有context.go文件....我该如何解决?
只需安装它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
Run Code Online (Sandbox Code Playgroud)