From fcbf657e39c34ce322066947c55e6a2e75a2dd30 Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Wed, 27 Aug 2025 13:48:06 +0000 Subject: [PATCH] fix: add production build stub for mock integration --- internal/monitoring/mock_stub.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 internal/monitoring/mock_stub.go diff --git a/internal/monitoring/mock_stub.go b/internal/monitoring/mock_stub.go new file mode 100644 index 000000000..2186e8efe --- /dev/null +++ b/internal/monitoring/mock_stub.go @@ -0,0 +1,10 @@ +// +build production + +package monitoring + +import "github.com/rcourtman/pulse-go-rewrite/internal/models" + +// getMockState returns nil in production builds +func getMockState() *models.StateSnapshot { + return nil +} \ No newline at end of file