ctx = context.WithValue(ctx, "2", "two") fmt.Println(ctx.Value("1")) fmt.Println(ctx.Value("2")) 相关文章: 2021-12-25 2021-06-16 2021-05-13 2021-07-01