controllers/image.go
Method Controller.Image
has 59 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (c *Controller) Image(w http.ResponseWriter, req *http.Request) {
origin := req.URL.Query().Get("url")
filter := req.URL.Query().Get("filter")
levelstr := req.URL.Query().Get("level")