aboutsummaryrefslogtreecommitdiff
path: root/helper.go
diff options
context:
space:
mode:
Diffstat (limited to 'helper.go')
-rw-r--r--helper.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/helper.go b/helper.go
index 4315ac2..0ce20ae 100644
--- a/helper.go
+++ b/helper.go
@@ -13,3 +13,7 @@ func Dump(v interface{}) error {
fmt.Println(string(body))
return nil
}
+
+func Print(v interface{}) (int, error) {
+ return fmt.Printf("%+v\n", v)
+}