Documentation ¶
Overview ¶
Package models contain entities that are essential for the app.
Package models contain entities that are essential for the app.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnterMode ¶
type EnterMode bool
Mode shows whether the application is in development mode or production mode.
type Mode ¶
type Mode uint
Mode shows whether the application is in development mode or production mode.
const ( Development Mode Production )
type User ¶
type User struct { ID int64 `bson:"id"` TelegramID int64 `bson:"telegram_id,omitempty"` Username string `bson:"username"` FirstName string `bson:"firstname,omitempty"` LastName string `bson:"lastname"` JoinedAt time.Time `bson:"joined_at,omitempty"` }
User represents user table structure in a database.
Click to show internal directories.
Click to hide internal directories.