mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 19:53:21 +02:00
clean: removed use of "." in imports
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
package useCases
|
||||
|
||||
import (
|
||||
. "GohCMS2/adapters/secondary/gateways"
|
||||
"GohCMS2/adapters/secondary/gateways"
|
||||
)
|
||||
|
||||
type GetPageUseCase struct {
|
||||
pageRepository PageRepository
|
||||
pageRepository gateways.PageRepository
|
||||
}
|
||||
|
||||
func NewGetPageUseCase() *GetPageUseCase {
|
||||
return &GetPageUseCase{
|
||||
pageRepository: *NewPageRepository(),
|
||||
pageRepository: *gateways.NewPageRepository(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user