2024-02-27 14:10:27 +01:00
|
|
|
package data
|
|
|
|
|
2024-03-01 11:30:31 +01:00
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
2024-02-27 14:10:27 +01:00
|
|
|
|
|
|
|
type Article struct {
|
2024-03-06 20:53:17 +01:00
|
|
|
Title string
|
|
|
|
Created time.Time
|
|
|
|
Desc string
|
|
|
|
Content string
|
|
|
|
Tags []string
|
|
|
|
Published bool
|
|
|
|
ID int64
|
|
|
|
AuthorID int64
|
2024-02-27 14:10:27 +01:00
|
|
|
}
|