mirror of
https://github.com/go-gost/x.git
synced 2026-10-19 16:16:32 +00:00
Replace the vulcand/predicate dependency in the routing rules parser with a direct go/parser/go/ast implementation covering the same grammar (matcher calls, parentheses, &&/||/!). This removes the predicate -> gravitational/ trace -> logrus logging chain from x, since trace was only used to build errors. Public API (NewParser, Parser, TreeBuilder, Parse, CheckRule, ParseMatchers) is unchanged and the existing test suite passes as-is.