Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateReader ¶
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.
Click to show internal directories.
Click to hide internal directories.