(d map[string]interface{}, name string)
| 44 | } |
| 45 | |
| 46 | func ArgumentIntegerMust(d map[string]interface{}, name string) int { |
| 47 | n, ok := ArgumentInteger(d, name) |
| 48 | if ok { |
| 49 | return n |
| 50 | } |
| 51 | log.Panicf("option %s is required", name) |
| 52 | return 0 |
| 53 | } |
nothing calls this directly
no test coverage detected