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

Method After

callbacks.go:222–225  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

220}
221
222func (c *callback) After(name string) *callback {
223 c.after = name
224 return c
225}
226
227func (c *callback) Register(name string, fn func(*DB)) error {
228 c.name = name

Callers 8

GetMethod · 0.45
PeekMethod · 0.45
KeyValuesMethod · 0.45
KeysMethod · 0.45
ValuesMethod · 0.45
TestPluginCallbacksFunction · 0.45
TestCallbacksRemoveFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestPluginCallbacksFunction · 0.36
TestCallbacksRemoveFunction · 0.36