Detalji clanaka

This commit is contained in:
Senad Uka
2022-02-14 11:03:56 +01:00
parent f6e90deebd
commit 9f57520080
11 changed files with 207 additions and 62 deletions

View File

@@ -1,6 +1,9 @@
package model
import "time"
import (
"html/template"
"time"
)
type ScrapedArticle struct {
Title string
@@ -13,7 +16,7 @@ type ScrapedArticle struct {
type DisplayArticle struct {
ID int
Title string
Content string
Content template.HTML
Slug string
OriginalUrl string
SourceId int