mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 11:43:22 +02:00
feat: migrated prisma -> gorm
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
)
|
||||
|
||||
type IArticleRepository interface {
|
||||
Get(id int) Article
|
||||
Get(id uint32) (Article, error)
|
||||
GetAll() []Article
|
||||
Create(article Article) Article
|
||||
Create(article Article) (Article, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user