clean: removed use of "." in imports

This commit is contained in:
Florian Sylvain
2023-08-13 02:48:19 +02:00
parent 2525a64d0a
commit c6bd7731cc
14 changed files with 82 additions and 75 deletions
+2 -2
View File
@@ -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,
})