执行不成功,go build -o goInception tidb-server/main.go
go build -o goInception tidb-server/main.go
如下
[lvjl@emr-header-1 goInception]$ go build -o goInception tidb-server/main.go
go: github.com/BurntSushi/[email protected]: Get "https://goproxy.baidu.com/github.com/%21burnt%21sushi/toml/@v/v0.3.1.mod": x509: certificate has expired or is not yet valid: current time 2022-06-20T16:36:21+08:00 is after 2021-12-09T23:59:59Z
[lvjl@emr-header-1 goInception]$
怎么办?
移除或更改goproxy后重试, 有部分包如果因网络问题可自行在go.mod使用replace功能替换为github其他镜像包
由于此问题没有最近的活动,因此已被自动标记为陈旧。如果没有进一步的活动,会作为不活跃issue关闭。感谢你对本项目的贡献。 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.