common: helper function for uint64 ptr
This commit is contained in:
parent
cba720e63f
commit
dc62275d4d
1 changed files with 4 additions and 0 deletions
|
|
@ -4,6 +4,10 @@ func IntToPtr(x int) *int {
|
|||
return &x
|
||||
}
|
||||
|
||||
func Uint64ToPtr(x uint64) *uint64 {
|
||||
return &x
|
||||
}
|
||||
|
||||
func BoolToPtr(x bool) *bool {
|
||||
return &x
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue