![无法使用 go-reddit](https://linux22.com/image/1178910/%E6%97%A0%E6%B3%95%E4%BD%BF%E7%94%A8%20go-reddit.png)
所以我最近决定尝试学习 Go 开发,并且我决定尝试学习 Go-Reddit 模块。我设法使用 安装了它go get install github.com/vartanbeno/go-reddit@master
。但是,当我尝试使用“import "github.com/vartanbeno/go-reddit/reddit" 导入它时,它给了我以下错误:
could not import github.com/vartanbeno/go-reddit/reddit (cannot find package "github.com/vartanbeno/go-reddit/reddit" in any of /usr/local/go/src/github.com/vartanbeno/go-reddit/reddit (from $GOROOT) /home/<username>/go/src/github.com/vartanbeno/go-reddit/reddit (from $GOPATH))compiler
我正在运行 Ubuntu 20.04,使用 GNU/Linux 5.4.0-58-generic。我尝试使用的模块可以在以下位置找到https://github.com/vartanbeno/go-reddit/,以及下载说明。