Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
45
func
NewItemSelector(identifier string) *ItemSelector {
46
return
&ItemSelector{
47
Identifier: identifier,
48
}
49
}
50
51
func
(n *ItemSelector) toString() string {
52
sb := new(strings.Builder)
Callers
6
dotPathToPathAST
Function · 0.92
mergeSelectors
Function · 0.92
convertPathAST
Function · 0.92
TestGetFirstSemanticTypeInPath
Function · 0.92
TestWalkAndMaskJSON
Function · 0.92
TestString
Function · 0.85
Calls
no outgoing calls
Tested by
3
TestGetFirstSemanticTypeInPath
Function · 0.74
TestWalkAndMaskJSON
Function · 0.74
TestString
Function · 0.68