Discover Packages
github.com/barrettj12/chords
src
util
package
Version:
v0.0.0-...-718afa2
Opens a new window with list of versions in this module.
Published: May 19, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
LessTitle compares two titles and returns true if title1 is alphabetically
before title2, ignoring preceding articles (e.g. "a", "an", "the").
It can be used to sort a slice as follows:
sort.Slice(titles, func(i, j int) bool {
return util.LessTitle(titles[i], titles[j])
})
MakeID converts the provided title into a suggested ID.
Effectively, this converts it to PascalCase.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.