service/default_file_service.go
Avoid deeply nested control flow statements. Open
Open
if resp, err = req.Post(_url); err == nil {
err = rest.Result(resp, &stats)
}
package comment should be of the form "Package service ..." Wontfix
Wontfix
// Copyright 2016, Fitbit, Inc.
- Exclude checks
exported method DefaultFileService.Pull should have comment or be unexported Open
Open
func (s *DefaultFileService) Pull(params *FilePullParams) ([]*model.File, error) {
- Exclude checks
exported method DefaultFileService.Push should have comment or be unexported Open
Open
func (s *DefaultFileService) Push(params *FilePushParams) (*model.FileStats, error) {
- Exclude checks
exported type DefaultFileService should have comment or be unexported Open
Open
type DefaultFileService struct {
- Exclude checks