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

@ -9,8 +9,8 @@ import (
"entgo.io/ent/dialect/sql"
"github.com/google/uuid"
"github.com/hay-kot/git-web-template/backend/ent/authtokens"
"github.com/hay-kot/git-web-template/backend/ent/user"
"github.com/hay-kot/content/backend/ent/authtokens"
"github.com/hay-kot/content/backend/ent/user"
)
// AuthTokens is the model entity for the AuthTokens schema.

View file

@ -7,7 +7,7 @@ import (
"entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph"
"github.com/hay-kot/git-web-template/backend/ent/predicate"
"github.com/hay-kot/content/backend/ent/predicate"
)
// ID filters vertices based on their ID field.

View file

@ -11,8 +11,8 @@ import (
"entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field"
"github.com/google/uuid"
"github.com/hay-kot/git-web-template/backend/ent/authtokens"
"github.com/hay-kot/git-web-template/backend/ent/user"
"github.com/hay-kot/content/backend/ent/authtokens"
"github.com/hay-kot/content/backend/ent/user"
)
// AuthTokensCreate is the builder for creating a AuthTokens entity.

View file

@ -9,8 +9,8 @@ import (
"entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field"
"github.com/hay-kot/git-web-template/backend/ent/authtokens"
"github.com/hay-kot/git-web-template/backend/ent/predicate"
"github.com/hay-kot/content/backend/ent/authtokens"
"github.com/hay-kot/content/backend/ent/predicate"
)
// AuthTokensDelete is the builder for deleting a AuthTokens entity.

View file

@ -12,9 +12,9 @@ import (
"entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field"
"github.com/google/uuid"
"github.com/hay-kot/git-web-template/backend/ent/authtokens"
"github.com/hay-kot/git-web-template/backend/ent/predicate"
"github.com/hay-kot/git-web-template/backend/ent/user"
"github.com/hay-kot/content/backend/ent/authtokens"
"github.com/hay-kot/content/backend/ent/predicate"
"github.com/hay-kot/content/backend/ent/user"
)
// AuthTokensQuery is the builder for querying AuthTokens entities.

View file

@ -12,9 +12,9 @@ import (
"entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field"
"github.com/google/uuid"
"github.com/hay-kot/git-web-template/backend/ent/authtokens"
"github.com/hay-kot/git-web-template/backend/ent/predicate"
"github.com/hay-kot/git-web-template/backend/ent/user"
"github.com/hay-kot/content/backend/ent/authtokens"
"github.com/hay-kot/content/backend/ent/predicate"
"github.com/hay-kot/content/backend/ent/user"
)
// AuthTokensUpdate is the builder for updating AuthTokens entities.

View file

@ -8,10 +8,10 @@ import (
"log"
"github.com/google/uuid"
"github.com/hay-kot/git-web-template/backend/ent/migrate"
"github.com/hay-kot/content/backend/ent/migrate"
"github.com/hay-kot/git-web-template/backend/ent/authtokens"
"github.com/hay-kot/git-web-template/backend/ent/user"
"github.com/hay-kot/content/backend/ent/authtokens"
"github.com/hay-kot/content/backend/ent/user"
"entgo.io/ent/dialect"
"entgo.io/ent/dialect/sql"

View file

@ -8,8 +8,8 @@ import (
"entgo.io/ent"
"entgo.io/ent/dialect/sql"
"github.com/hay-kot/git-web-template/backend/ent/authtokens"
"github.com/hay-kot/git-web-template/backend/ent/user"
"github.com/hay-kot/content/backend/ent/authtokens"
"github.com/hay-kot/content/backend/ent/user"
)
// ent aliases to avoid import conflicts in user's code.

View file

@ -5,9 +5,9 @@ package enttest
import (
"context"
"github.com/hay-kot/git-web-template/backend/ent"
"github.com/hay-kot/content/backend/ent"
// required by schema hooks.
_ "github.com/hay-kot/git-web-template/backend/ent/runtime"
_ "github.com/hay-kot/content/backend/ent/runtime"
"entgo.io/ent/dialect/sql/schema"
)

View file

@ -6,7 +6,7 @@ import (
"context"
"fmt"
"github.com/hay-kot/git-web-template/backend/ent"
"github.com/hay-kot/content/backend/ent"
)
// The AuthTokensFunc type is an adapter to allow the use of ordinary

View file

@ -10,9 +10,9 @@ import (
"time"
"github.com/google/uuid"
"github.com/hay-kot/git-web-template/backend/ent/authtokens"
"github.com/hay-kot/git-web-template/backend/ent/predicate"
"github.com/hay-kot/git-web-template/backend/ent/user"
"github.com/hay-kot/content/backend/ent/authtokens"
"github.com/hay-kot/content/backend/ent/predicate"
"github.com/hay-kot/content/backend/ent/user"
"entgo.io/ent"
)

View file

@ -6,9 +6,9 @@ import (
"time"
"github.com/google/uuid"
"github.com/hay-kot/git-web-template/backend/ent/authtokens"
"github.com/hay-kot/git-web-template/backend/ent/schema"
"github.com/hay-kot/git-web-template/backend/ent/user"
"github.com/hay-kot/content/backend/ent/authtokens"
"github.com/hay-kot/content/backend/ent/schema"
"github.com/hay-kot/content/backend/ent/user"
)
// The init function reads all schema descriptors with runtime code

View file

@ -2,7 +2,7 @@
package runtime
// The schema-stitching logic is generated in github.com/hay-kot/git-web-template/backend/ent/runtime.go
// The schema-stitching logic is generated in github.com/hay-kot/content/backend/ent/runtime.go
const (
Version = "v0.10.0" // Version of ent codegen.

View file

@ -8,7 +8,7 @@ import (
"entgo.io/ent/dialect/sql"
"github.com/google/uuid"
"github.com/hay-kot/git-web-template/backend/ent/user"
"github.com/hay-kot/content/backend/ent/user"
)
// User is the model entity for the User schema.

View file

@ -6,7 +6,7 @@ import (
"entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph"
"github.com/google/uuid"
"github.com/hay-kot/git-web-template/backend/ent/predicate"
"github.com/hay-kot/content/backend/ent/predicate"
)
// ID filters vertices based on their ID field.

View file

@ -10,8 +10,8 @@ import (
"entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field"
"github.com/google/uuid"
"github.com/hay-kot/git-web-template/backend/ent/authtokens"
"github.com/hay-kot/git-web-template/backend/ent/user"
"github.com/hay-kot/content/backend/ent/authtokens"
"github.com/hay-kot/content/backend/ent/user"
)
// UserCreate is the builder for creating a User entity.

View file

@ -9,8 +9,8 @@ import (
"entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field"
"github.com/hay-kot/git-web-template/backend/ent/predicate"
"github.com/hay-kot/git-web-template/backend/ent/user"
"github.com/hay-kot/content/backend/ent/predicate"
"github.com/hay-kot/content/backend/ent/user"
)
// UserDelete is the builder for deleting a User entity.

View file

@ -13,9 +13,9 @@ import (
"entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field"
"github.com/google/uuid"
"github.com/hay-kot/git-web-template/backend/ent/authtokens"
"github.com/hay-kot/git-web-template/backend/ent/predicate"
"github.com/hay-kot/git-web-template/backend/ent/user"
"github.com/hay-kot/content/backend/ent/authtokens"
"github.com/hay-kot/content/backend/ent/predicate"
"github.com/hay-kot/content/backend/ent/user"
)
// UserQuery is the builder for querying User entities.

View file

@ -10,9 +10,9 @@ import (
"entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field"
"github.com/hay-kot/git-web-template/backend/ent/authtokens"
"github.com/hay-kot/git-web-template/backend/ent/predicate"
"github.com/hay-kot/git-web-template/backend/ent/user"
"github.com/hay-kot/content/backend/ent/authtokens"
"github.com/hay-kot/content/backend/ent/predicate"
"github.com/hay-kot/content/backend/ent/user"
)
// UserUpdate is the builder for updating User entities.