pedroMMM/goss

View on GitHub

Showing 439 of 439 total issues

comment on exported function LookupAAAA should be of the form "LookupAAAA ..."
Open

// AAAA (IPv6) record lookup
Severity: Minor
Found in system/dns.go by golint

exported function NewGossConfig should have comment or be unexported
Open

func NewGossConfig() *GossConfig {
Severity: Minor
Found in goss_config.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.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 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 File.Validate should have comment or be unexported
Open

func (f *File) Validate(sys *system.System) []TestResult {
Severity: Minor
Found in resource/file.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 KernelParam.Validate should have comment or be unexported
Open

func (a *KernelParam) Validate(sys *system.System) []TestResult {
Severity: Minor
Found in resource/kernel_param.go by golint

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

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

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

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

exported type ResourceRead should have comment or be unexported
Open

type ResourceRead interface {
Severity: Minor
Found in resource/resource.go by golint

comment on exported function RenderJSON should be of the form "RenderJSON ..."
Open

// Reads json file recursively returning string
Severity: Minor
Found in store.go by golint

exported function WriteJSON should have comment or be unexported
Open

func WriteJSON(filePath string, gossConfig GossConfig) error {
Severity: Minor
Found in store.go by golint

exported type Command should have comment or be unexported
Open

type Command interface {
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 DefDNS.Resolvable should have comment or be unexported
Open

func (d *DefDNS) Resolvable() (bool, error) {
Severity: Minor
Found in system/dns.go by golint

comment on exported function LookupMX should be of the form "LookupMX ..."
Open

// MX record lookup
Severity: Minor
Found in system/dns.go by golint

comment on exported function LookupCAA should be of the form "LookupCAA ..."
Open

// CAA record lookup
Severity: Minor
Found in system/dns.go by golint

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

func (f *DefFile) Md5() (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
Severity
Category
Status
Source
Language