1
1
mirror of https://github.com/wader/fq.git synced 2024-11-23 09:56:07 +03:00
fq/pkg/decode
Mattias Wadman 2fc0a71a47 decode: Refactor scalar usage
Move scalar into own package.
Split scalar code into decode related scalar code (that reads etc) and
scalar code that just transform the scalar value.
Use a scalar.Mapper interface instead of just a function.
Make mappers, assert and validat impement the interface.
2021-12-02 17:39:26 +01:00
..
decode_gen.go decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00
decode_gen.go.tmpl decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00
decode.go decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00
errors.go decode: Some format decode and sub buffer work 2021-11-20 18:56:59 +01:00
format.go decode: Move registry package to decode/registry and add a format group type 2021-11-17 16:59:56 +01:00
io.go decode: Move io helper into *D 2021-11-18 01:17:41 +01:00
read.go decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00
scalar.go decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00
types.json decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00
value.go decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00