diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/pointers.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/utils/pointers.go b/utils/pointers.go deleted file mode 100644 index 9c192279..00000000 --- a/utils/pointers.go +++ /dev/null @@ -1,15 +0,0 @@ -package utils - -func AsUint64Ptr(val uint64) *uint64 { - if val == 0 { - val = 10 - } - return &val -} - -func AsStringPtr(val string) *string { - if val == "" { - return nil - } - return &val -} |