(c *gin.Context, key constant.ContextKey, value any)
| 155 | } |
| 156 | |
| 157 | func SetContextKey(c *gin.Context, key constant.ContextKey, value any) { |
| 158 | c.Set(string(key), value) |
| 159 | } |
| 160 | |
| 161 | func GetContextKey(c *gin.Context, key constant.ContextKey) (any, bool) { |
| 162 | return c.Get(string(key)) |