Documentation ¶
Overview ¶
Package helpers contains various common helper functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EventPersister ¶
func EventPersister(config cconfig.PersisterConfig) (model.EventDataPersister, error)
EventPersister is a helper function to return the correct event persister based on the given configuration
func EventPersisterFromSqlx ¶
func EventPersisterFromSqlx(db *sqlx.DB, config cconfig.PersisterConfig) (model.EventDataPersister, error)
EventPersisterFromSqlx is a helper function to return the correct event persister from a given sqlx.DB
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.