it works on ctx.Bind(req) and works again on validator.Validate(&req). the message is so boring.
var debugSwitch = goutil.IsGoTest()
func printf(format string, a ...interface{}) {
if debugSwitch {
fmt.Fprintf(os.Stderr, format, a...)
}
}
how to modify the debugSwitch ?
only one test case you could have the following lines
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── >
└── 0
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── >
└── 0
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── >
└── 0
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── >
└── 0
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── >
└── 0
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── !=
└──
└── ()
┌── ()$
└── >=
└── 0
└── ()
┌── ()$
└── >
└── 0
└── ()
┌── ()$
└── !=
└──
it works on
ctx.Bind(req)and works again onvalidator.Validate(&req). the message is so boring.how to modify the
debugSwitch?only one test case you could have the following lines