Documentation ¶
Index ¶
- Constants
- func DayPath(targetTime time.Time, dirPath string) string
- func DiaryPath(targetTime time.Time, dirPath string, suffix string) (string, error)
- func FilterMarkdown(files []string) []string
- func GetAppendValue(args []string) (string, error)
- func GetDateRange(start time.Time, end time.Time) []time.Time
- func GetDiaryList(diaryDirPath string, isAll bool, isFullPath bool, dateRangeString string) ([]string, error)
- func GetTargetTime(date string, before, after int) (time.Time, error)
- func GetWeakDays(date time.Time) []time.Time
- func GrepFiles(command, pattern string, files ...string) error
- func IsFileExist(fPath string) bool
- func MakeDir(dPath string) error
- func MakeFile(fPath string) error
- func MonthPath(targetTime time.Time, dirPath string) string
- func OpenEditor(program string, args ...string) error
- func ParseDate(s string) (int, int, int, error)
- func UpDonwDate(now time.Time, before, after int) (time.Time, error)
- func Walk(dir string) []string
- func YearPath(targetTime time.Time, dirPath string) string
- type Config
Constants ¶
View Source
const APP_NAME = "liary"
Variables ¶
This section is empty.
Functions ¶
func FilterMarkdown ¶
func GetAppendValue ¶
func GetDiaryList ¶
func IsFileExist ¶
func OpenEditor ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.