resource/user.go
exported method User.GetMeta should have comment or be unexported Open
Open
func (u *User) GetMeta() meta { return u.Meta }
- Exclude checks
exported function NewUser should have comment or be unexported Open
Open
func NewUser(sysUser system.User, config util.Config) (*User, error) {
- Exclude checks
exported method User.GetTitle should have comment or be unexported Open
Open
func (u *User) GetTitle() string { return u.Title }
- Exclude checks
exported type User should have comment or be unexported Open
Open
type User struct {
- Exclude checks
exported method User.SetID should have comment or be unexported Open
Open
func (u *User) SetID(id string) { u.Username = id }
- Exclude checks
exported method User.ID should have comment or be unexported Open
Open
func (u *User) ID() string { return u.Username }
- Exclude checks
exported method User.Validate should have comment or be unexported Open
Open
func (u *User) Validate(sys *system.System) []TestResult {
- Exclude checks