exports

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportRecordsToCSV

func ExportRecordsToCSV(records []*dbdata.Record, filename string) error

ExportRecordsToCSV exports a slice of records to a CSV file.

func ExportRecordsToXML

func ExportRecordsToXML(records []*dbdata.Record, filename string) error

ExportRecordsToXML exports a slice of records to an XML file.

Types

type FieldXML

type FieldXML struct {
	Key   string `xml:"Key,attr"`
	Value string `xml:"Value"`
}

type RecordXML

type RecordXML struct {
	XMLName xml.Name   `xml:"Record"`
	Fields  []FieldXML `xml:"Field"`
}

Jump to

Keyboard shortcuts

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