mirror of
https://github.com/Neur0toxine/demo-web-service-go.git
synced 2024-12-04 18:46:03 +03:00
refactor data to the internal
This commit is contained in:
parent
02435248ee
commit
7c781c064c
@ -1,7 +1,7 @@
|
||||
package repository
|
||||
|
||||
import (
|
||||
"github.com/Neur0toxine/demo-web-service-go/data/model"
|
||||
"github.com/Neur0toxine/demo-web-service-go/internal/data/model"
|
||||
"github.com/brianvoe/gofakeit/v6"
|
||||
)
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"math/rand"
|
||||
"time"
|
||||
|
||||
"github.com/Neur0toxine/demo-web-service-go/data/model"
|
||||
"github.com/Neur0toxine/demo-web-service-go/internal/data/model"
|
||||
"github.com/brianvoe/gofakeit/v6"
|
||||
)
|
||||
|
@ -3,7 +3,7 @@ package internal
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/Neur0toxine/demo-web-service-go/data/repository"
|
||||
"github.com/Neur0toxine/demo-web-service-go/internal/data/repository"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
|
||||
"github.com/Neur0toxine/demo-web-service-go/data/model"
|
||||
"github.com/Neur0toxine/demo-web-service-go/internal/data/model"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user