Mattias Wadman
bf7fa07c41
fq: Use go 1.20 and cleanup
...
Also rename *ex packages to *x
2024-04-01 19:14:10 +02:00
Mattias Wadman
8a468f45df
interp: Add hex bits format
...
$ cat random.bin.gz | fq -rV -o bits_format=hex .uncompressed
f6f2074cf77d449d
Also made unknown bit formats an error.
2023-05-15 17:31:38 +02:00
Mattias Wadman
50d26ec759
colorjson: Handle encoding error value
...
Can happen if ValueFn is used and it returns an error, reader is canceled etc
2023-02-07 16:45:29 +01:00
Mattias Wadman
5c8e115106
colorjson: Refactor to option struct
2023-02-07 16:18:32 +01:00
Mattias Wadman
376f0ebb24
gojq: Update rebased fq fork
...
Also sync colorjson encoder with gojq encoder
2022-09-28 15:44:16 +02:00
Mattias Wadman
226a9a3e08
generics: Use more from x/exp
2022-08-31 10:50:56 +02:00
Mattias Wadman
7d86534348
sortex: Package with type safe sort helpers
2022-08-30 11:02:57 +02:00
Mattias Wadman
3c21b058e4
lint: Fix ioutil deprecation, reformat for new doc standard
2022-08-05 00:22:32 +02:00
Mattias Wadman
e9d9f8aef9
fq: Use go 1.18
...
Rename s/interface{}/any/g
Preparation for using generics in decode API and native jq funcations etc
Remove some unused linter ignores as linter has been fixed
2022-05-20 15:23:16 +02:00
Mattias Wadman
41551de331
interp,repl: Improved eval and output interrupt
...
repl now rewrites query to do implicit display inside the sub eval.
This makes it possible to interrupt eval and output in a better and faster way.
Make JSON encoder fail early on errors.
Add more interrupt tests.
2022-03-11 16:22:30 +01:00
Mattias Wadman
970465996c
Init
2021-09-12 13:08:42 +02:00