summaryrefslogtreecommitdiff
path: root/example/fruit.New.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-09 12:54:04 -0600
committerJeff Carr <[email protected]>2025-01-09 12:54:04 -0600
commite79ba634661baba562fa0ab9245040bd37c29f4c (patch)
treea0f0908d87ff9197ebc87dd6a715e002b2a0785c /example/fruit.New.go
parentc99d8763e6c85513c700d58cd1e2163c31d2187d (diff)
rename dir
Diffstat (limited to 'example/fruit.New.go')
-rw-r--r--example/fruit.New.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/example/fruit.New.go b/example/fruit.New.go
new file mode 100644
index 0000000..c00f981
--- /dev/null
+++ b/example/fruit.New.go
@@ -0,0 +1,7 @@
+package main
+
+func NewFruits() *Fruits {
+ x := new(Fruits)
+ x.Uuid = "test"
+ return x
+}