hooks

package
v0.1.57 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultHooks

type DefaultHooks struct {
	// contains filtered or unexported fields
}

func NewDefaultHook added in v0.1.41

func NewDefaultHook() *DefaultHooks

func (*DefaultHooks) PostSave added in v0.1.41

func (h *DefaultHooks) PostSave(ctx context.Context, model interface{}, filter interface{}, col, ops, docId string)

func (*DefaultHooks) PreSave added in v0.1.41

func (h *DefaultHooks) PreSave(ctx context.Context, model interface{}, filter interface{}, col, ops, docId string)

Jump to

Keyboard shortcuts

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