MCPcopy Create free account
hub / github.com/go-playground/validator / String

Method String

validator_test.go:15706–15706  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15704func (r NotRed) DoNothing() {}
15705
15706func (r NotRed) String() string { return "not red instance" }
15707
15708func TestValidateFn(t *testing.T) {
15709 t.Run("using pointer", func(t *testing.T) {

Callers 15

tryCallValidateFnFunction · 0.45
getValueFunction · 0.45
TestNilValidatorFunction · 0.45
ErrorMethod · 0.45
ErrorMethod · 0.45
isURLEncodedFunction · 0.45
isHTMLEncodedFunction · 0.45
isHTMLFunction · 0.45
isOneOfFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected