csvs

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendRowToCsv added in v0.0.4

func AppendRowToCsv(fileName string, data []string)

func AppendToCsv

func AppendToCsv(fileName string, data [][]string)

append rows to csvs

func FindInCsv added in v0.0.3

func FindInCsv(filePath string, searchValue string, searchColumn int) bool

check if value exists in csv

func ReadCsvFile

func ReadCsvFile(filePath string) [][]string

read csv from file path

func TestAppendRowToCsv added in v0.0.4

func TestAppendRowToCsv(t *testing.T)

func TestAppendToCsv

func TestAppendToCsv(t *testing.T)

make read the csv read back into the file is the same

func TestFindInCsv added in v0.0.3

func TestFindInCsv(t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL