初始化mod. 可以在当前目录下执行 go test 看到执行出错,由于我们的项目不在 $GOPATH 中,所以 go command 不知道当前目录的导入路径;可以使用 go ...
確定! 回上一頁