Update: docs
This commit is contained in:
parent
768cc0cd3b
commit
53e7a15aa5
4
slug.go
4
slug.go
@ -20,8 +20,8 @@ var (
|
|||||||
// Maximum slug length. It's smart so it will cat slug after full word.
|
// Maximum slug length. It's smart so it will cat slug after full word.
|
||||||
// By default slugs aren't shortened.
|
// By default slugs aren't shortened.
|
||||||
// If MaxLength is smaller than length of the first word, then returned
|
// If MaxLength is smaller than length of the first word, then returned
|
||||||
// slug will contain substring from the first word truncated after
|
// slug will contain only substring from the first word truncated
|
||||||
// MaxLength.
|
// after MaxLength.
|
||||||
MaxLength int
|
MaxLength int
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user