favourite

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Favourite

type Favourite struct {
	Name     string
	Children map[string]Favourite
}

func New

func New(name string) Favourite

func NewFromCache

func NewFromCache(cachename string) Favourite

func (*Favourite) Add

func (f *Favourite) Add(fav Favourite)

func (*Favourite) GetChild

func (f *Favourite) GetChild(name string) Favourite

func (*Favourite) GetChildren

func (f *Favourite) GetChildren() map[string]Favourite

func (*Favourite) GetName

func (f *Favourite) GetName() string

func (*Favourite) GetRandom

func (f *Favourite) GetRandom() Favourite

func (*Favourite) SaveCache

func (f *Favourite) SaveCache()

Jump to

Keyboard shortcuts

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