Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gumieri committed Apr 30, 2018
1 parent a723d82 commit 5829bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/notes/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5829bb0

Please sign in to comment.