store

package
v0.0.0-...-52ff252 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	// contains filtered or unexported fields
}

func Open

func Open(path string) (*Store, error)

func (*Store) Close

func (s *Store) Close()

func (*Store) FindBy

func (s *Store) FindBy(key string, val string) ([]vcard.Card, error)

func (*Store) FindByFn

func (s *Store) FindByFn(fn func(vc *vcard.Card) bool) ([]vcard.Card, error)

func (*Store) Upsert

func (s *Store) Upsert(vcs []*vcard.Card) error

Jump to

Keyboard shortcuts

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