1
1
mirror of https://github.com/wader/fq.git synced 2024-12-24 22:05:31 +03:00
fq/pkg/scalar
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
..
scalar_gen.go decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00
scalar_gen.go.tmpl 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