MCPcopy Index your code
hub / github.com/bytebase/bytebase / NewItemSelector

Function NewItemSelector

backend/plugin/parser/base/json_path.go:45–49  ·  view source on GitHub ↗
(identifier string)

Source from the content-addressed store, hash-verified

43}
44
45func NewItemSelector(identifier string) *ItemSelector {
46 return &ItemSelector{
47 Identifier: identifier,
48 }
49}
50
51func (n *ItemSelector) toString() string {
52 sb := new(strings.Builder)

Callers 6

dotPathToPathASTFunction · 0.92
mergeSelectorsFunction · 0.92
convertPathASTFunction · 0.92
TestWalkAndMaskJSONFunction · 0.92
TestStringFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestWalkAndMaskJSONFunction · 0.74
TestStringFunction · 0.68