pedroMMM/goss

View on GitHub
resource/interface.go

Summary

Maintainability
A
0 mins
Test Coverage

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

func (i *Interface) GetMeta() meta    { return i.Meta }
Severity: Minor
Found in resource/interface.go by golint

exported type Interface should have comment or be unexported
Open

type Interface struct {
Severity: Minor
Found in resource/interface.go by golint

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

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

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

func (i *Interface) ID() string      { return i.Name }
Severity: Minor
Found in resource/interface.go by golint

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

func (i *Interface) SetID(id string) { i.Name = id }
Severity: Minor
Found in resource/interface.go by golint

exported function NewInterface should have comment or be unexported
Open

func NewInterface(sysInterface system.Interface, config util.Config) (*Interface, error) {
Severity: Minor
Found in resource/interface.go by golint

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

func (i *Interface) Validate(sys *system.System) []TestResult {
Severity: Minor
Found in resource/interface.go by golint

There are no issues that match your filters.

Category
Status