Documentation
¶
Index ¶
- func LevenshteinDistance(a, b []rune) int
- func ParseDateTime(s string) (_time.Time, error)
- func ParseDuration(s string) (_time.Duration, error)
- func Pluralize(count int64, singular string) string
- func Relative(seconds int64) string
- func Score(q, b [][]rune) int
- func Tokenize(s string, tokens [][]rune) [][]rune
- type Body
- type Head
- type InternalError
- type OPML
- type Outline
- type Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LevenshteinDistance ¶ added in v0.2.1
func ParseDuration ¶
Only supports minutes, hours, and days
Types ¶
type InternalError ¶
type InternalError struct {
Message string
}
func NewInternalError ¶
func NewInternalError(message string) *InternalError
func (*InternalError) Error ¶
func (e *InternalError) Error() string
Click to show internal directories.
Click to hide internal directories.