nikoksr/notify

View on GitHub
service/mattermost/mattermost.go

Summary

Maintainability
A
40 mins
Test Coverage

Function setupLoginService has 6 return statements (exceeds 4 allowed).
Open

func setupLoginService(url string, msgService *http.Service) *http.Service {
    // create another new http client for login request call.
    httpService := http.New()

    // append login path for the given mattermost server with custom payload builder.
Severity: Major
Found in service/mattermost/mattermost.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status