mysql

package
v0.0.0-...-af973d3 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 10 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 New

func New(ctx context.Context, store db.DB) (*Store, error)

New store

func (Store) Add

func (s Store) Add(ctx context.Context, in *domain.Link) (*domain.Link, error)

func (Store) Delete

func (s Store) Delete(ctx context.Context, id string) error

func (Store) Get

func (s Store) Get(ctx context.Context, id uuid2.UUID) (*domain.Link, error)

func (Store) List

func (s Store) List(ctx context.Context, filter *query.Filter) (*domain.Links, error)

func (Store) Update

func (s Store) Update(ctx context.Context, in *domain.Link) (*domain.Link, error)

Directories

Path Synopsis
ent

Jump to

Keyboard shortcuts

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