ribice/gorsk

View on GitHub
pkg/api/password/transport/http.go

Summary

Maintainability
A
35 mins
Test Coverage

Method HTTP.change has 5 return statements (exceeds 4 allowed).
Open

func (h *HTTP) change(c echo.Context) error {
    id, err := strconv.Atoi(c.Param("id"))
    if err != nil {
        return gorsk.ErrBadRequest
    }
Severity: Major
Found in pkg/api/password/transport/http.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status