summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-07-24 12:52:54 +0300
committerValery Piashchynski <[email protected]>2021-07-24 12:52:54 +0300
commit685d7b4e88c10643d8ca6f619373544c1ceeac9b (patch)
treea73feba7c4a3c6fb7e186439f71400a628bc1305 /utils
parentc25616b937d120d16d74cfb2d12d9133afb54330 (diff)
Remove unused toPtr conversions
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'utils')
-rw-r--r--utils/pointers.go15
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
-}