From f3abaa694d199993a4657b78ed5a24323cc35725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paulo=20Sima=CC=83o?= Date: Mon, 11 Oct 2021 15:11:42 -0300 Subject: [PATCH] forgot tags on log - lame me. --- types/lib.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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"`