MCPcopy
hub / github.com/go-gorm/gorm / callback

Struct callback

callbacks.go:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40type callback struct {
41 name string
42 before string
43 after string
44 remove bool
45 replace bool
46 match func(*DB) bool
47 handler func(*DB)
48 processor *processor
49}
50
51func (cs *callbacks) Create() *processor {
52 return cs.processors["create"]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected