(ic *Inception, name string, takeAddr bool, typ reflect.Type, parsefunc string)
| 253 | } |
| 254 | |
| 255 | func getNumberHandler(ic *Inception, name string, takeAddr bool, typ reflect.Type, parsefunc string) string { |
| 256 | return tplStr(decodeTpl["handlerNumeric"], handlerNumeric{ |
| 257 | IC: ic, |
| 258 | Name: name, |
| 259 | ParseFunc: parsefunc, |
| 260 | TakeAddr: takeAddr, |
| 261 | Typ: typ, |
| 262 | }) |
| 263 | } |
| 264 | |
| 265 | func getNumberSize(typ reflect.Type) string { |
| 266 | return fmt.Sprintf("%d", typ.Bits()) |
no test coverage detected
searching dependent graphs…