diff --git a/Types/DemoType.go b/Types/DemoType.go new file mode 100644 index 0000000..15e6eb5 --- /dev/null +++ b/Types/DemoType.go @@ -0,0 +1,13 @@ +package Types + +type DemoType interface { + getName() string +} + +type DemoTypeImpl struct { + name string +} + +func (d DemoTypeImpl) getName() string { + return d.name +} diff --git a/Types/go.mod b/Types/go.mod new file mode 100644 index 0000000..c2bcd9f --- /dev/null +++ b/Types/go.mod @@ -0,0 +1,3 @@ +module Types + +go 1.21.8