pedroMMM/goss

View on GitHub

Showing 439 of 439 total issues

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 function NewMount should have comment or be unexported
Open

func NewMount(sysMount system.Mount, config util.Config) (*Mount, error) {
Severity: Minor
Found in resource/mount.go by golint

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

func (p *Package) Validate(sys *system.System) []TestResult {
Severity: Minor
Found in resource/package.go by golint

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

func (p *Process) GetTitle() string { return p.Title }
Severity: Minor
Found in resource/process.go by golint

exported function NewProcess should have comment or be unexported
Open

func NewProcess(sysProcess system.Process, config util.Config) (*Process, error) {
Severity: Minor
Found in resource/process.go by golint

type name will be used as resource.ResourceType by other packages, and that stutters; consider calling this Type
Open

type ResourceType generic.Type
Severity: Minor
Found in resource/resource_list_genny.go by golint

exported function NewService should have comment or be unexported
Open

func NewService(sysService system.Service, config util.Config) (*Service, error) {
Severity: Minor
Found in resource/service.go by golint

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

func (u *User) GetTitle() string { return u.Title }
Severity: Minor
Found in resource/user.go by golint

exported const UNSET should have comment (or a comment on this block) or be unexported
Open

    UNSET = iota
Severity: Minor
Found in store.go by golint

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

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

exported method DefCommand.Stderr should have comment or be unexported
Open

func (c *DefCommand) Stderr() (io.Reader, error) {
Severity: Minor
Found in system/command.go by golint

exported method DefFile.LinkedTo should have comment or be unexported
Open

func (f *DefFile) LinkedTo() (string, error) {
Severity: Minor
Found in system/file.go by golint

exported type Gossfile should have comment or be unexported
Open

type Gossfile interface {
Severity: Minor
Found in system/gossfile.go by golint

type JsonOneline should be JSONOneline
Open

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

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

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

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

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