mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-12-25 23:07:04 +00:00
Add int64 pointerutil (#7973)
This commit is contained in:
committed by
Brian Kassouf
parent
1645b20127
commit
47cffd09f9
@@ -26,3 +26,8 @@ func TimeDurationPtr(duration string) *time.Duration {
|
||||
func FileModePtr(o os.FileMode) *os.FileMode {
|
||||
return &o
|
||||
}
|
||||
|
||||
// Int64Ptr returns a pointer to an int64 value
|
||||
func Int64Ptr(i int64) *int64 {
|
||||
return &i
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user