personal-website/apps/blogviewer/blogfile.go
2023-06-07 01:49:26 +03:00

12 lines
196 B
Go

package blogviewer
type BlogFileData struct {
Header string `bson:"header"`
Blocks []*Block `bson:"blocks"`
}
type Block struct {
Type string `bson:"type"`
Data []string `bson:"data"`
}