Documentation ¶
Index ¶
- func File2Array(fileName string) []string
- func File2Bools(fileName string) map[string]bool
- func File2Map(fileName, sep string, override bool) (map[string]string, error)
- func File2MapArray(fileName, sep string, skip *regexp.Regexp) ([]map[string]string, []string)
- func File2MapBool(fileName, key, sep string, skip *regexp.Regexp) (map[string]bool, []string)
- func File2MapMap(fileName, key, sep string, skip *regexp.Regexp) (map[string]map[string]string, []string)
- func File2MapOrder(fileName, sep string, override bool) (map[string]string, []string, error)
- func File2Slice(fileName, sep string) [][]string
- func Files2Map(fileNames, sep string, override bool) (db map[string]string, err error)
- func Files2MapArray(fileNames []string, sep string, skip *regexp.Regexp) (Data []map[string]string, Title []string)
- func Gz2MapArray(fileName, sep string, skip *regexp.Regexp) ([]map[string]string, []string)
- func Gz2Slice(fileName, sep string) [][]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func File2Array ¶
read file to []string, each line as item
func File2Bools ¶ added in v0.1.0
read file to map[string]bool, each line as item
func File2Map ¶ added in v0.0.8
read file to map[string]string, each line split by sep, first item as key and second item as value
func File2MapArray ¶ added in v0.0.15
read file to []map[string]string
func File2MapBool ¶ added in v0.1.0
read file to map[string]bool
func File2MapMap ¶ added in v0.0.34
func File2MapMap(fileName, key, sep string, skip *regexp.Regexp) (map[string]map[string]string, []string)
read file to map[string]map[string]string
func File2MapOrder ¶ added in v0.0.16
read file to map[string]string and keys array, each line split by sep, first item as key and second item as value
func File2Slice ¶ added in v0.0.21
read file to [][]string
func Files2MapArray ¶ added in v0.0.15
func Files2MapArray(fileNames []string, sep string, skip *regexp.Regexp) (Data []map[string]string, Title []string)
read files to []map[string]string
func Gz2MapArray ¶ added in v0.0.42
read gz file to []map[string]string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.