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