export

package
v0.0.0-...-a139185 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const ExportVersion = 3

ExportVersion is the current version

Variables

This section is empty.

Functions

This section is empty.

Types

type Export

type Export struct {
	Version      int                  `json:"export_version"`
	ExportDate   time.Time            `json:"export_date"`
	Categories   []*dbpkg.Category    `json:"categories"`
	Terms        []*dbpkg.Term        `json:"terms"`
	Tags         []string             `json:"tags"`
	Explanations []*dbpkg.Explanation `json:"explanations,omitempty"`
	Pronouns     []*dbpkg.PronounSet  `json:"pronouns,omitempty"`
}

Export is an export of the database

func New

func New(db *dbpkg.DB) (e Export, err error)

New exports the database db

Jump to

Keyboard shortcuts

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