Versions in this module Expand all Collapse all v1 v1.3.0 Sep 1, 2023 Changes in this version + const IssuesTable + const SettingsTable + const SprintIssuesTable v1.2.0 Jul 13, 2022 Changes in this version + type Issue struct + CreatedAt string + Date string + Done bool + ID int64 + Text string + TlgrmChatID int64 + func (Issue) TableName() string + type IssueCreateData struct + CreatedAt string + Date string + Done bool + Text string + TlgrmChatID int64 + func (IssueCreateData) TableName() string + type IssueUpdateData struct + CreatedAt *string + Date *string + Done *bool + ID int64 + Text *string + TlgrmChatID int64 + func (IssueUpdateData) TableName() string + type MySQL struct + func Connect(p Param) (MySQL, error) + func (m *MySQL) Close() error + func (m *MySQL) IssueCreate(issue IssueCreateData) (Issue, error) + func (m *MySQL) IssueDel(id, tID int64) error + func (m *MySQL) IssueGetByID(id, tID int64) (Issue, error) + func (m *MySQL) IssueUpdate(issue IssueUpdateData) (Issue, error) + func (m *MySQL) IssuesGetByDate(tID int64, date string) ([]Issue, error) + func (m *MySQL) SettingsGet(tID int64) (Settings, error) + func (m *MySQL) SettingsSet(s SettingsSetData) (Settings, error) + func (m *MySQL) SprintIssueCreate(si SprintIssueCreateData) (SprintIssue, error) + func (m *MySQL) SprintIssueDel(id, tID int64) error + func (m *MySQL) SprintIssueGetByID(id, tID int64) (SprintIssue, error) + func (m *MySQL) SprintIssueUpdate(si SprintIssueUpdateData) (SprintIssue, error) + func (m *MySQL) SprintIssuesGetByDate(tID int64, date string) ([]SprintIssue, error) + type Param struct + Database string + Host string + Password string + User string + type Settings struct + CurrentDate string + TlgrmChatID int64 + func (Settings) TableName() string + type SettingsSetData struct + CurrentDate string + TlgrmChatID int64 + func (SettingsSetData) TableName() string + type SprintIssue struct + Date string + Done bool + Goal bool + ID int64 + Text string + TlgrmChatID int64 + func (SprintIssue) TableName() string + type SprintIssueCreateData struct + Date string + Done bool + Goal bool + Text string + TlgrmChatID int64 + func (SprintIssueCreateData) TableName() string + type SprintIssueUpdateData struct + Date *string + Done *bool + Goal *bool + ID int64 + Text *string + TlgrmChatID int64 + func (SprintIssueUpdateData) TableName() string