Commit Graph

15 Commits

Author SHA1 Message Date
Mike Farah ed551bf339 Added extra parseSnippet test 2022-11-01 09:15:59 +11:00
Mike Farah c887042a1b Fixing null csv bug #1404 2022-10-30 22:02:08 +11:00
Rob Ferguson d41b44dc42
Add accessor for the yq logger instance (#1013)
Allow consumers of yqlib to customize the logger instance.

Closes #432

Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>

Co-authored-by: Carolyn Van Slyck <me@carolynvanslyck.com>
Co-authored-by: Rob Ferguson <robert.j.ferguson@nasa.gov>
2021-11-30 10:51:49 +11:00
Mike Farah ba223df4ac Moved eval function to eval interface 2021-02-11 10:58:40 +11:00
Mikhail Katychev e6336bcb85 added lib_test.go 2021-02-11 10:58:40 +11:00
Mike Farah d19e9f6917 read command 2020-10-13 12:51:37 +11:00
Mike Farah d66a709213 refactored array merge flags into a strategy 2020-07-17 13:26:20 +10:00
Mike Farah feba7b04fa Added path stack to string test 2020-01-09 21:36:05 +11:00
Mike Farah 924eb6c462 Added missing functions to interface 2020-01-09 21:18:24 +11:00
Mike Farah 52eef67e37 more tests, some refactoring 2020-01-09 08:17:56 +11:00
Mike Farah 9771e7001c splatting 2019-12-09 13:44:53 +11:00
Conor Nosal 5fc13bdccd update imports for v2 module path 2019-12-06 13:58:56 +11:00
Conor Nosal 64d1e58f97 test coverage and linting 2019-12-06 13:58:56 +11:00
Conor Nosal 4b3fbb878f Split marshal package from yqlib, implement interfaces 2019-12-06 13:58:56 +11:00
Conor Nosal 26a09e6ec0 Move implementation files to yqlib and test packages to allow for imports:
- Move data_navigator, json_converter, merge, and path_parser to pkg/yqlib
- Extract yamlToString from yq to pkg/yqlib/yaml_converter
- Move utils_test to test/utils
2019-12-06 13:58:56 +11:00