data

package
v0.0.0-...-47d7e52 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection struct {
	ID    string
	Topic string
	URL   string
	Note  string
}

type Turgo

type Turgo struct {
	Tb tabby.Tabby
	// contains filtered or unexported fields
}

func InitTurgo

func InitTurgo() *Turgo

func (*Turgo) CreateCollection

func (t *Turgo) CreateCollection(c Collection) error

func (*Turgo) FilterByTopic

func (t *Turgo) FilterByTopic(topic string) ([]string, []string, error)

func (*Turgo) InitTables

func (t *Turgo) InitTables() error

func (*Turgo) List

func (t *Turgo) List() ([]string, []string, []string, error)

func (*Turgo) ListTopics

func (t *Turgo) ListTopics() ([]string, error)

func (*Turgo) PurgeCollection

func (t *Turgo) PurgeCollection(id string) error

Jump to

Keyboard shortcuts

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