mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 11:43:22 +02:00
clean: removed use of "." in imports
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
package gateways
|
||||
|
||||
import (
|
||||
. "GohCMS2/domain/article"
|
||||
"GohCMS2/domain/article"
|
||||
)
|
||||
|
||||
type IArticleRepository interface {
|
||||
Get(id uint32) (Article, error)
|
||||
GetAll() []Article
|
||||
Create(article Article) (Article, error)
|
||||
Get(id uint32) (article.Article, error)
|
||||
GetAll() []article.Article
|
||||
Create(article article.Article) (article.Article, error)
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package gateways
|
||||
|
||||
import . "GohCMS2/domain/user"
|
||||
import "GohCMS2/domain/user"
|
||||
|
||||
type IUserRepository interface {
|
||||
Get(id uint32) (User, error)
|
||||
GetByUsername(username string) (User, error)
|
||||
GetAll() []User
|
||||
Create(user User) (User, error)
|
||||
Get(id uint32) (user.User, error)
|
||||
GetByUsername(username string) (user.User, error)
|
||||
GetAll() []user.User
|
||||
Create(user user.User) (user.User, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user