batazor/go-auth

View on GitHub
models/user/types.go

Summary

Maintainability
A
0 mins
Test Coverage

exported type Profile should have comment or be unexported
Open

type Profile struct {
Severity: Minor
Found in models/user/types.go by golint

struct field Id should be ID
Open

    Id      string `json:"id"`
Severity: Minor
Found in models/user/types.go by golint

don't use MixedCaps in package name; userModel should be usermodel
Open

package userModel
Severity: Minor
Found in models/user/types.go by golint

struct field Id should be ID
Open

    Id            string     `json:"id" bson:"_id,omitempty"`
Severity: Minor
Found in models/user/types.go by golint

There are no issues that match your filters.

Category
Status