Removed useless code for DeleteArticleHandler

This commit is contained in:
Florian Sylvain
2022-12-27 18:05:53 +01:00
parent 12d1f67d43
commit e6e15392d1
2 changed files with 5 additions and 20 deletions
-4
View File
@@ -10,10 +10,6 @@ type Article struct {
Content interface{} `json:"content" bson:"content"`
}
type DelArticle struct {
IdName string `json:"id_name" bson:"id_name"`
}
var articlesLocation = Location{Database: "gohcms", Collection: "articles"}
func GetAllArticlesBusiness(documents [][]byte) []Article {