repo

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	Get(context.Context, string) (*deck.Deck, error)
	Save(context.Context, *deck.Deck) error
	Migrate(context.Context) error
}

Repository is an interface to get and save a deck.

func NewRepository added in v0.3.0

func NewRepository(uri string, log *logger.Logger) (Repository, error)

NewRepository returns a new repository.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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