pedroMMM/goss

View on GitHub
resource/addr.go

Summary

Maintainability
A
0 mins
Test Coverage

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

func (a *Addr) SetID(id string) { a.Address = id }
Severity: Minor
Found in resource/addr.go by golint

exported function NewAddr should have comment or be unexported
Open

func NewAddr(sysAddr system.Addr, config util.Config) (*Addr, error) {
Severity: Minor
Found in resource/addr.go by golint

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

func (a *Addr) ID() string      { return a.Address }
Severity: Minor
Found in resource/addr.go by golint

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

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

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

func (a *Addr) Validate(sys *system.System) []TestResult {
Severity: Minor
Found in resource/addr.go by golint

exported type Addr should have comment or be unexported
Open

type Addr struct {
Severity: Minor
Found in resource/addr.go by golint

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

func (r *Addr) GetMeta() meta    { return r.Meta }
Severity: Minor
Found in resource/addr.go by golint

receiver name r should be consistent with previous receiver name a for Addr
Open

func (r *Addr) GetTitle() string { return r.Title }
Severity: Minor
Found in resource/addr.go by golint

receiver name r should be consistent with previous receiver name a for Addr
Open

func (r *Addr) GetMeta() meta    { return r.Meta }
Severity: Minor
Found in resource/addr.go by golint

There are no issues that match your filters.

Category
Status