Documentation
¶
Index ¶
- func DiffJsonFiles(allPath, setPath string) ([]string, error)
- func DiffSlices(all, set []string) []string
- func ParseJsonFile(path string, out interface{}) error
- func ReadCsvRecordsFromFile(filename string) ([][]string, error)
- func ReadExcelRecords(fileName, sheetName string) ([][]string, error)
- func SingleColumn2Table(records [][]string, idx int) []string
- func Slice2Records(cells []string, batchSize int) [][]string
- func WriteRecordsToFile(filename string, records [][]string, header ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffJsonFiles ¶ added in v1.0.1
json format {"data": ["a","b"]}
func DiffSlices ¶ added in v1.0.1
get not exists of all in set TODO replace in place
func ParseJsonFile ¶
func ReadCsvRecordsFromFile ¶ added in v1.0.2
func ReadExcelRecords ¶ added in v1.0.2
func SingleColumn2Table ¶ added in v1.0.2
func Slice2Records ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.