pedroMMM/goss

View on GitHub
resource/user.go

Summary

Maintainability
A
0 mins
Test Coverage

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

func (u *User) Validate(sys *system.System) []TestResult {
Severity: Minor
Found in resource/user.go by golint

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

func (u *User) ID() string      { return u.Username }
Severity: Minor
Found in resource/user.go by golint

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

func (u *User) GetMeta() meta    { return u.Meta }
Severity: Minor
Found in resource/user.go by golint

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

func (u *User) GetTitle() string { return u.Title }
Severity: Minor
Found in resource/user.go by golint

exported function NewUser should have comment or be unexported
Open

func NewUser(sysUser system.User, config util.Config) (*User, error) {
Severity: Minor
Found in resource/user.go by golint

exported method User.SetID should have comment or be unexported
Open

func (u *User) SetID(id string) { u.Username = id }
Severity: Minor
Found in resource/user.go by golint

exported type User should have comment or be unexported
Open

type User struct {
Severity: Minor
Found in resource/user.go by golint

There are no issues that match your filters.

Category
Status