refactor data to the internal

This commit is contained in:
Pavel 2021-09-14 13:03:47 +03:00
parent 02435248ee
commit 7c781c064c
6 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
package repository package repository
import ( 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" "github.com/brianvoe/gofakeit/v6"
) )

View File

@ -4,7 +4,7 @@ import (
"math/rand" "math/rand"
"time" "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" "github.com/brianvoe/gofakeit/v6"
) )

View File

@ -3,7 +3,7 @@ package internal
import ( import (
"net/http" "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" "github.com/gin-gonic/gin"
) )

View File

@ -7,7 +7,7 @@ import (
"net/http/httptest" "net/http/httptest"
"testing" "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/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )