model/project_resource.go
Avoid deeply nested control flow statements. Open
Open
} else if i < p-1 {
files = allFiles[low:high]
} else {
files = allFiles[low:]
}
exported method ProjectResource.Files should have comment or be unexported Open
Open
func (r *ProjectResource) Files() []string {
- Exclude checks
exported method ProjectResource.BatchFiles should have comment or be unexported Open
Open
func (r *ProjectResource) BatchFiles(size int) [][]string {
- Exclude checks
package comment should be of the form "Package model ..." Wontfix
Wontfix
// Copyright 2016, Fitbit, Inc.
- Exclude checks
exported type ProjectResource should have comment or be unexported Open
Open
type ProjectResource struct {
- Exclude checks
exported method ProjectResource.FilePath should have comment or be unexported Open
Open
func (r *ProjectResource) FilePath(filename string, locale string) (string, error) {
- Exclude checks