importExportHelper

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package importExportHelper contains helpers for importing and exporting data in various formats.

Index

Constants

This section is empty.

Variables

View Source
var FIELDSEPARATOR = '|'
View Source
var SEP = "-"

Functions

func ExportCSV

func ExportCSV[T any](exportName string, exportList []T, idField database.Field) error

func ExportJSON added in v1.5.1

func ExportJSON[T any](exportName string, exportList []T, idField database.Field) error

func ImportCSV

func ImportCSV[T any](importName string, entryTypeToInsert T, importProcessor func(*T) (string, error)) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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