Versions in this module Expand all Collapse all v2 v2.0.2 Jun 9, 2023 Changes in this version + const ProblemModule + func InitLog() + func LogModule(module string, fields ...map[string]interface{}) *logrus.Entry + func LogWithCtx(ctx context.Context, module string, fields ...map[string]interface{}) *logrus.Entry + func TopKFrequent(words []string, k int) []string + type Item struct + type ItemHeap []Item + func (h *ItemHeap) Pop() interface{} + func (h *ItemHeap) Push(val interface{}) + func (h ItemHeap) Len() int + func (h ItemHeap) Less(i, j int) bool + func (h ItemHeap) Swap(i, j int) + type LeaveType = string + const AnnualLeave + const BankHoliday + const Other + const Sick + type Weekday int + const Fri + const Mon + const Sat + const Sun + const Thur + const Tues + const Wed + func (w Weekday) String() string Other modules containing this package github.com/aronlt/toolkit