go module配置

go mod详细用法

参考文章: http://c.biancheng.net/view/4774.html

更多更详细的用法参考上面的文档

下面汇总一些常用的用法

1. go mod init

这个命令是给项目初始化,需要再项目外执行,并执行项目名称

go mode init 项目名

2.创建一个go新项目

https://www.php.cn/faq/519432.html

posted @ 2019-11-28 14:36  盛开的太阳  阅读(410)  评论(0编辑  收藏  举报