unit_repository

package
v0.0.0-...-93f7374 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRepository

func NewRepository(db db.Client) *repository

NewRepository ...

Types

type Query

type Query struct {
	model.QueryFilter

	UnitIDs []int64
}

Query ...

type Repository

type Repository interface {
	GetList(ctx context.Context, filter *Query) ([]*model.Unit, error)
}

Repository ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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