pedroMMM/goss

View on GitHub

Showing 439 of 439 total issues

exported type Outputer should have comment or be unexported
Open

type Outputer interface {
Severity: Minor
Found in outputs/outputs.go by golint

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

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

exported type Nagios should have comment or be unexported
Open

type Nagios struct{}
Severity: Minor
Found in outputs/nagios.go by golint

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

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

exported method BeSemverConstraintMatcher.FailureMessage should have comment or be unexported
Open

func (matcher *BeSemverConstraintMatcher) FailureMessage(actual interface{}) (message string) {
Severity: Minor
Found in matchers/semver_constraint.go by golint

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

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

exported type DNS should have comment or be unexported
Open

type DNS struct {
Severity: Minor
Found in resource/dns.go by golint

should omit 2nd value from range; this loop is equivalent to for key := range ...
Open

    for key, _ := range valueI {
Severity: Minor
Found in resource/gomega.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

exported type Json should have comment or be unexported
Open

type Json struct{}
Severity: Minor
Found in outputs/json.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 method Command.GetTitle should have comment or be unexported
Open

func (c *Command) GetTitle() string { return c.Title }
Severity: Minor
Found in resource/command.go by golint

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

func (f *File) ID() string      { return f.Path }
Severity: Minor
Found in resource/file.go by golint

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

func (f *File) SetID(id string) { f.Path = id }
Severity: Minor
Found in resource/file.go by golint

exported type Documentation should have comment or be unexported
Open

type Documentation struct{}
Severity: Minor
Found in outputs/documentation.go by golint

type Json should be JSON
Open

type Json struct{}
Severity: Minor
Found in outputs/json.go by golint

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

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

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

func (c *Command) Validate(sys *system.System) []TestResult {
Severity: Minor
Found in resource/command.go by golint

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

func (g *Group) ID() string      { return g.Groupname }
Severity: Minor
Found in resource/group.go by golint

exported function NewGroup should have comment or be unexported
Open

func NewGroup(sysGroup system.Group, config util.Config) (*Group, error) {
Severity: Minor
Found in resource/group.go by golint
Severity
Category
Status
Source
Language