(c *gin.Context, key constant.ContextKey)
| 75 | } |
| 76 | |
| 77 | func GetContextKeyTime(c *gin.Context, key constant.ContextKey) time.Time { |
| 78 | return c.GetTime(string(key)) |
| 79 | } |
| 80 | |
| 81 | func GetContextKeyType[T any](c *gin.Context, key constant.ContextKey) (T, bool) { |
| 82 | if value, ok := c.Get(string(key)); ok { |