1
1
mirror of https://github.com/wader/fq.git synced 2024-12-24 13:52:02 +03:00
fq/pkg/decode
Mattias Wadman 840292ba6e decode: Simplify compound range sort behaviour
Doing it thru a propery in the decode fn feels a bit hidden and will
also not get set on failed decoding.

Now array is not range sorted, logic is you care about index number and ordering.
Struct is range sorted as you will prefer to fields by name.
2022-08-01 17:17:54 +02:00
..
decode_gen.go bitio,decode: Refactor bitio usage and make buffer slicing more correct 2022-02-04 21:41:53 +01:00
decode_gen.go.tmpl interp,format: Refactor registry usage and use function helpers 2022-07-16 19:24:13 +02:00
decode.go decode: Simplify compound range sort behaviour 2022-08-01 17:17:54 +02:00
errors.go fq: Use go 1.18 2022-05-20 15:23:16 +02:00
format.go interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
read.go dev: Cleanup some code to fix a bunch of new linter warnings 2022-07-19 18:56:09 +02:00
scalar.go bitio,decode: Refactor bitio usage and make buffer slicing more correct 2022-02-04 21:41:53 +01:00
types.json interp,format: Refactor registry usage and use function helpers 2022-07-16 19:24:13 +02:00
value.go format,intepr: Refactor json, yaml, etc into formats also move out related functions 2022-07-23 21:48:45 +02:00