add uuid to struct

This commit is contained in:
Adrian Zürcher
2025-04-28 07:05:50 +02:00
parent 0d3161337f
commit 0f22443b93

View File

@@ -1,7 +1,10 @@
package models package models
import "github.com/google/uuid"
type Subscribe struct { type Subscribe struct {
Path string `json:"path"` Uuid uuid.UUID `json:"uuid,omitempty"`
Path string `json:"path,omitempty"`
Depth uint `json:"depth,omitempty"` Depth uint `json:"depth,omitempty"`
Drivers *Drivers `json:"drivers,omitempty"` Drivers *Drivers `json:"drivers,omitempty"`
Driver string `json:"driver,omitempty"` Driver string `json:"driver,omitempty"`