Keyscontext.Context

我认为Context.Keys不是由查询参数填充的。

Context.KeysContext.Query
Keys

Keys是专门用于每个请求的上下文的键/值对。

GetSet

Set用于存储一个新的键/值对,专门用于这个上下文。如果之前没有使用过c.Keys,它也会懒惰地初始化它。

contextContext.WithValueContext.ValueKeysGetBoolinterface{}
context.Contextc.Request.ContextValueKeys
contextcontext.Contextinterface{}string