摘要:
建立基础模型后,解题就很顺畅了 阅读全文
摘要:
# ](https://img2023.cnblogs.com/blog/778496/202305/778496-20230505102946042-235299467.png)
摘要:
一、背景 某次会议上发表了error group包,一个g失败,其他的g会同时失败的错误言论(看了一下源码中的一句话The first call to return a non-nil error cancels the group,没进一步看其他源码,片面理解了)。 // The first ca 阅读全文

摘要:
1. 背景 环境:golang 1.9,drawn 测试使用golang exec 执行命令,并配置过期时间,测试脚本如下。 现象:执行脚本后,到超时时间后并为超时退出,反而阻塞住了 func TestExecWithTimeout(t *testing.T) { ctx, cancel := co 阅读全文

摘要:
什么是RunC Docker、Google、CoreOS 和其他供应商创建了OCI 开放容器计划。目前有两个标准文档: 容器运行时标准(runtime spec) 容器镜像标准(image spec) OCI 对容器runtime的标准主要是指定容器的运行状态,如runtime需要提供的命令。下图是 阅读全文
摘要:
如何构建一个最小的的go可执行文件,go build常用参数详解 阅读全文