提交 31a1f21b 编写于 作者: S Steve Francia

Simplifying goGet function

上级 b4ab6634
......@@ -116,8 +116,7 @@ type CurDir struct {
}
func goGet(mod string) error {
cmd := exec.Command("go", "get", mod)
return cmd.Run()
return exec.Command("go", "get", mod).Run()
}
func modInfoJSON(args ...string) []byte {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册