Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringCount ¶
type StringCounter ¶
type StringCounter struct {
// contains filtered or unexported fields
}
func NewStringCounter ¶
func NewStringCounter() StringCounter
func (*StringCounter) Add ¶
func (c *StringCounter) Add(str string)
func (*StringCounter) AsSortedSlice ¶
func (c *StringCounter) AsSortedSlice() []StringCount
AsSortedSlice returns the counter as a slice sorted by name asc, count asc
type StringSliceCount ¶
type StringSliceCounter ¶
type StringSliceCounter struct {
// contains filtered or unexported fields
}
func NewStringSliceCounter ¶
func NewStringSliceCounter() StringSliceCounter
func (*StringSliceCounter) Add ¶
func (c *StringSliceCounter) Add(slice []string)
func (*StringSliceCounter) AsSortedSlice ¶
func (c *StringSliceCounter) AsSortedSlice() []StringSliceCount
Click to show internal directories.
Click to hide internal directories.