mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-12 22:10:25 +00:00
chore: fix typos throughout the codebase (#10753)
This PR fixes a number of typos throughout the entire repository. Running https://github.com/crate-ci/typos and then changing all occurrences that I naively deemed "safe enough". Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10753 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Christoph Mewes <christoph@kubermatic.com> Co-committed-by: Christoph Mewes <christoph@kubermatic.com>
This commit is contained in:
parent
d934e0c9fb
commit
023a894677
87 changed files with 174 additions and 174 deletions
|
|
@ -151,7 +151,7 @@ func ColumnAndID(column string, id int64) []byte {
|
|||
// it's not bound to a particular table. The table should be part of the context
|
||||
// that the key was derived for, in which case it binds through that. Use this
|
||||
// over `ColumnAndID` if you're encrypting data that's stored inside JSON.
|
||||
// jsonSelector must be a unambigous selector to the JSON field that stores the
|
||||
// jsonSelector must be a unambiguous selector to the JSON field that stores the
|
||||
// encrypted data.
|
||||
func ColumnAndJSONSelectorAndID(column, jsonSelector string, id int64) []byte {
|
||||
return binary.BigEndian.AppendUint64(append(append([]byte(column), ':'), append([]byte(jsonSelector), ':')...), uint64(id))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue