1
1
mirror of https://github.com/wader/fq.git synced 2024-11-26 10:33:53 +03:00
fq/pkg/decode
Mattias Wadman b08ef00dd1 decode,interp: Refactor format groups into a proper struct
Replaces []Format with a Group type.
A bit more type safe.
Breaking change for RegisterFormat, now takes a first argument that is a "single" format group.
Lots of naming cleanup.

This is also preparation for decode group argument which will enable doing intresting
probing, ex a format decoder could know it's decode as part of probe group  (html could
be probed possibly), or have "arg probe" group for decoder who inspect args to know
if they should probe (-d /path/to/schema etc) to enable nice CLI-ergonomics.
2023-04-29 20:02:34 +02:00
..
decode_gen.go decode: Add float 80 reader 2023-03-10 01:15:55 +01:00
decode_gen.go.tmpl decode: More type safe API and split scalar into multiple types 2022-12-14 16:23:58 +01:00
decode.go decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
errors.go decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
format.go decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
read.go decode: Add float 80 reader 2023-03-10 01:15:55 +01:00
scalar.go decode: More type safe API and split scalar into multiple types 2022-12-14 16:23:58 +01:00
types.json decode: Add float 80 reader 2023-03-10 01:15:55 +01:00
value.go tls: Add TLS 1.0, 1.1, 1.2 decode and decryption 2023-03-05 13:52:12 +01:00