(c *gin.Context, key constant.ContextKey)
| 59 | } |
| 60 | |
| 61 | func GetContextKeyInt(c *gin.Context, key constant.ContextKey) int { |
| 62 | return c.GetInt(string(key)) |
| 63 | } |
| 64 | |
| 65 | func GetContextKeyBool(c *gin.Context, key constant.ContextKey) bool { |
| 66 | return c.GetBool(string(key)) |