Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmbeddedLines ¶
EmbeddedLines returns a sorted slice of lines that are common in every input string when the string is split by \n. That is, the input string has embedded newlines.
Types ¶
type StringPop ¶
StringPop is a struct containing a string and it's corresponding count (population).
type StringPops ¶
type StringPops []StringPop
func (StringPops) Len ¶
func (l StringPops) Len() int
func (StringPops) Less ¶
func (l StringPops) Less(i, j int) bool
func (StringPops) Swap ¶
func (l StringPops) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.