pedroMMM/goss

View on GitHub

Showing 439 of 439 total issues

struct field HTTPs should be HTTPS
Open

    HTTPs        resource.HTTPMap        `json:"http,omitempty" yaml:"http,omitempty"`
Severity: Minor
Found in goss_config.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 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 File.GetMeta should have comment or be unexported
Open

func (f *File) GetMeta() meta    { return f.Meta }
Severity: Minor
Found in resource/file.go by golint

exported function NewFile should have comment or be unexported
Open

func NewFile(sysFile system.File, config util.Config) (*File, error) {
Severity: Minor
Found in resource/file.go by golint

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

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

exported type HTTP should have comment or be unexported
Open

type HTTP struct {
Severity: Minor
Found in resource/http.go by golint

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

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

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

func (r JsonOneline) Output(w io.Writer, results <-chan []resource.TestResult,
Severity: Minor
Found in outputs/json_oneline.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 Silent.Output should have comment or be unexported
Open

func (r Silent) Output(w io.Writer, results <-chan []resource.TestResult,
Severity: Minor
Found in outputs/silent.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 type Command should have comment or be unexported
Open

type Command struct {
Severity: Minor
Found in resource/command.go by golint

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build genny
Severity: Minor
Found in resource/resource_list_genny.go by gofmt

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

type name will be used as goss.GossConfig by other packages, and that stutters; consider calling this Config
Open

type GossConfig struct {
Severity: Minor
Found in goss_config.go by golint

exported type JsonOneline should have comment or be unexported
Open

type JsonOneline struct{}
Severity: Minor
Found in outputs/json_oneline.go by golint

exported type Rspecish should have comment or be unexported
Open

type Rspecish struct{}
Severity: Minor
Found in outputs/rspecish.go by golint

exported type Silent should have comment or be unexported
Open

type Silent struct{}
Severity: Minor
Found in outputs/silent.go by golint
Severity
Category
Status
Source
Language