diff options
Diffstat (limited to 'models/db/context.go')
-rw-r--r-- | models/db/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/db/context.go b/models/db/context.go index 783033c0e0..4fd35200cf 100644 --- a/models/db/context.go +++ b/models/db/context.go @@ -100,7 +100,7 @@ func TxContext() (*Context, Committer, error) { } // WithTx represents executing database operations on a transaction -// you can optionally change the context to a parrent one +// you can optionally change the context to a parent one func WithTx(f func(ctx context.Context) error, stdCtx ...context.Context) error { parentCtx := DefaultContext if len(stdCtx) != 0 && stdCtx[0] != nil { |