diff --git a/helper/funcs.go b/helper/funcs.go index f55266819273..5d19ca8ceba0 100644 --- a/helper/funcs.go +++ b/helper/funcs.go @@ -83,7 +83,12 @@ func Int8ToPtr(i int8) *int8 { return &i } -// Int64ToPtr returns the pointer to an int +// Int32ToPtr returns the pointer to an int32 +func Int32ToPtr(i int32) *int32 { + return &i +} + +// Int64ToPtr returns the pointer to an int64 func Int64ToPtr(i int64) *int64 { return &i }