(c *gin.Context)
| 52 | } |
| 53 | |
| 54 | func getSession(c *gin.Context) *model.Session { |
| 55 | return c.MustGet("session").(*model.Session) |
| 56 | } |
| 57 | |
| 58 | func getDeveloperID(c *gin.Context) int64 { |
| 59 | return getSession(c).MustGetInt("developer_id") |
no test coverage detected