pedroMMM/goss

View on GitHub
resource/file.go

Summary

Maintainability
A
0 mins
Test Coverage

exported method File.GetTitle should have comment or be unexported
Open

func (f *File) GetTitle() string { return f.Title }
Severity: Minor
Found in resource/file.go by golint

exported method File.ID should have comment or be unexported
Open

func (f *File) ID() string      { return f.Path }
Severity: Minor
Found in resource/file.go by golint

exported type File should have comment or be unexported
Open

type File struct {
Severity: Minor
Found in resource/file.go by golint

exported method File.GetMeta should have comment or be unexported
Open

func (f *File) GetMeta() meta    { return f.Meta }
Severity: Minor
Found in resource/file.go by golint

exported function NewFile should have comment or be unexported
Open

func NewFile(sysFile system.File, config util.Config) (*File, error) {
Severity: Minor
Found in resource/file.go by golint

exported method File.SetID should have comment or be unexported
Open

func (f *File) SetID(id string) { f.Path = id }
Severity: Minor
Found in resource/file.go by golint

exported method File.Validate should have comment or be unexported
Open

func (f *File) Validate(sys *system.System) []TestResult {
Severity: Minor
Found in resource/file.go by golint

There are no issues that match your filters.

Category
Status