pedroMMM/goss

View on GitHub
resource/mount.go

Summary

Maintainability
A
0 mins
Test Coverage

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

func (m *Mount) ID() string      { return m.MountPoint }
Severity: Minor
Found in resource/mount.go by golint

comment on exported method Mount.GetTitle should be of the form "GetTitle ..."
Open

// FIXME: Can this be refactored?
Severity: Minor
Found in resource/mount.go by golint

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

func (m *Mount) GetMeta() meta    { return m.Meta }
Severity: Minor
Found in resource/mount.go by golint

exported function NewMount should have comment or be unexported
Open

func NewMount(sysMount system.Mount, config util.Config) (*Mount, error) {
Severity: Minor
Found in resource/mount.go by golint

exported type Mount should have comment or be unexported
Open

type Mount struct {
Severity: Minor
Found in resource/mount.go by golint

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

func (m *Mount) Validate(sys *system.System) []TestResult {
Severity: Minor
Found in resource/mount.go by golint

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

func (m *Mount) SetID(id string) { m.MountPoint = id }
Severity: Minor
Found in resource/mount.go by golint

There are no issues that match your filters.

Category
Status