diff --git a/types/lib.go b/types/lib.go index ce05a1b..539bcfc 100644 --- a/types/lib.go +++ b/types/lib.go @@ -201,13 +201,13 @@ type Credentials struct { type Log struct { Model - Alias string - Title string - Tags string - Dtlog time.Time - Data []byte - Err string - Stack []byte + Alias string `json:"alias,omitempty"` + Title string `json:"title,omitempty"` + Tags string `json:"tags,omitempty"` + Dtlog time.Time `json:"dtlog"` + Data []byte `json:"data,omitempty"` + Err string `json:"err,omitempty"` + Stack []byte `json:"stack,omitempty"` } type LogQuery struct { From time.Time `json:"from"`