1
1
mirror of https://github.com/wader/fq.git synced 2024-11-22 15:45:45 +03:00
fq/internal
Mattias Wadman 3b717c3ba4 interp: Add to/from<encoding> for some common serialzations, encodings and hashes
Add toxml/fromxml for XML encoding, mighe be lossy on ordering
fromxml has {seq:bool} to add #seq attributes to improve ordering
toxml has {indent:number} to choose space indent depth

Add tojson, same as in jq but also has {indent:number} options

Add toyaml/fromyaml for YAML

Add totoml/fromtoml for TOML

Add tojq/fromjq for jq-flavored JSON (optional quotes for keys, comments and trailing commas support)

Add tocsv/fromcsv for CSV
formcvs takes {comma:string, comment:string} for custom separtor and comment character

Rename/split hex into tohex/fromhex
Rename/split base64 into tobase64/frombase64
tobase64/frombase64 takes {encoding:string} option for base64 flavour (std, url, rawstd, rawurl)

Add to/from<format> urlpath, urlquery, url, xmlentities, base64, hex

Add to<hash> md4, md5, sha1, sha256, sha512, sha3_224, sha3_256, sha3_384, sha3_512

Add to/from<encoding> iso8859-1, utf8, utf16, utf16le, utf16be
2022-05-28 16:31:20 +02:00
..
aheadreadseeker mod: Use proper path and dont use replace 2021-09-12 13:08:50 +02:00
ansi fq: Use go 1.18 2022-05-20 15:23:16 +02:00
asciiwriter mod: Use proper path and dont use replace 2021-09-12 13:08:50 +02:00
bitioextra mp4,bitio: Fix broken pssh decoding and add proper reader cloning to bitio 2022-05-28 13:42:38 +02:00
colorjson fq: Use go 1.18 2022-05-20 15:23:16 +02:00
columnwriter interp: dump: Fix column truncate issue with unicode bars 2022-05-11 00:37:52 +02:00
ctxreadseeker mod: Use proper path and dont use replace 2021-09-12 13:08:50 +02:00
ctxstack Init 2021-09-12 13:08:42 +02:00
difftest fq: Use go 1.18 2022-05-20 15:23:16 +02:00
gojqextra interp: Add to/from<encoding> for some common serialzations, encodings and hashes 2022-05-28 16:31:20 +02:00
hexdump bitio,decode: Refactor bitio usage and make buffer slicing more correct 2022-02-04 21:41:53 +01:00
hexpairwriter bitio,decode: Refactor bitio usage and make buffer slicing more correct 2022-02-04 21:41:53 +01:00
ioextra interp: Move *CtxWriter to ioextra, some comments cleanup 2021-11-05 17:28:29 +01:00
mathextra num,mathextra: Rename num package to mathextra 2022-01-15 19:00:42 +01:00
pos Init 2021-09-12 13:08:42 +02:00
profile cli: Make profile build optional and move it to cli 2021-09-12 13:08:53 +02:00
progressreadseeker doc: Document io packages a bit 2021-11-21 21:55:53 +01:00
proxysort interp: Add to/from<encoding> for some common serialzations, encodings and hashes 2022-05-28 16:31:20 +02:00
recoverfn fq: Use go 1.18 2022-05-20 15:23:16 +02:00
script fqtest: Cleanup path usage 2022-05-21 20:03:25 +02:00
shquote lint: Fix typeassert and case exhaustive warnings 2022-01-25 17:23:41 +01:00