hash

package
v0.0.0-...-eab4cf6 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidField = fmt.Errorf("invalid field for ticket store")

Functions

This section is empty.

Types

type TicketStore

type TicketStore map[uuid.UUID]models.Ticket

func NewTicketStore

func NewTicketStore(tickets []models.Ticket) TicketStore

func (TicketStore) ListFields

func (TicketStore) ListFields() []string

func (TicketStore) Search

func (s TicketStore) Search(field, query string) ([]models.Ticket, error)

Jump to

Keyboard shortcuts

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