Showing 1 of 5 total issues

Method Controller.Put has 7 return statements (exceeds 4 allowed).
Open

func (c *Controller) Put(w http.ResponseWriter, r *http.Request) {
    rp, ok := c.Repository.(Persistable)
    if !ok {
        RespondWithError(w, http.StatusMethodNotAllowed, "405 Method Not Allowed")
        return
Severity: Major
Found in controller.go - About 45 mins to fix
    Severity
    Category
    Status
    Source
    Language