Documentation ¶
Index ¶
Constants ¶
View Source
const UserContextKey = "user"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { ID int `bun:"id,pk,autoincrement"` UserID uuid.UUID `bun:"user_id"` Username string `bun:"username"` CreatedAt time.Time `bun:"default:'now()'"` Title string `bun:"title"` Bio string `bun:"user_bio"` Status string `bun:"user_status"` Department string `bun:"department"` Location string `bun:"location"` }
type AuthenticatedUser ¶
Click to show internal directories.
Click to hide internal directories.