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:
+2
-2
@@ -1,7 +1,7 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
. "GohCMS2/useCases"
|
||||
"GohCMS2/useCases"
|
||||
"encoding/json"
|
||||
"github.com/go-chi/chi/v5"
|
||||
"net/http"
|
||||
@@ -44,7 +44,7 @@ func postArticle(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
createdArticle, err := Container.CreateArticleUseCase.CreateArticle(CreateArticleCommand{
|
||||
createdArticle, err := Container.CreateArticleUseCase.CreateArticle(useCases.CreateArticleCommand{
|
||||
Title: article.Title,
|
||||
Body: article.Body,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user