pedroMMM/goss

View on GitHub
resource/command.go

Summary

Maintainability
A
0 mins
Test Coverage

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 Command.GetMeta should have comment or be unexported
Open

func (c *Command) GetMeta() meta    { return c.Meta }
Severity: Minor
Found in resource/command.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

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

func (c *Command) SetID(id string) { c.Command = id }
Severity: Minor
Found in resource/command.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 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 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

There are no issues that match your filters.

Category
Status