Documentation ¶
Index ¶
- func BuildKeyboard(buttonsInfo []*model.TelegramButtonInfo, columnSize int) tgBotAPI.InlineKeyboardMarkup
- func Command(message string) string
- func CommandArguments(message string) []string
- func ExcludeDuplicateMeetings(meetings []*model.Meeting) []*model.Meeting
- func ExecuteTemplate(tmplStr string, data interface{}) (string, error)
- func GetDaysInMonth(year int64, month int64) []int64
- func GetHours() []int64
- func GetInexperiencedSpeaker(stats []*model.Stats) int64
- func GetMinutes() []int64
- func GetMonthList() map[int64]string
- func GetNotification(initiator *model.Student, unitName string, topicName string, ...) (tgBotAPI.MessageConfig, error)
- func SliceToString(data []string) string
- func SplitSlice(data []*model.TelegramButtonInfo, chunkSize int) [][]*model.TelegramButtonInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildKeyboard ¶
func BuildKeyboard(buttonsInfo []*model.TelegramButtonInfo, columnSize int) tgBotAPI.InlineKeyboardMarkup
func CommandArguments ¶
func ExcludeDuplicateMeetings ¶
TODO refactor, del n*n complexity
func ExecuteTemplate ¶
func GetDaysInMonth ¶
func GetInexperiencedSpeaker ¶
func GetMinutes ¶
func GetMinutes() []int64
func GetMonthList ¶
func GetNotification ¶
func SliceToString ¶
func SplitSlice ¶
func SplitSlice(data []*model.TelegramButtonInfo, chunkSize int) [][]*model.TelegramButtonInfo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.