diff --git a/internal/domain/news/spec.go b/internal/domain/news/spec.go index 2bba6e3..4e58d6a 100644 --- a/internal/domain/news/spec.go +++ b/internal/domain/news/spec.go @@ -35,7 +35,7 @@ type News struct { LiveAt time.Time `json:"live_at"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` - Clicked int64 `json:"clicked"` + Clicked int64 `json:"clicked" gorm:"-"` Author Staff `json:"author"` }