hero support for the new uint64

Former-commit-id: 0cd72427302afd50a18c88443f871db393429bfa
This commit is contained in:
Gerasimos (Makis) Maropoulos 2018-08-23 06:33:54 +03:00
parent b019a281eb
commit 18c23e7d1e

View File

@ -44,6 +44,13 @@ func resolveParam(currentParamIndex int, typ reflect.Type) (reflect.Value, bool)
entry, _ := ctx.Params().GetEntryAt(currentParamIndex)
v, _ := entry.Int64Default(0)
return v
}
case reflect.Uint64:
fn = func(ctx context.Context) uint64 {
entry, _ := ctx.Params().GetEntryAt(currentParamIndex)
v, _ := entry.Uint64Default(0)
return v
}
case reflect.Bool: