Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Marker ¶
type Marker struct { ID int `json:"id"` Name string `json:"name"` Icon string `json:"icon"` UserID int `json:"user_id"` }
Marker ...
type Rating ¶
type Rating struct { ID int `json:"id"` Name string `json:"name"` Surname string `json:"surname"` Rating float64 `json:"rating"` CountCreate int `json:"count_create"` CountDone int `json:"count_done"` UserID int `json:"user_id"` }
Rating ...
type Task ¶
type Task struct { ID int `json:"id"` Time time.Time `json:"time"` Date time.Time `json:"date"` Name string `json:"name"` Description string `json:"description"` MarkerIcon string `json:"marker_icon"` MarkerName string `json:"marker_name"` IsDone bool `json:"is_done"` UserID int `json:"user_id"` Rating float64 `json:"rating"` TimeToFinish float64 }
Task ...
type User ¶
type User struct { ID int `json:"id"` Email string `json:"email"` Password string `json:"password,omitempty"` EncryptedPassword string `json:"-"` Token string `json:"token"` Name string `json:"name"` Surname string `json:"surname"` TokenTG string `json:"token_tg"` IsTelegramAuth bool `json:"is_telegram_auth"` ChatIDTG int `json:"chat_id_tg"` IsTelegramNotifyOn bool `json:"is_notify_tg_on"` }
User ...
func (*User) ComparePassword ¶
ComparePassword ...
Click to show internal directories.
Click to hide internal directories.