One - One Code All

Blog Content

基于go mod 创建项目

Go   2019-03-28 23:05:55
  1. 创建项目目录名 ProjectName

  2. 进入到项目目录

  3. 执行命令 go mod init ProjectName

  4. 创建文件后,执行 go mod tidy



上一篇:Go开发中常见的坑1
下一篇:go获取两个时间点的时间差、当前时间秒/毫秒/纳秒数以及几天前/后、几小时前/后、几分钟前/后、几秒前/后的时间

The minute you think of giving up, think of the reason why you held on so long.