MCPcopy Index your code
hub / github.com/lxn/walk / Pattern

Method Pattern

validators.go:106–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104}
105
106func (rv *RegexpValidator) Pattern() string {
107 return rv.re.String()
108}
109
110func (rv *RegexpValidator) Validate(v interface{}) error {
111 var matched bool

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected