From 72d0d5686859087ebe1b3dcdded0ff8ba05d11df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Z=C3=BCrcher?= Date: Tue, 29 Apr 2025 08:16:45 +0200 Subject: [PATCH] add type for type conversion --- models/publish.go | 1 + 1 file changed, 1 insertion(+) diff --git a/models/publish.go b/models/publish.go index ee3c6ad..f437643 100644 --- a/models/publish.go +++ b/models/publish.go @@ -6,5 +6,6 @@ type Publish struct { Event string `json:"event,omitempty"` Uuid uuid.UUID `json:"uuid,omitempty"` Path string `json:"path,omitempty"` + Type Type `json:"type,omitempty"` Value any `json:"value,omitempty"` }