zoukankan      html  css  js  c++  java
  • go mod使用

    1.go mod 使用:

    export GO111MODULE=on
    export GOPROXY=https://goproxy.cn
    go mod download
    
    
    set GO111MODULE=on    //windows
    export GO111MODULE=on //linux
    
    go build -mod = vendor
    GOFLAGS = -mod = vendor
    

    说明:

    代理地址:

    https://goproxy.io
    https://goproxy.cn
    https://mirrors.aliyun.com/goproxy/
    https://athens.azurefd.net
    

    2.Goland go mod配置

    https://goframe.org/prepare/gomodule
    https://www.jianshu.com/p/6f58f050ceda
    https://studygolang.com/articles/15212
    

    相关链接

    https://github.com/golang/go/wiki/Modules#how-do-i-use-vendoring-with-modules-is-vendoring-going-away
    https://juejin.im/post/5c8e503a6fb9a070d878184a
    https://www.cnblogs.com/wt11/p/11340386.html
    https://lfoder.github.io/2019/02/26/Go-Modules-go-mod-Goland-IDE%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B/
    
  • 相关阅读:
    模糊查询于聚合函数
    用SQL语句操作数据
    数据库增删改查
    错题本4
    数据查询基础
    用表组织数据
    初识数据库
    错题本3
    深入C#的String类
    定位
  • 原文地址:https://www.cnblogs.com/tomtellyou/p/12164240.html
Copyright © 2011-2022 走看看