pedroMMM/goss

View on GitHub
system/port.go

Summary

Maintainability
A
0 mins
Test Coverage

exported type DefPort should have comment or be unexported
Open

type DefPort struct {
Severity: Minor
Found in system/port.go by golint

exported type Port should have comment or be unexported
Open

type Port interface {
Severity: Minor
Found in system/port.go by golint

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

func (p *DefPort) Port() string {
Severity: Minor
Found in system/port.go by golint

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

func (p *DefPort) Exists() (bool, error) { return p.Listening() }
Severity: Minor
Found in system/port.go by golint

exported function NewDefPort should have comment or be unexported
Open

func NewDefPort(port string, system *System, config util.Config) Port {
Severity: Minor
Found in system/port.go by golint

exported method DefPort.Listening should have comment or be unexported
Open

func (p *DefPort) Listening() (bool, error) {
Severity: Minor
Found in system/port.go by golint

exported method DefPort.IP should have comment or be unexported
Open

func (p *DefPort) IP() ([]string, error) {
Severity: Minor
Found in system/port.go by golint

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

// FIXME: Is there a better way to do this rather than ignoring errors?
Severity: Minor
Found in system/port.go by golint

There are no issues that match your filters.

Category
Status