• golang代理


    root@ubuntu:~/kata/kata_package# go env -w GOPROXY=https://goproxy.cn,direct
    warning: go env -w GOPROXY=... does not override conflicting OS environment variable
    root@ubuntu:~/kata/kata_package# go env
    GO111MODULE=""
    GOARCH="arm64"
    GOBIN=""
    GOCACHE="/root/.cache/go-build"
    GOENV="/root/.config/go/env"
    GOEXE=""
    GOFLAGS=""
    GOHOSTARCH="arm64"
    GOHOSTOS="linux"
    GOINSECURE=""
    GOMODCACHE="/opt/gopath/pkg/mod"
    GONOPROXY=""
    GONOSUMDB=""
    GOOS="linux"
    GOPATH="/opt/gopath"
    GOPRIVATE=""
    GOPROXY="https://goproxy.io"
    GOROOT="/usr/lib/go"
    GOSUMDB="sum.golang.org"
    GOTMPDIR=""
    GOTOOLDIR="/usr/lib/go/pkg/tool/linux_arm64"
    GCCGO="gccgo"
    AR="ar"
    CC="gcc"
    CXX="g++"
    CGO_ENABLED="1"
    GOMOD=""
    CGO_CFLAGS="-g -O2"
    CGO_CPPFLAGS=""
    CGO_CXXFLAGS="-g -O2"
    CGO_FFLAGS="-g -O2"
    CGO_LDFLAGS="-g -O2"
    PKG_CONFIG="pkg-config"
    GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build112501609=/tmp/go-build -gno-record-gcc-switches"
    root@ubuntu:~/kata/kata_package# export  GOPROXY=https://goproxy.cn,direct
  • 相关阅读:
    IDEA常用快捷键和设置
    java反射总结
    IO编程总结
    3月份主要学习
    idea中maven将jar包导入本地maven库
    hive常用命令
    CentOS7 安装图形化桌面
    vue+leaflet
    Springboot + Rabbitmq + WebSocet + vue
    VUE 中引入百度地图(vue-Baidu-Map)
  • 原文地址:https://www.cnblogs.com/dream397/p/13750993.html
Copyright © 2020-2023  润新知