pedroMMM/goss

View on GitHub
system/package.go

Summary

Maintainability
A
0 mins
Test Coverage

exported method NullPackage.Exists should have comment or be unexported
Open

func (p *NullPackage) Exists() (bool, error) { return p.Installed() }
Severity: Minor
Found in system/package.go by golint

exported method NullPackage.Installed should have comment or be unexported
Open

func (p *NullPackage) Installed() (bool, error) {
Severity: Minor
Found in system/package.go by golint

exported type Package should have comment or be unexported
Open

type Package interface {
Severity: Minor
Found in system/package.go by golint

exported type NullPackage should have comment or be unexported
Open

type NullPackage struct {
Severity: Minor
Found in system/package.go by golint

exported var ErrNullPackage should have comment or be unexported
Open

var ErrNullPackage = errors.New("Could not detect Package type on this system, please use --package flag to explicity set it")
Severity: Minor
Found in system/package.go by golint

exported method NullPackage.Versions should have comment or be unexported
Open

func (p *NullPackage) Versions() ([]string, error) {
Severity: Minor
Found in system/package.go by golint

exported method NullPackage.Name should have comment or be unexported
Open

func (p *NullPackage) Name() string { return p.name }
Severity: Minor
Found in system/package.go by golint

exported function NewNullPackage should have comment or be unexported
Open

func NewNullPackage(name string, system *System, config util.Config) Package {
Severity: Minor
Found in system/package.go by golint

There are no issues that match your filters.

Category
Status