Golang - Github Mux,context.go - >没有这样的文件或目录

fnr*_*fnr 3 go mux

我想用(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文件....我该如何解决?

Not*_*fer 6

只需安装它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)