store

package
v0.19.15 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init[pt any](st stream.Stream, ctx context.Context) (s storeService[pt], err error)

Types

type Score

type Score struct {
	ScorerId   uuid.UUID  `json:"scorer_id"`
	Scorer     string     `json:"scorer"`
	Year       int        `json:"year"`
	Beer       store.Beer `json:"beer"`
	Rating     float32    `json:"rating"`
	RatingBase int        `json:"rating_base"`
	Weight     float32    `json:"weight"`
	Newbie     bool       `json:"newbie"`
	Comment    string     `json:"comment"`
}

func (Score) ToId

func (s Score) ToId() string

Jump to

Keyboard shortcuts

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