summaryrefslogtreecommitdiff
path: root/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'util.go')
-rw-r--r--util.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/util.go b/util.go
new file mode 100644
index 0000000..b2e9121
--- /dev/null
+++ b/util.go
@@ -0,0 +1,13 @@
+package main
+
+func ptrStr(str string) *string {
+ return &str
+}
+
+func ptrInt(i int) *int {
+ return &i
+}
+
+func ptrBool(b bool) *bool {
+ return &b
+}