add type for type conversion
This commit is contained in:
@@ -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"`
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user