repository

package
v0.0.0-...-431722a Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPostgresRepository

func NewPostgresRepository(c *pgx.Conn) *postgresRepository

Types

type ModTypePostgresRepository

type ModTypePostgresRepository interface {
	GetModTypeByID(ctx context.Context, modTypeID string) (*models.ModType, error)
	GetAllModTypes(ctx context.Context) ([]*models.ModType, error)
}

Jump to

Keyboard shortcuts

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