event

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(conn repository.Querier, event *model.DbEvent) (*model.DbEvent, error)

func CreateExtra

func CreateExtra(conn repository.Querier, event *model.DbEventExtra) error

func DeleteById

func DeleteById(conn repository.Querier, id int) (int, error)

deletes an entry from the database, returns number of rows deleted.

func DeleteExtraById added in v0.8.0

func DeleteExtraById(conn repository.Querier, id int) (int, error)

deletes the extra event data, returns number of rows deleted.

func LoadAll

func LoadAll(conn repository.Querier) (ret []*model.DbEvent, err error)

func LoadById

func LoadById(conn repository.Querier, id int) (*model.DbEvent, error)

func LoadByKey

func LoadByKey(conn repository.Querier, eventKey string) (*model.DbEvent, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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