We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编译报错如下: 1、..\github.com\mattn\go-sqlite3\sqlite3.go:118:2: cannot find package "golang.org /x/net/context" in any of: C:\Go\src\golang.org\x\net\context (from $GOROOT) D:\go\src\golang.org\x\net\context (from $GOPATH)
2、# github.com/beego/admin/src/models ..\github.com\beego\admin\src\models\AdminInit.go:7: imported and not used: "os"
3、# github.com/beego/admin/src/models ..\github.com\beego\admin\src\models\AdminInit.go:7: imported and not used: "os"
把相关代码注释后可以使用。 我用的是windows 7,另外建表语句没有找到在哪儿。
The text was updated successfully, but these errors were encountered:
golang.org /x/net/context 创建了相应的golang.org/x/ 路径 然后,下载这个回去https://github.com/golang/net.git ,编译通过了。
../github.com/lib/pq/conn_go18.go:45: undefined: driver.TxOptions 出现了这个,竟然也能使用。
Sorry, something went wrong.
No branches or pull requests
编译报错如下:
1、..\github.com\mattn\go-sqlite3\sqlite3.go:118:2: cannot find package "golang.org
/x/net/context" in any of:
C:\Go\src\golang.org\x\net\context (from $GOROOT)
D:\go\src\golang.org\x\net\context (from $GOPATH)
2、# github.com/beego/admin/src/models
..\github.com\beego\admin\src\models\AdminInit.go:7: imported and not used: "os"
3、# github.com/beego/admin/src/models
..\github.com\beego\admin\src\models\AdminInit.go:7: imported and not used: "os"
把相关代码注释后可以使用。
我用的是windows 7,另外建表语句没有找到在哪儿。
The text was updated successfully, but these errors were encountered: