jcsv

package
v0.0.0-...-b183724 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(csvBuf string) ([][]string, error)

Parse the csvBuf, if cannot determine the separator, will assume it's a single column and default to use the ','

Types

type Chartype

type Chartype rune

func DetectDelimiter

func DetectDelimiter(buf []byte) (sep_flag Chartype, err error)

func (*Chartype) Set

func (s *Chartype) Set(value string) error

func (*Chartype) String

func (s *Chartype) String() string

Single character type for csv options

Jump to

Keyboard shortcuts

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