Fitbit/smartling

View on GitHub
service/default_file_service.go

Summary

Maintainability
A
45 mins
Test Coverage

Avoid deeply nested control flow statements.
Open

                    if resp, err = req.Post(_url); err == nil {
                        err = rest.Result(resp, &stats)
                    }
Severity: Major
Found in service/default_file_service.go - About 45 mins to fix

    package comment should be of the form "Package service ..."
    Wontfix

    // Copyright 2016, Fitbit, Inc.
    Severity: Minor
    Found in service/default_file_service.go by golint

    exported method DefaultFileService.Pull should have comment or be unexported
    Open

    func (s *DefaultFileService) Pull(params *FilePullParams) ([]*model.File, error) {
    Severity: Minor
    Found in service/default_file_service.go by golint

    exported method DefaultFileService.Push should have comment or be unexported
    Open

    func (s *DefaultFileService) Push(params *FilePushParams) (*model.FileStats, error) {
    Severity: Minor
    Found in service/default_file_service.go by golint

    exported type DefaultFileService should have comment or be unexported
    Open

    type DefaultFileService struct {
    Severity: Minor
    Found in service/default_file_service.go by golint

    There are no issues that match your filters.

    Category
    Status