summaryrefslogtreecommitdiff
path: root/small/fruit.New.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-11 02:44:21 -0600
committerJeff Carr <[email protected]>2025-01-11 02:44:21 -0600
commit9349ab95fc91f74f2c242a7e3ccc0b630c3d95f3 (patch)
treecaaf75c3d0da4392a57e0d32b137435160b67d0e /small/fruit.New.go
parent3f2909aa0d95acc5b00642d082013afd40108a30 (diff)
small app works, example core dumps on Marshal()
Diffstat (limited to 'small/fruit.New.go')
-rw-r--r--small/fruit.New.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/small/fruit.New.go b/small/fruit.New.go
new file mode 100644
index 0000000..0be9b07
--- /dev/null
+++ b/small/fruit.New.go
@@ -0,0 +1,9 @@
+package main
+
+func NewFruits() *Fruits {
+ x := new(Fruits)
+ x.Uuid = "test"
+ x.Version = "v0.0.2"
+ // x.Fruits =
+ return x
+}