pedroMMM/goss

View on GitHub

Showing 439 of 439 total issues

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

func (d *DNS) GetMeta() meta    { return d.Meta }
Severity: Minor
Found in resource/dns.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 function NewGossConfig should have comment or be unexported
Open

func NewGossConfig() *GossConfig {
Severity: Minor
Found in goss_config.go by golint

exported function GetOutputer should have comment or be unexported
Open

func GetOutputer(name string) (Outputer, error) {
Severity: Minor
Found in outputs/outputs.go by golint

exported method Rspecish.Output should have comment or be unexported
Open

func (r Rspecish) Output(w io.Writer, results <-chan []resource.TestResult,
Severity: Minor
Found in outputs/rspecish.go by golint

exported function NewCommand should have comment or be unexported
Open

func NewCommand(sysCommand system.Command, config util.Config) (*Command, error) {
Severity: Minor
Found in resource/command.go by golint

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

func (d *DNS) GetTitle() string { return d.Title }
Severity: Minor
Found in resource/dns.go by golint

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 type Group should have comment or be unexported
Open

type Group struct {
Severity: Minor
Found in resource/group.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 method KernelParam.Validate should have comment or be unexported
Open

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

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

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

func (u *User) Validate(sys *system.System) []TestResult {
Severity: Minor
Found in resource/user.go by golint

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

func (a *DefAddr) ID() string {
Severity: Minor
Found in system/addr.go by golint

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

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

exported function NewDefFile should have comment or be unexported
Open

func NewDefFile(path string, system *System, config util.Config) File {
Severity: Minor
Found in system/file.go by golint

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

func (a *KernelParam) SetID(id string) { a.Key = id }
Severity: Minor
Found in resource/kernel_param.go by golint

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

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

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

func (r *Matching) GetMeta() meta    { return r.Meta }
Severity: Minor
Found in resource/matching.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
Severity
Category
Status
Source
Language