diff options
author | luzpaz <luzpaz@users.noreply.github.com> | 2022-07-12 17:32:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 23:32:37 +0200 |
commit | d29d6d1991496cc688e9418db4960ca945fd9d6b (patch) | |
tree | 878dcc8a2c8621f9328d5093c6003d664d6fe9ed /models/db | |
parent | 966e7bdc9b875abb7192cd572beec40123a815da (diff) | |
download | gitea-d29d6d1991496cc688e9418db4960ca945fd9d6b.tar.gz gitea-d29d6d1991496cc688e9418db4960ca945fd9d6b.zip |
Fix various typos (#20338)
* Fix various typos
Found via `codespell -q 3 -S ./options/locale,./options/license,./public/vendor -L actived,allways,attachements,ba,befores,commiter,pullrequest,pullrequests,readby,splitted,te,unknwon`
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'models/db')
-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 { |