diff --git a/lib/notes/main.go b/lib/notes/main.go index b8f246c..cf403b4 100644 --- a/lib/notes/main.go +++ b/lib/notes/main.go @@ -20,7 +20,7 @@ func TitleFromNoteName(noteName string) string { return noteRegex.ReplaceAllString(noteName, "") } -// TitleFromNoteName extract number from a noteName +// NumberFromNoteName extract number from a noteName func NumberFromNoteName(noteName string) int { number, _ := strconv.Atoi(numberRegex.FindAllString(noteName, 1)[0]) return number