update imports

This commit is contained in:
Hayden 2022-08-29 18:40:54 -08:00
parent 43eba5437a
commit 4c76f6b367
56 changed files with 139 additions and 212 deletions

View file

@ -8,7 +8,7 @@ import (
"testing"
"time"
"github.com/hay-kot/git-web-template/backend/ent"
"github.com/hay-kot/content/backend/ent"
_ "github.com/mattn/go-sqlite3"
)

View file

@ -1,6 +1,6 @@
package repo
import "github.com/hay-kot/git-web-template/backend/ent"
import "github.com/hay-kot/content/backend/ent"
// AllRepos is a container for all the repository interfaces
type AllRepos struct {

View file

@ -4,10 +4,10 @@ import (
"context"
"time"
"github.com/hay-kot/git-web-template/backend/ent"
"github.com/hay-kot/git-web-template/backend/ent/authtokens"
"github.com/hay-kot/git-web-template/backend/internal/mapper"
"github.com/hay-kot/git-web-template/backend/internal/types"
"github.com/hay-kot/content/backend/ent"
"github.com/hay-kot/content/backend/ent/authtokens"
"github.com/hay-kot/content/backend/internal/mapper"
"github.com/hay-kot/content/backend/internal/types"
)
type EntTokenRepository struct {

View file

@ -5,8 +5,8 @@ import (
"testing"
"time"
"github.com/hay-kot/git-web-template/backend/internal/types"
"github.com/hay-kot/git-web-template/backend/pkgs/hasher"
"github.com/hay-kot/content/backend/internal/types"
"github.com/hay-kot/content/backend/pkgs/hasher"
"github.com/stretchr/testify/assert"
)

View file

@ -3,7 +3,7 @@ package repo
import (
"context"
"github.com/hay-kot/git-web-template/backend/internal/types"
"github.com/hay-kot/content/backend/internal/types"
)
type TokenRepository interface {

View file

@ -4,9 +4,9 @@ import (
"context"
"github.com/google/uuid"
"github.com/hay-kot/git-web-template/backend/ent"
"github.com/hay-kot/git-web-template/backend/ent/user"
"github.com/hay-kot/git-web-template/backend/internal/types"
"github.com/hay-kot/content/backend/ent"
"github.com/hay-kot/content/backend/ent/user"
"github.com/hay-kot/content/backend/internal/types"
)
type EntUserRepository struct {

View file

@ -5,8 +5,8 @@ import (
"fmt"
"testing"
"github.com/hay-kot/git-web-template/backend/internal/types"
"github.com/hay-kot/git-web-template/backend/pkgs/faker"
"github.com/hay-kot/content/backend/internal/types"
"github.com/hay-kot/content/backend/pkgs/faker"
"github.com/stretchr/testify/assert"
)

View file

@ -4,7 +4,7 @@ import (
"context"
"github.com/google/uuid"
"github.com/hay-kot/git-web-template/backend/internal/types"
"github.com/hay-kot/content/backend/internal/types"
)
type UserRepository interface {