Go - could not import github.com/go-sql-driver/mysql
25 Apr 2023Go
這個問題也可能發生在其他引入 github package 的情況下,Go 1.17 後的版本需要 dependencies 被清楚標明在 go.mod
內,解決方法如下:
- go mod init example.com/module (optional)
- go mod tidy
Go
這個問題也可能發生在其他引入 github package 的情況下,Go 1.17 後的版本需要 dependencies 被清楚標明在 go.mod
內,解決方法如下:
solidity
picoCTF
Go
ethernaut
linux
blockchain
sql
react
smart-contract
typescript
solana
javascript
ethereum
css
Linux
ubuntu
next.js
jekyll
hardhat
golang
ethers
Secureum
Rust
zsh
web
wallet
vscode
truffle
rpc
notion
notes
nodejs
nextjs
mocha
html
github
git
geth
express
eslint
docker
cloudflare
Vim
DSA