repository

package
v0.0.0-...-7f0c0eb Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkRepository

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

func NewLinkRepository

func NewLinkRepository(ctx context.Context, tableName string) *LinkRepository

func (*LinkRepository) All

func (d *LinkRepository) All(ctx context.Context) ([]domain.Link, error)

func (*LinkRepository) Create

func (d *LinkRepository) Create(ctx context.Context, link domain.Link) error

func (*LinkRepository) Delete

func (d *LinkRepository) Delete(ctx context.Context, id string) error

func (*LinkRepository) Get

func (d *LinkRepository) Get(ctx context.Context, id string) (domain.Link, error)

Jump to

Keyboard shortcuts

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