danstis/go-nitrado

View on GitHub
nitrado/gameserver_fileserver.go

Summary

Maintainability
A
35 mins
Test Coverage

Method FileServerService.List has 5 return statements (exceeds 4 allowed).
Open

func (s *FileServerService) List(svc Service, opts FileServerListOptions) ([]File, *http.Response, error) {
    u := fmt.Sprintf("services/%v/gameservers/file_server/list", svc.ID)
    u, err := addOptions(u, opts)
    if err != nil {
        return nil, nil, err
Severity: Major
Found in nitrado/gameserver_fileserver.go - About 35 mins to fix

There are no issues that match your filters.

Category
Status