codes

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAnyToString

func ConvertAnyToString(v any) string

func ConvertCSVToJsonl

func ConvertCSVToJsonl(r io.ReadCloser, w io.Writer) error

The reader should have header column

func ConvertJsonlToCsv

func ConvertJsonlToCsv(columns []string, r io.ReadCloser, w io.Writer) error

These functions can be reusable outside of this package

func ConvertJsonlToCsvFixedColumns added in v1.1.1

func ConvertJsonlToCsvFixedColumns(r io.ReadCloser, w io.Writer) error

func GetAllKeys

func GetAllKeys(r io.ReadCloser, rowsLimit int) ([]string, error)

func InitConvertCtoJ

func InitConvertCtoJ(r io.ReadCloser)

func InitConvertJtoC

func InitConvertJtoC(file string)

func MultiReaders added in v1.1.0

func MultiReaders(files []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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