data

package
v0.0.0-...-8e614fc Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitTable

func InitTable(e *echo.Echo, dir string) error

Types

type Entry

type Entry struct {
	ID       int    `json:"id"`
	Question string `json:"question"`
	Answer   string `json:"answer"`
	Dummy1   string `json:"dummy1"`
	Dummy2   string `json:"dummy2"`
	Dummy3   string `json:"dummy3"`
}

func GetAllEntries

func GetAllEntries() []Entry

func GetEntries

func GetEntries(tagID int) []Entry

type Tag

type Tag struct {
	ID       int
	Name     string
	EntryIDs []int
}

Jump to

Keyboard shortcuts

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