Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/expr-lang/expr
/ isPrivate
Function
isPrivate
docgen/docgen.go:257–259 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
255
var
isCapital = regexp.MustCompile(
"^[A-Z]"
)
256
257
func
isPrivate(s string) bool {
258
return
!isCapital.Match([]byte(s))
259
}
260
261
func
isProtobuf(s string) bool {
262
return
strings.HasPrefix(s,
"XXX_"
)
Callers
1
use
Method · 0.70
Calls
1
Match
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…