(retVal *[]string, arg interface{})
| 133 | } |
| 134 | |
| 135 | func setStringArrArg(retVal *[]string, arg interface{}) error { |
| 136 | arrVal, err := toStringArr(arg) |
| 137 | if err != nil { |
| 138 | return err |
| 139 | } |
| 140 | *retVal = arrVal |
| 141 | return nil |
| 142 | } |
| 143 | |
| 144 | func toBool(arg interface{}) (bool, error) { |
| 145 | boolVal, ok := arg.(bool) |
no test coverage detected