Help us shape the future of Go! Take the 2026 Go Developer Survey

csv

package
v3.1.55 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: MIT, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateReader

func CreateReader(input io.Reader, delimiter rune) *stdcsv.Reader

CreateReader creates a csv.Reader with the given delimiter.

func CreateReaderAndDetermineDelimiter

func CreateReaderAndDetermineDelimiter(ctx *markup.RenderContext, rd io.Reader) (*stdcsv.Reader, error)

CreateReaderAndDetermineDelimiter tries to guess the field delimiter from the content and creates a csv.Reader. Reads at most guessSampleSize bytes.

func FormatError

func FormatError(err error, locale translation.Locale) (string, error)

FormatError converts csv errors into readable messages.

Types

This section is empty.

Source Files

  • csv.go

Jump to

Keyboard shortcuts

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