hook

package
v0.0.0-...-d0a274c Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type After

type After[ModelT any] func(ctx context.Context, model *ModelT)

type Before

type Before[ModelT any] func(ctx context.Context, db bun.IDB, model *ModelT) error

func LocalParameterBeforeHook

func LocalParameterBeforeHook[ModelT any](fn func(ctx context.Context) map[string]string) Before[ModelT]

Jump to

Keyboard shortcuts

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