fix: all remaining "article" replaced by "post"

All instances of the term "article" were replaced with "post" in variable names, type names, function names, etc. This was primarily to ensure consistent naming and reduce confusion going forward. The term "post" was chosen as it's a more commonly used term for the involved operations in the context of content management and blogging platforms. All tests were also updated to reflect these changes.
This commit is contained in:
Florian Sylvain committed 2023-09-06 03:38:52 +02:00
1 parent 509329951f
commit e113c79a6d
8 files changed
+62 -62

No files matched your search

+2 -2
View File
@@ -4,8 +4,8 @@ import (
"GohCMS2/domain/post"
)
type IArticleRepository interface {
type IPostRepository interface {
Get(id uint32) (post.Post, error)
GetAll() []post.Post
Create(article post.Post) (post.Post, error)
Create(post post.Post) (post.Post, error)
}