repository

package
v1.0.0-beta.185 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomerFromDBEntity

func CustomerFromDBEntity(e db.Customer) *customer.Customer

func New

func New(config Config) (customer.Repository, error)

Types

type Config

type Config struct {
	Client *entdb.Client
	Logger *slog.Logger
}

func (Config) Validate

func (c Config) Validate() error

Jump to

Keyboard shortcuts

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