mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* Add filtering support to Generic Forwarding * Update CHANGELOG.md * Update forwarder_test.go * Update distributor component documentation * Revert Makefile change * Update docs/sources/tempo/configuration/_index.md Co-authored-by: Kim Nylander <[email protected]> * Update docs/sources/tempo/operations/generic_forwarding.md Co-authored-by: Kim Nylander <[email protected]> * Update CHANGELOG.md --------- Co-authored-by: Kim Nylander <[email protected]>
15 lines
241 B
Go
15 lines
241 B
Go
package syntax
|
|
|
|
import (
|
|
"github.com/gobwas/glob/syntax/ast"
|
|
"github.com/gobwas/glob/syntax/lexer"
|
|
)
|
|
|
|
func Parse(s string) (*ast.Node, error) {
|
|
return ast.Parse(lexer.NewLexer(s))
|
|
}
|
|
|
|
func Special(b byte) bool {
|
|
return lexer.Special(b)
|
|
}
|