Updated article loader and added test entry to database

This commit is contained in:
2022-01-28 14:41:40 +01:00
parent 842fc7b125
commit 01e876d1e6
4 changed files with 72 additions and 24 deletions

13
database/schema.go Normal file
View File

@@ -0,0 +1,13 @@
package database
type Article struct {
Id int `gorm:"primaryKey"`
Title string
Summary string
Image string
Created int64
Modified int64
Link string
Markdown string
Html string
}