chore(settings): remove unneeded pointers.go
This commit is contained in:
@@ -1,11 +0,0 @@
|
|||||||
package helpers
|
|
||||||
|
|
||||||
import "time"
|
|
||||||
|
|
||||||
// StringPtr returns a pointer to the string value
|
|
||||||
// passed as argument.
|
|
||||||
func StringPtr(s string) *string { return &s }
|
|
||||||
|
|
||||||
// DurationPtr returns a pointer to the duration value
|
|
||||||
// passed as argument.
|
|
||||||
func DurationPtr(d time.Duration) *time.Duration { return &d }
|
|
||||||
Reference in New Issue
Block a user