Skip to content

Commit

Permalink
update: lint fixes for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matrixik committed Jul 6, 2016
1 parent 37b1461 commit 501a9cc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions slug.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ import (
)

var (
// Custom substitution map
// CustomSub stores custom substitution map
CustomSub map[string]string
// Custom rune substitution map
// CustomRuneSub stores custom rune substitution map
CustomRuneSub map[rune]string

// Maximum slug length. It's smart so it will cat slug after full word.
// MaxLength stores maximum slug length.
// It's smart so it will cat slug after full word.
// By default slugs aren't shortened.
// If MaxLength is smaller than length of the first word, then returned
// slug will contain only substring from the first word truncated
Expand Down

0 comments on commit 501a9cc

Please sign in to comment.