(funcName string, argNum int, check argChecker)
| 235 | type argChecker func(env *Env, call, arg ast.Expr) error |
| 236 | |
| 237 | func newFormatValidator(funcName string, argNum int, check argChecker) formatValidator { |
| 238 | return formatValidator{ |
| 239 | funcName: funcName, |
| 240 | check: check, |
| 241 | argNum: argNum, |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | type formatValidator struct { |
| 246 | funcName string |
no outgoing calls
no test coverage detected