providers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProviderRepository

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

func NewProviderRepository

func NewProviderRepository(db *database.DB) *ProviderRepository

func (*ProviderRepository) QueryByID

func (r *ProviderRepository) QueryByID(ctx context.Context, ID uuid.UUID) (*models.Provider, error)

func (*ProviderRepository) Save

type ProvidersInterface

type ProvidersInterface interface {
	Save(ctx context.Context, provider models.Provider) (*models.Provider, error)
	QueryByID(ctx context.Context, ID uuid.UUID) (*models.Provider, error)
}

Jump to

Keyboard shortcuts

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