csvutil

package
v0.0.0-...-2dc176c Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetColumn

func GetColumn(row []string, idx int) string

func GetString

func GetString(row []string, idx int) string

func GetStrings

func GetStrings(row []string, idx int) []string

func GetTags

func GetTags(row []string, idx int) []string

Types

type CsvColumn

type CsvColumn struct {
	Txt string
	Col *int
}

type CsvHeader

type CsvHeader struct {
	Locales []string
	Columns []*CsvColumn
	Others  map[string]int
}

func (*CsvHeader) AddColumn

func (ch *CsvHeader) AddColumn(txt string, col *int)

func (*CsvHeader) ParseHead

func (ch *CsvHeader) ParseHead(row []string)

Jump to

Keyboard shortcuts

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