摘要:
在win上构建二进制程序到 linux 运行 SET CGO_ENABLED=0 SET GOOS=linux SET GOARCH=amd64 go build -mod=vendor [-o <binary_name>] main.go CGO_ENABLED=0 GOOS=linux GOAR 阅读全文
摘要:
官方一段话 time.After 内存gc 不会回收 其实不是 源码 / After waits for the duration to elapse and then sends the current time // on the returned channel. // It is equiv 阅读全文