MCPcopy
hub / github.com/LyricTian/gin-admin / TransFunc

FuncType TransFunc

pkg/util/db.go:14–14  ·  view source on GitHub ↗
func(context.Context) error

Source from the content-addressed store, hash-verified

12}
13
14type TransFunc func(context.Context) error
15
16func (a *Trans) Exec(ctx context.Context, fn TransFunc) error {
17 if _, ok := FromTrans(ctx); ok {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected