摘要: context.Context是一个接口,该接口定义了四个需要实现的方法。具体签名如下:type Context interface { Deadline() (deadline time.Time, ok bool) Done() <-chan struct{} Err() error Value 阅读全文
posted @ 2021-09-05 09:43 算盘 阅读(77) 评论(0) 推荐(0)