otiai10/amesh-bot

View on GitHub
controllers/image.go

Summary

Maintainability
A
1 hr
Test Coverage

Method Controller.Image has 59 lines of code (exceeds 50 allowed). Consider refactoring.
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")
Severity: Minor
Found in controllers/image.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status