1
1
mirror of https://github.com/wader/fq.git synced 2024-11-25 23:13:19 +03:00
fq/format
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
..
all golangci-lint: Disable revive unused-parameter and update for new default config 2023-03-18 22:56:58 +01:00
ape decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
apple decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
ar decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
asn1 decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
av1 decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
avro decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
bencode decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
bitcoin decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
bits decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
bson decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
bzip2 decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
cbor decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
crypto interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
csv decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
dns decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
elf decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
fairplay decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
flac decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
flv decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
gif decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
gzip decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
icc decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
id3 decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
inet decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
jpeg decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
json decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
markdown decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
math interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
matroska decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
mp3 decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
mp4 decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
mpeg decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
msgpack decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
ogg decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
opus decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
pcap decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
png decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
prores decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
protobuf decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
riff decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
rtmp decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
tar decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
text interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
tiff decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
tls decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
toml decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
tzif decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
vorbis decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
vpx decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
wasm decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
webp decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
xml decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
yaml decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
zip 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
fqtest_test.go doc,dev: Add more usage and dev tips 2022-12-03 19:00:47 +01:00
fuzz_test.go decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
inet.go golangci-lint: Disable revive unused-parameter and update for new default config 2023-03-18 22:56:58 +01:00
media.go golangci-lint: Disable revive unused-parameter and update for new default config 2023-03-18 22:56:58 +01:00
shared.go doc,fq: Improve cli help and some cleanup 2023-02-15 11:04:39 +01:00