Commit Graph

10 Commits

Author SHA1 Message Date
Michael Muré
4d0a0a2bcc selector: use a string builder to avoid excessive allocation 2024-09-01 17:22:21 +02:00
Michael Muré
431a9f008a policy: split out the parsing for readability 2024-09-01 17:20:09 +02:00
Michael Muré
bd7ff3dc3f selector: support negative index on lists 2024-09-01 17:08:49 +02:00
Michael Muré
53af455709 selector: don't panic on empty input for Parse() 2024-09-01 17:08:18 +02:00
Michael Muré
735ad45977 selector: add fuzzing 2024-09-01 17:07:45 +02:00
Michael Muré
49d3e5ad10 selector: reformat the "supported forms" test in a way that can be run individually
For example with "-test.run ^\QTestSupportedForms\E$/^\QPass:_Identity\E$"
2024-09-01 17:04:23 +02:00
Michael Muré
b0c96b25dc selector: simplify the public interface of the package
Those extra interfaces are not necessary.
2024-08-31 15:48:24 +02:00
Michael Muré
5b26d85c37 policy: remove 5 dependencies 2024-08-30 23:12:32 +02:00
Michael Muré
4b24eef195 make the go module a v1 2024-08-30 23:11:51 +02:00
Michael Muré
0e5ae7ae0d policy: move into /capability 2024-08-30 22:49:54 +02:00