MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / User

Struct User

internal/models/user.go:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30type User struct {
31 BaseModel `bson:",inline"`
32 Email string `bson:"email,unique"`
33 Name string `bson:"name"`
34 Picture string `bson:"picture"`
35 LastLogin bson.DateTime `bson:"last_login"`
36 Settings Settings `bson:"settings"`
37 Instructions string `bson:"instructions"`
38}
39
40func (u User) CollectionName() string {
41 return "users"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected