diff options
author | 2024-08-14 12:08:24 +0000 | |
---|---|---|
committer | 2024-08-14 12:08:24 +0000 | |
commit | f8d5b9f49c150574442c2d30add41981ac67e97b (patch) | |
tree | e334c632223430673b422a2d8562b494c101d174 /vendor/codeberg.org/gruf/go-structr/runtime.go | |
parent | [security] harden account update logic (#3198) (diff) | |
download | gotosocial-f8d5b9f49c150574442c2d30add41981ac67e97b.tar.xz |
update go-structr to v0.8.8 (#3199)
Diffstat (limited to 'vendor/codeberg.org/gruf/go-structr/runtime.go')
-rw-r--r-- | vendor/codeberg.org/gruf/go-structr/runtime.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/codeberg.org/gruf/go-structr/runtime.go b/vendor/codeberg.org/gruf/go-structr/runtime.go index 4d76a0d74..44fdd74a7 100644 --- a/vendor/codeberg.org/gruf/go-structr/runtime.go +++ b/vendor/codeberg.org/gruf/go-structr/runtime.go @@ -16,10 +16,6 @@ import ( type struct_field struct { rtype reflect.Type - // offsets defines whereabouts in - // memory this field is located. - offsets []next_offset - // struct field type mangling // (i.e. fast serializing) fn. mangle mangler.Mangler @@ -33,6 +29,10 @@ type struct_field struct { // if set this indicates zero // values of field not allowed zerostr string + + // offsets defines whereabouts in + // memory this field is located. + offsets []next_offset } // next_offset defines a next offset location |