pedroMMM/goss

View on GitHub

Showing 439 of 439 total issues

exported function NewHTTP should have comment or be unexported
Open

func NewHTTP(sysHTTP system.HTTP, config util.Config) (*HTTP, error) {
Severity: Minor
Found in resource/http.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 type JUnit should have comment or be unexported
Open

type JUnit struct{}
Severity: Minor
Found in outputs/junit.go by golint

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

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

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

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

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

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

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

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

exported method GossConfig.Resources should have comment or be unexported
Open

func (c *GossConfig) Resources() []resource.Resource {
Severity: Minor
Found in goss_config.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 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 Command.ID should have comment or be unexported
Open

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

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

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

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

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

receiver name r should be consistent with previous receiver name u for HTTP
Open

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

exported function AddResource should have comment or be unexported
Open

func AddResource(fileName string, gossConfig GossConfig, resourceName, key string, config util.Config, sys *system.System) error {
Severity: Minor
Found in add.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

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

func (d *DNS) Validate(sys *system.System) []TestResult {
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

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 method Gossfile.ID should have comment or be unexported
Open

func (g *Gossfile) ID() string      { return g.Path }
Severity: Minor
Found in resource/gossfile.go by golint
Severity
Category
Status
Source
Language