personal-website/apps/blogviewer/blogfile.go

12 lines
196 B
Go
Raw Normal View History

2023-04-29 13:58:39 +00:00
package blogviewer
type BlogFileData struct {
2023-05-18 01:57:44 +00:00
Header string `bson:"header"`
Blocks []*Block `bson:"blocks"`
2023-04-29 13:58:39 +00:00
}
2023-06-06 22:49:26 +00:00
type Block struct {
Type string `bson:"type"`
Data []string `bson:"data"`
}