pedroMMM/goss

View on GitHub
resource/service.go

Summary

Maintainability
A
0 mins
Test Coverage

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 Service.SetID should have comment or be unexported
Open

func (s *Service) SetID(id string) { s.Service = id }
Severity: Minor
Found in resource/service.go by golint

exported method Service.ID should have comment or be unexported
Open

func (s *Service) ID() string      { return s.Service }
Severity: Minor
Found in resource/service.go by golint

exported type Service should have comment or be unexported
Open

type Service struct {
Severity: Minor
Found in resource/service.go by golint

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

func (s *Service) GetMeta() meta    { return s.Meta }
Severity: Minor
Found in resource/service.go by golint

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

func (s *Service) GetTitle() string { return s.Title }
Severity: Minor
Found in resource/service.go by golint

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

func (s *Service) Validate(sys *system.System) []TestResult {
Severity: Minor
Found in resource/service.go by golint

There are no issues that match your filters.

Category
Status