From e9951f5d3b8b6ca903acd703d7181fb2312c6b87 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Fri, 11 Feb 2022 21:33:44 +0100 Subject: [PATCH] fixed module path, again --- ent/client.go | 4 ++-- ent/dbpackage.go | 2 +- ent/dbpackage/where.go | 2 +- ent/dbpackage_create.go | 2 +- ent/dbpackage_delete.go | 4 ++-- ent/dbpackage_query.go | 4 ++-- ent/dbpackage_update.go | 4 ++-- ent/ent.go | 2 +- ent/enttest/enttest.go | 4 ++-- ent/hook/hook.go | 2 +- ent/mutation.go | 4 ++-- ent/runtime.go | 4 ++-- ent/runtime/runtime.go | 2 +- go.mod | 2 +- main.go | 6 +++--- utils.go | 4 ++-- 16 files changed, 26 insertions(+), 26 deletions(-) diff --git a/ent/client.go b/ent/client.go index 29e1ba8..f1ad619 100644 --- a/ent/client.go +++ b/ent/client.go @@ -7,9 +7,9 @@ import ( "fmt" "log" - "ALHP.GO/ent/migrate" + "git.harting.dev/ALHP/ALHP.GO/ent/migrate" - "ALHP.GO/ent/dbpackage" + "git.harting.dev/ALHP/ALHP.GO/ent/dbpackage" "entgo.io/ent/dialect" "entgo.io/ent/dialect/sql" diff --git a/ent/dbpackage.go b/ent/dbpackage.go index 2efe8e4..f12a7ae 100644 --- a/ent/dbpackage.go +++ b/ent/dbpackage.go @@ -8,8 +8,8 @@ import ( "strings" "time" - "ALHP.GO/ent/dbpackage" "entgo.io/ent/dialect/sql" + "git.harting.dev/ALHP/ALHP.GO/ent/dbpackage" ) // DbPackage is the model entity for the DbPackage schema. diff --git a/ent/dbpackage/where.go b/ent/dbpackage/where.go index cfcc71a..66532f7 100644 --- a/ent/dbpackage/where.go +++ b/ent/dbpackage/where.go @@ -5,8 +5,8 @@ package dbpackage import ( "time" - "ALHP.GO/ent/predicate" "entgo.io/ent/dialect/sql" + "git.harting.dev/ALHP/ALHP.GO/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/ent/dbpackage_create.go b/ent/dbpackage_create.go index 34d26c5..20be6c2 100644 --- a/ent/dbpackage_create.go +++ b/ent/dbpackage_create.go @@ -8,9 +8,9 @@ import ( "fmt" "time" - "ALHP.GO/ent/dbpackage" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" + "git.harting.dev/ALHP/ALHP.GO/ent/dbpackage" ) // DbPackageCreate is the builder for creating a DbPackage entity. diff --git a/ent/dbpackage_delete.go b/ent/dbpackage_delete.go index c6009c4..d096fd6 100644 --- a/ent/dbpackage_delete.go +++ b/ent/dbpackage_delete.go @@ -6,11 +6,11 @@ import ( "context" "fmt" - "ALHP.GO/ent/dbpackage" - "ALHP.GO/ent/predicate" "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" + "git.harting.dev/ALHP/ALHP.GO/ent/dbpackage" + "git.harting.dev/ALHP/ALHP.GO/ent/predicate" ) // DbPackageDelete is the builder for deleting a DbPackage entity. diff --git a/ent/dbpackage_query.go b/ent/dbpackage_query.go index f664540..36f7282 100644 --- a/ent/dbpackage_query.go +++ b/ent/dbpackage_query.go @@ -8,11 +8,11 @@ import ( "fmt" "math" - "ALHP.GO/ent/dbpackage" - "ALHP.GO/ent/predicate" "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" + "git.harting.dev/ALHP/ALHP.GO/ent/dbpackage" + "git.harting.dev/ALHP/ALHP.GO/ent/predicate" ) // DbPackageQuery is the builder for querying DbPackage entities. diff --git a/ent/dbpackage_update.go b/ent/dbpackage_update.go index 5f68d80..46eed5f 100644 --- a/ent/dbpackage_update.go +++ b/ent/dbpackage_update.go @@ -8,11 +8,11 @@ import ( "fmt" "time" - "ALHP.GO/ent/dbpackage" - "ALHP.GO/ent/predicate" "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" + "git.harting.dev/ALHP/ALHP.GO/ent/dbpackage" + "git.harting.dev/ALHP/ALHP.GO/ent/predicate" ) // DbPackageUpdate is the builder for updating DbPackage entities. diff --git a/ent/ent.go b/ent/ent.go index 0e162f4..fe00647 100644 --- a/ent/ent.go +++ b/ent/ent.go @@ -6,9 +6,9 @@ import ( "errors" "fmt" - "ALHP.GO/ent/dbpackage" "entgo.io/ent" "entgo.io/ent/dialect/sql" + "git.harting.dev/ALHP/ALHP.GO/ent/dbpackage" ) // ent aliases to avoid import conflicts in user's code. diff --git a/ent/enttest/enttest.go b/ent/enttest/enttest.go index c97e87e..486a818 100644 --- a/ent/enttest/enttest.go +++ b/ent/enttest/enttest.go @@ -5,9 +5,9 @@ package enttest import ( "context" - "ALHP.GO/ent" + "git.harting.dev/ALHP/ALHP.GO/ent" // required by schema hooks. - _ "ALHP.GO/ent/runtime" + _ "git.harting.dev/ALHP/ALHP.GO/ent/runtime" "entgo.io/ent/dialect/sql/schema" ) diff --git a/ent/hook/hook.go b/ent/hook/hook.go index 7c5d3e7..0240ad9 100644 --- a/ent/hook/hook.go +++ b/ent/hook/hook.go @@ -6,7 +6,7 @@ import ( "context" "fmt" - "ALHP.GO/ent" + "git.harting.dev/ALHP/ALHP.GO/ent" ) // The DbPackageFunc type is an adapter to allow the use of ordinary diff --git a/ent/mutation.go b/ent/mutation.go index 44e0c44..f4e644e 100644 --- a/ent/mutation.go +++ b/ent/mutation.go @@ -9,8 +9,8 @@ import ( "sync" "time" - "ALHP.GO/ent/dbpackage" - "ALHP.GO/ent/predicate" + "git.harting.dev/ALHP/ALHP.GO/ent/dbpackage" + "git.harting.dev/ALHP/ALHP.GO/ent/predicate" "entgo.io/ent" ) diff --git a/ent/runtime.go b/ent/runtime.go index 009bb6b..6fc71f5 100644 --- a/ent/runtime.go +++ b/ent/runtime.go @@ -3,8 +3,8 @@ package ent import ( - "ALHP.GO/ent/dbpackage" - "ALHP.GO/ent/schema" + "git.harting.dev/ALHP/ALHP.GO/ent/dbpackage" + "git.harting.dev/ALHP/ALHP.GO/ent/schema" ) // The init function reads all schema descriptors with runtime code diff --git a/ent/runtime/runtime.go b/ent/runtime/runtime.go index e8d8e0d..04c77dd 100644 --- a/ent/runtime/runtime.go +++ b/ent/runtime/runtime.go @@ -2,7 +2,7 @@ package runtime -// The schema-stitching logic is generated in ALHP.GO/ent/runtime.go +// The schema-stitching logic is generated in git.harting.dev/ALHP/ALHP.GO/ent/runtime.go const ( Version = "v0.10.0" // Version of ent codegen. diff --git a/go.mod b/go.mod index 07a682b..29e08fd 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module ALHP.GO +module git.harting.dev/ALHP/ALHP.GO go 1.16 diff --git a/main.go b/main.go index da34668..5bb64d5 100644 --- a/main.go +++ b/main.go @@ -1,15 +1,15 @@ package main import ( - "ALHP.GO/ent" - "ALHP.GO/ent/dbpackage" - "ALHP.GO/ent/migrate" "bytes" "context" "entgo.io/ent/dialect" "entgo.io/ent/dialect/sql" "flag" "fmt" + "git.harting.dev/ALHP/ALHP.GO/ent" + "git.harting.dev/ALHP/ALHP.GO/ent/dbpackage" + "git.harting.dev/ALHP/ALHP.GO/ent/migrate" "github.com/Jguer/go-alpm/v2" _ "github.com/jackc/pgx/v4/stdlib" log "github.com/sirupsen/logrus" diff --git a/utils.go b/utils.go index 533fc92..4050781 100644 --- a/utils.go +++ b/utils.go @@ -1,14 +1,14 @@ package main import ( - "ALHP.GO/ent" - "ALHP.GO/ent/dbpackage" "context" "crypto/sha256" "encoding/hex" "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqljson" "fmt" + "git.harting.dev/ALHP/ALHP.GO/ent" + "git.harting.dev/ALHP/ALHP.GO/ent/dbpackage" "github.com/Jguer/go-alpm/v2" paconf "github.com/Morganamilo/go-pacmanconf" "github.com/Morganamilo/go-srcinfo"