repository

package
v0.7.11 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2024 License: Apache-2.0 Imports: 8 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 struct {
	// contains filtered or unexported fields
}

Repository - репозиторий для хранения элементов настроек.

func New

New - создаёт объект Repository.

func (*Repository) Fetch

func (re *Repository) Fetch(ctx context.Context, lastUpdated time.Time) ([]entity.Setting, error)

Fetch - comment method.

func (*Repository) FetchOne

func (re *Repository) FetchOne(ctx context.Context, id mrtype.KeyInt32) (entity.Setting, error)

FetchOne - comment method.

func (*Repository) Update

func (re *Repository) Update(ctx context.Context, row entity.Setting) error

Update - comment method.

Jump to

Keyboard shortcuts

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