Documentation ¶
Index ¶
- func CompareNumber(item1 string, item2 string) (int, error)
- func CompareString(item1 string, item2 string) (int, error)
- func Descending(compare func(item1 string, item2 string) (int, error)) func(item1 string, item2 string) (int, error)
- func Encoding(name string) (encoding.Encoding, error)
- type CsvReader
- type CsvSortedRows
- type CsvTable
- type CsvWriter
- type Format
- type ItemSet
- type SortSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Descending ¶ added in v1.10.0
Types ¶
type CsvSortedRows ¶ added in v1.10.0
type CsvSortedRows interface { Count() int ColumnNames() []string Row(index int) ([]string, error) Close() error }
func LoadCsvFileSortedRows ¶ added in v1.10.0
func LoadCsvMemorySortedRows ¶ added in v1.10.0
type CsvTable ¶
type CsvTable interface { Find(key string) (map[string]string, error) KeyColumnName() string ColumnNames() []string Close() error }
func LoadCsvFileTable ¶
type ItemSet ¶ added in v1.7.0
type ItemSet struct {
// contains filtered or unexported fields
}
func LoadItemSet ¶ added in v1.7.0
func NewItemSet ¶ added in v1.7.0
func NewItemSet() *ItemSet
type SortSource ¶ added in v1.10.0
type SortSource struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.