Added: downloading and returning wikipedia articles
This commit is contained in:
9
internal/article/irepository.go
Normal file
9
internal/article/irepository.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package article
|
||||
|
||||
import "database/sql"
|
||||
|
||||
type IArticleRepository interface {
|
||||
CreateArticle(tx *sql.Tx, data ArticleCreateModel) error
|
||||
GetArticlesByTitle(tx *sql.Tx, title string) ([]ArticleModel, error)
|
||||
DeleteAllArticles(tx *sql.Tx) error
|
||||
}
|
||||
Reference in New Issue
Block a user