Versions in this module Expand all Collapse all v0 v0.1.3 Dec 16, 2020 Changes in this version + func UniqueIndex(v ...string) string + type Logger struct + var Log *Logger + func NewLogger(path string) (*Logger, error) + func (l *Logger) Fatal(key string, v ...interface{}) + func (l *Logger) Info(key string, v ...interface{}) + func (l *Logger) Panic(key string, v ...interface{}) + type Store struct + func NewStore(filename string) (*Store, error) + func (s *Store) All() []models.Task + func (s *Store) CountUnload() (count int64) + func (s *Store) GetUnFinished() (tasks []models.Task, err error) + func (s *Store) Loaded2Unload() error + func (s *Store) Read() (task models.Task, err error) + func (s *Store) SetLineFinished(taskID int, title, content, remark, failedReason string) error + func (s *Store) Write(task *models.Task) error