From b653179e6d66f310975f5eb1b3dfffa0c36061cf Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Sun, 1 Mar 2026 21:44:41 -0600 Subject: [PATCH] add functions to test struct --- internal/processor/test/processor_test.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/internal/processor/test/processor_test.go b/internal/processor/test/processor_test.go index 95eb3bf..b7d813a 100644 --- a/internal/processor/test/processor_test.go +++ b/internal/processor/test/processor_test.go @@ -16,6 +16,22 @@ type TestStruct struct { Data any } +func (t TestStruct) GetString() string { + return t.String +} + +func (t TestStruct) GetInt() int { + return t.Int +} + +func (t TestStruct) GetFloat() float64 { + return t.Float +} + +func (t TestStruct) GetBool() bool { + return t.Bool +} + func (t TestStruct) GetData() any { return t.Data }