From 9349ab95fc91f74f2c242a7e3ccc0b630c3d95f3 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 11 Jan 2025 02:44:21 -0600 Subject: small app works, example core dumps on Marshal() --- small/fruit.New.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 small/fruit.New.go (limited to 'small/fruit.New.go') 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 +} -- cgit v1.2.3