pedroMMM/goss

View on GitHub

Showing 439 of 439 total issues

exported type Resource should have comment or be unexported
Open

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

receiver name ret should be consistent with previous receiver name r for ResourceTypeMap
Open

func (ret *ResourceTypeMap) UnmarshalJSON(data []byte) error {
Severity: Minor
Found in resource/resource_list_genny.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 Addr should have comment or be unexported
Open

type Addr interface {
Severity: Minor
Found in system/addr.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 LookupSRV should be of the form "LookupSRV ..."
Open

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

exported type MatchingMap should have comment or be unexported
Open

type MatchingMap map[string]*Matching
Severity: Minor
Found in resource/matching.go by golint

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

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

exported type Mount should have comment or be unexported
Open

type Mount struct {
Severity: Minor
Found in resource/mount.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 method ResourceTypeMap.AppendSysResourceIfExists should have comment or be unexported
Open

func (r ResourceTypeMap) AppendSysResourceIfExists(sr string, sys *system.System) (*ResourceType, system.ResourceType, bool) {
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 const SUCCESS should have comment (or a comment on this block) or be unexported
Open

    SUCCESS = iota
Severity: Minor
Found in resource/validate.go by golint

exported function ValidateValue should have comment or be unexported
Open

func ValidateValue(res ResourceRead, property string, expectedValue interface{}, actual interface{}, skip bool) TestResult {
Severity: Minor
Found in resource/validate.go by golint

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

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

exported type DNS should have comment or be unexported
Open

type DNS interface {
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 LookupTXT should be of the form "LookupTXT ..."
Open

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

exported type File should have comment or be unexported
Open

type File interface {
Severity: Minor
Found in system/file.go by golint
Severity
Category
Status
Source
Language