摘要: golang Context应用举例 Context本质 golang标准库里Context实际上是一个接口(即一种编程规范、 一种约定)。 type Context interface { Deadline() (deadline time.Time, ok bool) Done() <-chan struct{} Err() err 阅读全文
posted @ 2023-09-27 09:40 高性能golang 阅读(471) 评论(1) 推荐(1) 编辑