database

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog added in v0.5.0

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

func NewCatalog added in v0.5.0

func NewCatalog(connString string) (*Catalog, error)

func (*Catalog) GetDoughs added in v0.5.0

func (c *Catalog) GetDoughs(ctx context.Context) ([]model.Dough, error)

func (*Catalog) GetHistory added in v0.5.0

func (c *Catalog) GetHistory(ctx context.Context, limit int) ([]model.Pizza, error)

func (*Catalog) GetIngredients added in v0.5.0

func (c *Catalog) GetIngredients(ctx context.Context, t string) ([]model.Ingredient, error)

func (*Catalog) GetTools added in v0.5.0

func (c *Catalog) GetTools(ctx context.Context) ([]string, error)

func (*Catalog) RecordRecommendation added in v0.5.0

func (c *Catalog) RecordRecommendation(ctx context.Context, pizza model.Pizza) error

type Copy added in v0.5.0

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

func NewCopy added in v0.5.0

func NewCopy(connString string) (*Copy, error)

func (*Copy) GetAdjectives added in v0.5.0

func (c *Copy) GetAdjectives(ctx context.Context) ([]string, error)

func (*Copy) GetClassicalNames added in v0.5.0

func (c *Copy) GetClassicalNames(ctx context.Context) ([]string, error)

func (*Copy) GetQuotes added in v0.5.0

func (c *Copy) GetQuotes(ctx context.Context) ([]string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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