Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Count bool `flag:"" desc:"Prefix lines by number of occurrences"`
Duplicates bool `flag:"" desc:"Only show duplicate lines"`
Unique bool `flag:"" desc:"Only show unique lines"`
IgnoreCase bool `flag:"" desc:"Case insensitive comparison"`
XML bool
JSON bool
Plain bool
Pretty bool
}
type UniqResult ¶
type UniqResult struct {
XMLName xml.Name `xml:"uniq"`
Timestamp int64 `xml:"timestamp,attr"`
LinesIn int `xml:"lines_in,attr"`
LinesOut int `xml:"lines_out,attr"`
DuplicatesRemoved int `xml:"duplicates_removed,attr"`
Content string `xml:"content,omitempty"`
Duplicates []UniqDup `xml:"duplicate,omitempty"`
Errors []UniqError `xml:"error,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.