pedroMMM/goss

View on GitHub

Showing 439 of 439 total issues

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

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

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

func (a *Matching) SetID(id string) { a.Id = id }
Severity: Minor
Found in resource/matching.go by golint

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

func (s *Service) GetMeta() meta    { return s.Meta }
Severity: Minor
Found in resource/service.go by golint

comment on exported function LookupAAAA should be of the form "LookupAAAA ..."
Open

// AAAA (IPv6) record lookup
Severity: Minor
Found in system/dns.go by golint

exported type Matching should have comment or be unexported
Open

type Matching struct {
Severity: Minor
Found in resource/matching.go by golint

exported method MatchingMap.UnmarshalYAML should have comment or be unexported
Open

func (ret *MatchingMap) UnmarshalYAML(unmarshal func(v interface{}) error) error {
Severity: Minor
Found in resource/matching.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 type Package should have comment or be unexported
Open

type Package struct {
Severity: Minor
Found in resource/package.go by golint

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

func (p *Port) ID() string      { return p.Port }
Severity: Minor
Found in resource/port.go by golint

receiver name ret should be consistent with previous receiver name r for ResourceTypeMap
Open

func (ret *ResourceTypeMap) UnmarshalYAML(unmarshal func(v interface{}) error) error {
Severity: Minor
Found in resource/resource_list_genny.go by golint

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

func (u *User) ID() string      { return u.Username }
Severity: Minor
Found in resource/user.go by golint

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

func (u *User) GetMeta() meta    { return u.Meta }
Severity: Minor
Found in resource/user.go by golint

exported function DNSlookup should have comment or be unexported
Open

func DNSlookup(host string, server string, qtype string, timeout int) ([]string, error) {
Severity: Minor
Found in system/dns.go by golint

comment on exported function LookupA should be of the form "LookupA ..."
Open

// A record lookup
Severity: Minor
Found in system/dns.go by golint

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

func (a *Matching) Validate(sys *system.System) []TestResult {
Severity: Minor
Found in resource/matching.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 method Package.SetID should have comment or be unexported
Open

func (p *Package) SetID(id string) { p.Name = id }
Severity: Minor
Found in resource/package.go by golint

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

func (p *Port) SetID(id string) { p.Port = id }
Severity: Minor
Found in resource/port.go by golint

don't use underscores in Go names; var old_res should be oldRes
Open

    if old_res, ok := r[res.ID()]; ok {
Severity: Minor
Found in resource/resource_list_genny.go by golint

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

func (u *User) GetTitle() string { return u.Title }
Severity: Minor
Found in resource/user.go by golint
Severity
Category
Status
Source
Language