add type for type conversion

This commit is contained in:
Adrian Zürcher
2025-04-29 08:16:45 +02:00
parent ea4461fd7e
commit 72d0d56868

View File

@@ -6,5 +6,6 @@ type Publish struct {
Event string `json:"event,omitempty"` Event string `json:"event,omitempty"`
Uuid uuid.UUID `json:"uuid,omitempty"` Uuid uuid.UUID `json:"uuid,omitempty"`
Path string `json:"path,omitempty"` Path string `json:"path,omitempty"`
Type Type `json:"type,omitempty"`
Value any `json:"value,omitempty"` Value any `json:"value,omitempty"`
} }