摘要: func tctx() { f := func() context.Context { ctx := context.TODO() ctx = context.WithValue(ctx, "k", "v") myprint(ctx.Value("k")) return ctx } ctx := f 阅读全文
posted @ 2022-07-27 20:09 papering 阅读(115) 评论(0) 推荐(0) 编辑