mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 19:53:21 +02:00
Added page_id field to Articles
This commit is contained in:
@@ -12,12 +12,14 @@ var Article1, _ = bson.Marshal(Article{
|
||||
IdName: "test_article_1",
|
||||
Date: 1671482492,
|
||||
Content: gin.H{},
|
||||
PageID: "blog",
|
||||
})
|
||||
|
||||
var Article2, _ = bson.Marshal(Article{
|
||||
IdName: "test_article_2",
|
||||
Date: 1671899112,
|
||||
Content: gin.H{},
|
||||
PageID: "blog",
|
||||
})
|
||||
|
||||
var BSONConvertedArticles = [][]byte{Article1, Article2}
|
||||
|
||||
Reference in New Issue
Block a user