mirror of
https://github.com/hashicorp/vault.git
synced 2025-12-27 20:31:12 +01:00
Add int64 pointerutil (#7973)
This commit is contained in:
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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user