Documentation ¶
Index ¶
- func AddNewTask(userID int64, task *data.Task) error
- func ChangeLanguage(userID int64, lang string) error
- func ChangeTimeFormat(userID int64, tf int) error
- func ChangeTimeZone(userID int64, tz string) error
- func Connect() (*sql.DB, error)
- func DeleteOldCommonTask(userID int64, tz string)
- func DeleteTask(userID int64, ID int) error
- func DeleteUserAccount(userID int64) error
- func GetTasks(userID int64, typeTask string, timeFormat int) ([]data.Task, error)
- func GetUserData(userID int64, user *data.UserData)
- func IfUserAdmin(userID int64) bool
- func IfUserExists(userID int64) bool
- func NewUser(user *data.UserData, userID int64) error
- func TodayTasks(userID int64, tz string, timeFormat int) ([]data.Task, error)
- func UpdateHolidayTask(userID int64, taskID int, date string) error
- type Users
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteOldCommonTask ¶
DeleteOldCommonTask ...
func TodayTasks ¶
TodayTasks ...
Types ¶
Click to show internal directories.
Click to hide internal directories.