From d103151620a19feda0ac2bc34ac44c6ac9337cc2 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Wed, 14 Sep 2022 18:29:25 -0800 Subject: [PATCH] change /content/ -> /homebox/ --- backend/app/api/app.go | 12 +++++----- backend/app/api/logger.go | 2 +- backend/app/api/main.go | 12 +++++----- backend/app/api/middleware.go | 6 ++--- backend/app/api/routes.go | 8 +++---- backend/app/api/v1/controller.go | 6 ++--- backend/app/api/v1/controller_test.go | 2 +- backend/app/api/v1/main_test.go | 8 +++---- backend/app/api/v1/partials.go | 6 ++--- backend/app/api/v1/v1_ctrl_auth.go | 6 ++--- backend/app/api/v1/v1_ctrl_items.go | 6 ++--- backend/app/api/v1/v1_ctrl_labels.go | 8 +++---- backend/app/api/v1/v1_ctrl_locations.go | 8 +++---- backend/app/api/v1/v1_ctrl_user.go | 6 ++--- backend/ent/attachment.go | 6 ++--- backend/ent/attachment/where.go | 2 +- backend/ent/attachment_create.go | 6 ++--- backend/ent/attachment_delete.go | 4 ++-- backend/ent/attachment_query.go | 8 +++---- backend/ent/attachment_update.go | 8 +++---- backend/ent/authtokens.go | 4 ++-- backend/ent/authtokens/where.go | 2 +- backend/ent/authtokens_create.go | 4 ++-- backend/ent/authtokens_delete.go | 4 ++-- backend/ent/authtokens_query.go | 6 ++--- backend/ent/authtokens_update.go | 6 ++--- backend/ent/client.go | 22 +++++++++---------- backend/ent/document.go | 4 ++-- backend/ent/document/where.go | 2 +- backend/ent/document_create.go | 8 +++---- backend/ent/document_delete.go | 4 ++-- backend/ent/document_query.go | 10 ++++----- backend/ent/document_update.go | 10 ++++----- backend/ent/documenttoken.go | 4 ++-- backend/ent/documenttoken/where.go | 2 +- backend/ent/documenttoken_create.go | 4 ++-- backend/ent/documenttoken_delete.go | 4 ++-- backend/ent/documenttoken_query.go | 6 ++--- backend/ent/documenttoken_update.go | 6 ++--- backend/ent/ent.go | 20 ++++++++--------- backend/ent/enttest/enttest.go | 6 ++--- backend/ent/group.go | 2 +- backend/ent/group/where.go | 2 +- backend/ent/group_create.go | 12 +++++----- backend/ent/group_delete.go | 4 ++-- backend/ent/group_query.go | 14 ++++++------ backend/ent/group_update.go | 14 ++++++------ backend/ent/hook/hook.go | 2 +- backend/ent/item.go | 6 ++--- backend/ent/item/where.go | 2 +- backend/ent/item_create.go | 12 +++++----- backend/ent/item_delete.go | 4 ++-- backend/ent/item_query.go | 14 ++++++------ backend/ent/item_update.go | 14 ++++++------ backend/ent/itemfield.go | 4 ++-- backend/ent/itemfield/where.go | 2 +- backend/ent/itemfield_create.go | 4 ++-- backend/ent/itemfield_delete.go | 4 ++-- backend/ent/itemfield_query.go | 6 ++--- backend/ent/itemfield_update.go | 6 ++--- backend/ent/label.go | 4 ++-- backend/ent/label/where.go | 2 +- backend/ent/label_create.go | 6 ++--- backend/ent/label_delete.go | 4 ++-- backend/ent/label_query.go | 8 +++---- backend/ent/label_update.go | 8 +++---- backend/ent/location.go | 4 ++-- backend/ent/location/where.go | 2 +- backend/ent/location_create.go | 6 ++--- backend/ent/location_delete.go | 4 ++-- backend/ent/location_query.go | 8 +++---- backend/ent/location_update.go | 8 +++---- backend/ent/mutation.go | 22 +++++++++---------- backend/ent/runtime.go | 22 +++++++++---------- backend/ent/runtime/runtime.go | 2 +- backend/ent/schema/attachment.go | 2 +- backend/ent/schema/auth_tokens.go | 2 +- backend/ent/schema/document.go | 2 +- backend/ent/schema/document_token.go | 2 +- backend/ent/schema/group.go | 2 +- backend/ent/schema/item.go | 2 +- backend/ent/schema/item_field.go | 2 +- backend/ent/schema/label.go | 2 +- backend/ent/schema/location.go | 2 +- backend/ent/schema/user.go | 2 +- backend/ent/user.go | 4 ++-- backend/ent/user/where.go | 2 +- backend/ent/user_create.go | 6 ++--- backend/ent/user_delete.go | 4 ++-- backend/ent/user_query.go | 8 +++---- backend/ent/user_update.go | 8 +++---- backend/go.mod | 2 +- backend/internal/mocks/factories/users.go | 4 ++-- backend/internal/mocks/mocker_services.go | 4 ++-- backend/internal/mocks/mocks_ent_repo.go | 4 ++-- backend/internal/repo/main_test.go | 4 ++-- backend/internal/repo/repo_documents.go | 8 +++---- backend/internal/repo/repo_documents_test.go | 4 ++-- .../internal/repo/repo_documents_tokens.go | 6 ++--- .../repo/repo_documents_tokens_test.go | 6 ++--- backend/internal/repo/repo_group.go | 2 +- .../internal/repo/repo_item_attachments.go | 4 ++-- .../repo/repo_item_attachments_test.go | 4 ++-- backend/internal/repo/repo_items.go | 8 +++---- backend/internal/repo/repo_items_test.go | 4 ++-- backend/internal/repo/repo_labels.go | 8 +++---- backend/internal/repo/repo_labels_test.go | 4 ++-- backend/internal/repo/repo_locations.go | 6 ++--- backend/internal/repo/repo_locations_test.go | 2 +- backend/internal/repo/repo_tokens.go | 6 ++--- backend/internal/repo/repo_tokens_test.go | 4 ++-- backend/internal/repo/repo_users.go | 6 ++--- backend/internal/repo/repo_users_test.go | 4 ++-- backend/internal/repo/repos_all.go | 2 +- backend/internal/services/all.go | 2 +- backend/internal/services/contexts.go | 2 +- backend/internal/services/contexts_test.go | 2 +- backend/internal/services/main_test.go | 8 +++---- backend/internal/services/mappers/items.go | 4 ++-- backend/internal/services/mappers/labels.go | 4 ++-- .../internal/services/mappers/locations.go | 6 ++--- backend/internal/services/mappers/user.go | 4 ++-- backend/internal/services/service_admin.go | 6 ++--- backend/internal/services/service_items.go | 8 +++---- .../internal/services/service_items_csv.go | 2 +- .../internal/services/service_items_test.go | 2 +- backend/internal/services/service_labels.go | 6 ++--- .../internal/services/service_locations.go | 6 ++--- backend/internal/services/service_user.go | 8 +++---- .../services/service_user_defaults.go | 2 +- .../server/response_error_builder_test.go | 2 +- 131 files changed, 369 insertions(+), 369 deletions(-) diff --git a/backend/app/api/app.go b/backend/app/api/app.go index 7176758..7f6b23f 100644 --- a/backend/app/api/app.go +++ b/backend/app/api/app.go @@ -3,12 +3,12 @@ package main import ( "time" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/config" - "github.com/hay-kot/content/backend/internal/repo" - "github.com/hay-kot/content/backend/internal/services" - "github.com/hay-kot/content/backend/pkgs/mailer" - "github.com/hay-kot/content/backend/pkgs/server" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/config" + "github.com/hay-kot/homebox/backend/internal/repo" + "github.com/hay-kot/homebox/backend/internal/services" + "github.com/hay-kot/homebox/backend/pkgs/mailer" + "github.com/hay-kot/homebox/backend/pkgs/server" ) type app struct { diff --git a/backend/app/api/logger.go b/backend/app/api/logger.go index f0cfee4..6756ffc 100644 --- a/backend/app/api/logger.go +++ b/backend/app/api/logger.go @@ -4,7 +4,7 @@ import ( "os" "strings" - "github.com/hay-kot/content/backend/internal/config" + "github.com/hay-kot/homebox/backend/internal/config" "github.com/rs/zerolog" "github.com/rs/zerolog/log" ) diff --git a/backend/app/api/main.go b/backend/app/api/main.go index b1b90eb..a3e9c7b 100644 --- a/backend/app/api/main.go +++ b/backend/app/api/main.go @@ -5,12 +5,12 @@ import ( "os" "time" - "github.com/hay-kot/content/backend/app/api/docs" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/config" - "github.com/hay-kot/content/backend/internal/repo" - "github.com/hay-kot/content/backend/internal/services" - "github.com/hay-kot/content/backend/pkgs/server" + "github.com/hay-kot/homebox/backend/app/api/docs" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/config" + "github.com/hay-kot/homebox/backend/internal/repo" + "github.com/hay-kot/homebox/backend/internal/services" + "github.com/hay-kot/homebox/backend/pkgs/server" _ "github.com/mattn/go-sqlite3" "github.com/rs/zerolog/log" ) diff --git a/backend/app/api/middleware.go b/backend/app/api/middleware.go index aec4917..53f70bb 100644 --- a/backend/app/api/middleware.go +++ b/backend/app/api/middleware.go @@ -8,9 +8,9 @@ import ( "github.com/go-chi/chi/v5" "github.com/go-chi/chi/v5/middleware" - "github.com/hay-kot/content/backend/internal/config" - "github.com/hay-kot/content/backend/internal/services" - "github.com/hay-kot/content/backend/pkgs/server" + "github.com/hay-kot/homebox/backend/internal/config" + "github.com/hay-kot/homebox/backend/internal/services" + "github.com/hay-kot/homebox/backend/pkgs/server" "github.com/rs/zerolog/log" ) diff --git a/backend/app/api/routes.go b/backend/app/api/routes.go index a82a383..b7cd126 100644 --- a/backend/app/api/routes.go +++ b/backend/app/api/routes.go @@ -11,10 +11,10 @@ import ( "path/filepath" "github.com/go-chi/chi/v5" - _ "github.com/hay-kot/content/backend/app/api/docs" - v1 "github.com/hay-kot/content/backend/app/api/v1" - "github.com/hay-kot/content/backend/internal/repo" - "github.com/hay-kot/content/backend/internal/types" + _ "github.com/hay-kot/homebox/backend/app/api/docs" + v1 "github.com/hay-kot/homebox/backend/app/api/v1" + "github.com/hay-kot/homebox/backend/internal/repo" + "github.com/hay-kot/homebox/backend/internal/types" "github.com/rs/zerolog/log" httpSwagger "github.com/swaggo/http-swagger" // http-swagger middleware ) diff --git a/backend/app/api/v1/controller.go b/backend/app/api/v1/controller.go index dda2e20..eb157af 100644 --- a/backend/app/api/v1/controller.go +++ b/backend/app/api/v1/controller.go @@ -3,9 +3,9 @@ package v1 import ( "net/http" - "github.com/hay-kot/content/backend/internal/services" - "github.com/hay-kot/content/backend/internal/types" - "github.com/hay-kot/content/backend/pkgs/server" + "github.com/hay-kot/homebox/backend/internal/services" + "github.com/hay-kot/homebox/backend/internal/types" + "github.com/hay-kot/homebox/backend/pkgs/server" ) type V1Controller struct { diff --git a/backend/app/api/v1/controller_test.go b/backend/app/api/v1/controller_test.go index de8a73e..6f555bb 100644 --- a/backend/app/api/v1/controller_test.go +++ b/backend/app/api/v1/controller_test.go @@ -5,7 +5,7 @@ import ( "net/http/httptest" "testing" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/internal/types" "github.com/stretchr/testify/assert" ) diff --git a/backend/app/api/v1/main_test.go b/backend/app/api/v1/main_test.go index 408a641..ee08ccd 100644 --- a/backend/app/api/v1/main_test.go +++ b/backend/app/api/v1/main_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/mocks" - "github.com/hay-kot/content/backend/internal/mocks/factories" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/mocks" + "github.com/hay-kot/homebox/backend/internal/mocks/factories" + "github.com/hay-kot/homebox/backend/internal/types" ) var mockHandler = &V1Controller{} diff --git a/backend/app/api/v1/partials.go b/backend/app/api/v1/partials.go index 7fe0cbf..195ce8b 100644 --- a/backend/app/api/v1/partials.go +++ b/backend/app/api/v1/partials.go @@ -5,9 +5,9 @@ import ( "github.com/go-chi/chi/v5" "github.com/google/uuid" - "github.com/hay-kot/content/backend/internal/services" - "github.com/hay-kot/content/backend/internal/types" - "github.com/hay-kot/content/backend/pkgs/server" + "github.com/hay-kot/homebox/backend/internal/services" + "github.com/hay-kot/homebox/backend/internal/types" + "github.com/hay-kot/homebox/backend/pkgs/server" "github.com/rs/zerolog/log" ) diff --git a/backend/app/api/v1/v1_ctrl_auth.go b/backend/app/api/v1/v1_ctrl_auth.go index 851a638..2a44664 100644 --- a/backend/app/api/v1/v1_ctrl_auth.go +++ b/backend/app/api/v1/v1_ctrl_auth.go @@ -4,9 +4,9 @@ import ( "errors" "net/http" - "github.com/hay-kot/content/backend/internal/services" - "github.com/hay-kot/content/backend/internal/types" - "github.com/hay-kot/content/backend/pkgs/server" + "github.com/hay-kot/homebox/backend/internal/services" + "github.com/hay-kot/homebox/backend/internal/types" + "github.com/hay-kot/homebox/backend/pkgs/server" "github.com/rs/zerolog/log" ) diff --git a/backend/app/api/v1/v1_ctrl_items.go b/backend/app/api/v1/v1_ctrl_items.go index 23a0d92..61e5d3e 100644 --- a/backend/app/api/v1/v1_ctrl_items.go +++ b/backend/app/api/v1/v1_ctrl_items.go @@ -4,9 +4,9 @@ import ( "encoding/csv" "net/http" - "github.com/hay-kot/content/backend/internal/services" - "github.com/hay-kot/content/backend/internal/types" - "github.com/hay-kot/content/backend/pkgs/server" + "github.com/hay-kot/homebox/backend/internal/services" + "github.com/hay-kot/homebox/backend/internal/types" + "github.com/hay-kot/homebox/backend/pkgs/server" "github.com/rs/zerolog/log" ) diff --git a/backend/app/api/v1/v1_ctrl_labels.go b/backend/app/api/v1/v1_ctrl_labels.go index 359d385..38bd666 100644 --- a/backend/app/api/v1/v1_ctrl_labels.go +++ b/backend/app/api/v1/v1_ctrl_labels.go @@ -3,10 +3,10 @@ package v1 import ( "net/http" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/services" - "github.com/hay-kot/content/backend/internal/types" - "github.com/hay-kot/content/backend/pkgs/server" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/services" + "github.com/hay-kot/homebox/backend/internal/types" + "github.com/hay-kot/homebox/backend/pkgs/server" "github.com/rs/zerolog/log" ) diff --git a/backend/app/api/v1/v1_ctrl_locations.go b/backend/app/api/v1/v1_ctrl_locations.go index 38de872..6126d3d 100644 --- a/backend/app/api/v1/v1_ctrl_locations.go +++ b/backend/app/api/v1/v1_ctrl_locations.go @@ -3,10 +3,10 @@ package v1 import ( "net/http" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/services" - "github.com/hay-kot/content/backend/internal/types" - "github.com/hay-kot/content/backend/pkgs/server" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/services" + "github.com/hay-kot/homebox/backend/internal/types" + "github.com/hay-kot/homebox/backend/pkgs/server" "github.com/rs/zerolog/log" ) diff --git a/backend/app/api/v1/v1_ctrl_user.go b/backend/app/api/v1/v1_ctrl_user.go index f7c4de6..0a4b7c7 100644 --- a/backend/app/api/v1/v1_ctrl_user.go +++ b/backend/app/api/v1/v1_ctrl_user.go @@ -4,9 +4,9 @@ import ( "net/http" "github.com/google/uuid" - "github.com/hay-kot/content/backend/internal/services" - "github.com/hay-kot/content/backend/internal/types" - "github.com/hay-kot/content/backend/pkgs/server" + "github.com/hay-kot/homebox/backend/internal/services" + "github.com/hay-kot/homebox/backend/internal/types" + "github.com/hay-kot/homebox/backend/pkgs/server" "github.com/rs/zerolog/log" ) diff --git a/backend/ent/attachment.go b/backend/ent/attachment.go index b22b8db..8e70341 100644 --- a/backend/ent/attachment.go +++ b/backend/ent/attachment.go @@ -9,9 +9,9 @@ import ( "entgo.io/ent/dialect/sql" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/item" ) // Attachment is the model entity for the Attachment schema. diff --git a/backend/ent/attachment/where.go b/backend/ent/attachment/where.go index c601949..e898d49 100644 --- a/backend/ent/attachment/where.go +++ b/backend/ent/attachment/where.go @@ -8,7 +8,7 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/backend/ent/attachment_create.go b/backend/ent/attachment_create.go index fdce24b..75d6cec 100644 --- a/backend/ent/attachment_create.go +++ b/backend/ent/attachment_create.go @@ -11,9 +11,9 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/item" ) // AttachmentCreate is the builder for creating a Attachment entity. diff --git a/backend/ent/attachment_delete.go b/backend/ent/attachment_delete.go index 0b858cc..a1cda49 100644 --- a/backend/ent/attachment_delete.go +++ b/backend/ent/attachment_delete.go @@ -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/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // AttachmentDelete is the builder for deleting a Attachment entity. diff --git a/backend/ent/attachment_query.go b/backend/ent/attachment_query.go index f657057..d088cce 100644 --- a/backend/ent/attachment_query.go +++ b/backend/ent/attachment_query.go @@ -11,10 +11,10 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // AttachmentQuery is the builder for querying Attachment entities. diff --git a/backend/ent/attachment_update.go b/backend/ent/attachment_update.go index 53b5feb..1801c22 100644 --- a/backend/ent/attachment_update.go +++ b/backend/ent/attachment_update.go @@ -12,10 +12,10 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // AttachmentUpdate is the builder for updating Attachment entities. diff --git a/backend/ent/authtokens.go b/backend/ent/authtokens.go index 94784d8..24731d5 100644 --- a/backend/ent/authtokens.go +++ b/backend/ent/authtokens.go @@ -9,8 +9,8 @@ import ( "entgo.io/ent/dialect/sql" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/authtokens" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/authtokens" + "github.com/hay-kot/homebox/backend/ent/user" ) // AuthTokens is the model entity for the AuthTokens schema. diff --git a/backend/ent/authtokens/where.go b/backend/ent/authtokens/where.go index 015b4af..edb237b 100644 --- a/backend/ent/authtokens/where.go +++ b/backend/ent/authtokens/where.go @@ -8,7 +8,7 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/backend/ent/authtokens_create.go b/backend/ent/authtokens_create.go index 4336c2b..491711a 100644 --- a/backend/ent/authtokens_create.go +++ b/backend/ent/authtokens_create.go @@ -11,8 +11,8 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/authtokens" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/authtokens" + "github.com/hay-kot/homebox/backend/ent/user" ) // AuthTokensCreate is the builder for creating a AuthTokens entity. diff --git a/backend/ent/authtokens_delete.go b/backend/ent/authtokens_delete.go index 682f0d5..7b86122 100644 --- a/backend/ent/authtokens_delete.go +++ b/backend/ent/authtokens_delete.go @@ -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/content/backend/ent/authtokens" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/authtokens" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // AuthTokensDelete is the builder for deleting a AuthTokens entity. diff --git a/backend/ent/authtokens_query.go b/backend/ent/authtokens_query.go index 38fa9c5..d1484e6 100644 --- a/backend/ent/authtokens_query.go +++ b/backend/ent/authtokens_query.go @@ -11,9 +11,9 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/authtokens" - "github.com/hay-kot/content/backend/ent/predicate" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/authtokens" + "github.com/hay-kot/homebox/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/user" ) // AuthTokensQuery is the builder for querying AuthTokens entities. diff --git a/backend/ent/authtokens_update.go b/backend/ent/authtokens_update.go index 0c64f16..11e06f2 100644 --- a/backend/ent/authtokens_update.go +++ b/backend/ent/authtokens_update.go @@ -12,9 +12,9 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/authtokens" - "github.com/hay-kot/content/backend/ent/predicate" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/authtokens" + "github.com/hay-kot/homebox/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/user" ) // AuthTokensUpdate is the builder for updating AuthTokens entities. diff --git a/backend/ent/client.go b/backend/ent/client.go index fd39792..63c91ac 100644 --- a/backend/ent/client.go +++ b/backend/ent/client.go @@ -9,18 +9,18 @@ import ( "log" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/migrate" + "github.com/hay-kot/homebox/backend/ent/migrate" - "github.com/hay-kot/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/ent/authtokens" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/documenttoken" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/itemfield" - "github.com/hay-kot/content/backend/ent/label" - "github.com/hay-kot/content/backend/ent/location" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent/authtokens" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/documenttoken" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/itemfield" + "github.com/hay-kot/homebox/backend/ent/label" + "github.com/hay-kot/homebox/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/user" "entgo.io/ent/dialect" "entgo.io/ent/dialect/sql" diff --git a/backend/ent/document.go b/backend/ent/document.go index 14a33ca..aef3bc2 100644 --- a/backend/ent/document.go +++ b/backend/ent/document.go @@ -9,8 +9,8 @@ import ( "entgo.io/ent/dialect/sql" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/group" ) // Document is the model entity for the Document schema. diff --git a/backend/ent/document/where.go b/backend/ent/document/where.go index f859293..c4efce5 100644 --- a/backend/ent/document/where.go +++ b/backend/ent/document/where.go @@ -8,7 +8,7 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/backend/ent/document_create.go b/backend/ent/document_create.go index ea98c1e..4411e16 100644 --- a/backend/ent/document_create.go +++ b/backend/ent/document_create.go @@ -11,10 +11,10 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/documenttoken" - "github.com/hay-kot/content/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/documenttoken" + "github.com/hay-kot/homebox/backend/ent/group" ) // DocumentCreate is the builder for creating a Document entity. diff --git a/backend/ent/document_delete.go b/backend/ent/document_delete.go index 2b5f19a..06ccaf1 100644 --- a/backend/ent/document_delete.go +++ b/backend/ent/document_delete.go @@ -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/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // DocumentDelete is the builder for deleting a Document entity. diff --git a/backend/ent/document_query.go b/backend/ent/document_query.go index 0739e02..1f43079 100644 --- a/backend/ent/document_query.go +++ b/backend/ent/document_query.go @@ -12,11 +12,11 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/documenttoken" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/documenttoken" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // DocumentQuery is the builder for querying Document entities. diff --git a/backend/ent/document_update.go b/backend/ent/document_update.go index 6aab168..fb1b971 100644 --- a/backend/ent/document_update.go +++ b/backend/ent/document_update.go @@ -12,11 +12,11 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/documenttoken" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/documenttoken" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // DocumentUpdate is the builder for updating Document entities. diff --git a/backend/ent/documenttoken.go b/backend/ent/documenttoken.go index c3b0a9e..c4de9a5 100644 --- a/backend/ent/documenttoken.go +++ b/backend/ent/documenttoken.go @@ -9,8 +9,8 @@ import ( "entgo.io/ent/dialect/sql" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/documenttoken" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/documenttoken" ) // DocumentToken is the model entity for the DocumentToken schema. diff --git a/backend/ent/documenttoken/where.go b/backend/ent/documenttoken/where.go index 918b975..9975a33 100644 --- a/backend/ent/documenttoken/where.go +++ b/backend/ent/documenttoken/where.go @@ -8,7 +8,7 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/backend/ent/documenttoken_create.go b/backend/ent/documenttoken_create.go index 65908b6..b4585d5 100644 --- a/backend/ent/documenttoken_create.go +++ b/backend/ent/documenttoken_create.go @@ -11,8 +11,8 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/documenttoken" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/documenttoken" ) // DocumentTokenCreate is the builder for creating a DocumentToken entity. diff --git a/backend/ent/documenttoken_delete.go b/backend/ent/documenttoken_delete.go index bc8f488..fa9b7a1 100644 --- a/backend/ent/documenttoken_delete.go +++ b/backend/ent/documenttoken_delete.go @@ -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/content/backend/ent/documenttoken" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/documenttoken" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // DocumentTokenDelete is the builder for deleting a DocumentToken entity. diff --git a/backend/ent/documenttoken_query.go b/backend/ent/documenttoken_query.go index bd48c10..f0c2198 100644 --- a/backend/ent/documenttoken_query.go +++ b/backend/ent/documenttoken_query.go @@ -11,9 +11,9 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/documenttoken" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/documenttoken" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // DocumentTokenQuery is the builder for querying DocumentToken entities. diff --git a/backend/ent/documenttoken_update.go b/backend/ent/documenttoken_update.go index e4586be..dc77dcc 100644 --- a/backend/ent/documenttoken_update.go +++ b/backend/ent/documenttoken_update.go @@ -12,9 +12,9 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/documenttoken" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/documenttoken" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // DocumentTokenUpdate is the builder for updating DocumentToken entities. diff --git a/backend/ent/ent.go b/backend/ent/ent.go index 997c25e..0364759 100644 --- a/backend/ent/ent.go +++ b/backend/ent/ent.go @@ -10,16 +10,16 @@ import ( "entgo.io/ent" "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" - "github.com/hay-kot/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/ent/authtokens" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/documenttoken" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/itemfield" - "github.com/hay-kot/content/backend/ent/label" - "github.com/hay-kot/content/backend/ent/location" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent/authtokens" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/documenttoken" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/itemfield" + "github.com/hay-kot/homebox/backend/ent/label" + "github.com/hay-kot/homebox/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/user" ) // ent aliases to avoid import conflicts in user's code. diff --git a/backend/ent/enttest/enttest.go b/backend/ent/enttest/enttest.go index b14ee60..ee46d3d 100644 --- a/backend/ent/enttest/enttest.go +++ b/backend/ent/enttest/enttest.go @@ -5,12 +5,12 @@ package enttest import ( "context" - "github.com/hay-kot/content/backend/ent" + "github.com/hay-kot/homebox/backend/ent" // required by schema hooks. - _ "github.com/hay-kot/content/backend/ent/runtime" + _ "github.com/hay-kot/homebox/backend/ent/runtime" "entgo.io/ent/dialect/sql/schema" - "github.com/hay-kot/content/backend/ent/migrate" + "github.com/hay-kot/homebox/backend/ent/migrate" ) type ( diff --git a/backend/ent/group.go b/backend/ent/group.go index 39f38ca..65d956a 100644 --- a/backend/ent/group.go +++ b/backend/ent/group.go @@ -9,7 +9,7 @@ import ( "entgo.io/ent/dialect/sql" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/group" ) // Group is the model entity for the Group schema. diff --git a/backend/ent/group/where.go b/backend/ent/group/where.go index f6c759d..04f7ec8 100644 --- a/backend/ent/group/where.go +++ b/backend/ent/group/where.go @@ -8,7 +8,7 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/backend/ent/group_create.go b/backend/ent/group_create.go index a72eefe..86080f2 100644 --- a/backend/ent/group_create.go +++ b/backend/ent/group_create.go @@ -11,12 +11,12 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/label" - "github.com/hay-kot/content/backend/ent/location" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/label" + "github.com/hay-kot/homebox/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/user" ) // GroupCreate is the builder for creating a Group entity. diff --git a/backend/ent/group_delete.go b/backend/ent/group_delete.go index a15128f..23dfa0c 100644 --- a/backend/ent/group_delete.go +++ b/backend/ent/group_delete.go @@ -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/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // GroupDelete is the builder for deleting a Group entity. diff --git a/backend/ent/group_query.go b/backend/ent/group_query.go index cb3a1c6..e82f725 100644 --- a/backend/ent/group_query.go +++ b/backend/ent/group_query.go @@ -12,13 +12,13 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/label" - "github.com/hay-kot/content/backend/ent/location" - "github.com/hay-kot/content/backend/ent/predicate" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/label" + "github.com/hay-kot/homebox/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/user" ) // GroupQuery is the builder for querying Group entities. diff --git a/backend/ent/group_update.go b/backend/ent/group_update.go index 4ebf709..0c60708 100644 --- a/backend/ent/group_update.go +++ b/backend/ent/group_update.go @@ -12,13 +12,13 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/label" - "github.com/hay-kot/content/backend/ent/location" - "github.com/hay-kot/content/backend/ent/predicate" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/label" + "github.com/hay-kot/homebox/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/user" ) // GroupUpdate is the builder for updating Group entities. diff --git a/backend/ent/hook/hook.go b/backend/ent/hook/hook.go index 095e929..fe2ec6d 100644 --- a/backend/ent/hook/hook.go +++ b/backend/ent/hook/hook.go @@ -6,7 +6,7 @@ import ( "context" "fmt" - "github.com/hay-kot/content/backend/ent" + "github.com/hay-kot/homebox/backend/ent" ) // The AttachmentFunc type is an adapter to allow the use of ordinary diff --git a/backend/ent/item.go b/backend/ent/item.go index d2d6a6a..b58cbd2 100644 --- a/backend/ent/item.go +++ b/backend/ent/item.go @@ -9,9 +9,9 @@ import ( "entgo.io/ent/dialect/sql" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/location" ) // Item is the model entity for the Item schema. diff --git a/backend/ent/item/where.go b/backend/ent/item/where.go index 258af9b..6cec831 100644 --- a/backend/ent/item/where.go +++ b/backend/ent/item/where.go @@ -8,7 +8,7 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/backend/ent/item_create.go b/backend/ent/item_create.go index e229099..1ad1837 100644 --- a/backend/ent/item_create.go +++ b/backend/ent/item_create.go @@ -11,12 +11,12 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/itemfield" - "github.com/hay-kot/content/backend/ent/label" - "github.com/hay-kot/content/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/itemfield" + "github.com/hay-kot/homebox/backend/ent/label" + "github.com/hay-kot/homebox/backend/ent/location" ) // ItemCreate is the builder for creating a Item entity. diff --git a/backend/ent/item_delete.go b/backend/ent/item_delete.go index 9fea485..1f8b6f8 100644 --- a/backend/ent/item_delete.go +++ b/backend/ent/item_delete.go @@ -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/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ItemDelete is the builder for deleting a Item entity. diff --git a/backend/ent/item_query.go b/backend/ent/item_query.go index a922b5b..70ea7d4 100644 --- a/backend/ent/item_query.go +++ b/backend/ent/item_query.go @@ -12,13 +12,13 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/itemfield" - "github.com/hay-kot/content/backend/ent/label" - "github.com/hay-kot/content/backend/ent/location" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/itemfield" + "github.com/hay-kot/homebox/backend/ent/label" + "github.com/hay-kot/homebox/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ItemQuery is the builder for querying Item entities. diff --git a/backend/ent/item_update.go b/backend/ent/item_update.go index d2a691d..ef31b2a 100644 --- a/backend/ent/item_update.go +++ b/backend/ent/item_update.go @@ -12,13 +12,13 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/itemfield" - "github.com/hay-kot/content/backend/ent/label" - "github.com/hay-kot/content/backend/ent/location" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/itemfield" + "github.com/hay-kot/homebox/backend/ent/label" + "github.com/hay-kot/homebox/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ItemUpdate is the builder for updating Item entities. diff --git a/backend/ent/itemfield.go b/backend/ent/itemfield.go index 9dfbf65..d252ec9 100644 --- a/backend/ent/itemfield.go +++ b/backend/ent/itemfield.go @@ -9,8 +9,8 @@ import ( "entgo.io/ent/dialect/sql" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/itemfield" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/itemfield" ) // ItemField is the model entity for the ItemField schema. diff --git a/backend/ent/itemfield/where.go b/backend/ent/itemfield/where.go index e319aa6..ebe4b61 100644 --- a/backend/ent/itemfield/where.go +++ b/backend/ent/itemfield/where.go @@ -8,7 +8,7 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/backend/ent/itemfield_create.go b/backend/ent/itemfield_create.go index 3e01a89..ad9fd96 100644 --- a/backend/ent/itemfield_create.go +++ b/backend/ent/itemfield_create.go @@ -11,8 +11,8 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/itemfield" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/itemfield" ) // ItemFieldCreate is the builder for creating a ItemField entity. diff --git a/backend/ent/itemfield_delete.go b/backend/ent/itemfield_delete.go index 2db4de3..e5ba38f 100644 --- a/backend/ent/itemfield_delete.go +++ b/backend/ent/itemfield_delete.go @@ -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/content/backend/ent/itemfield" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/itemfield" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ItemFieldDelete is the builder for deleting a ItemField entity. diff --git a/backend/ent/itemfield_query.go b/backend/ent/itemfield_query.go index d26cfcf..ac1b9e3 100644 --- a/backend/ent/itemfield_query.go +++ b/backend/ent/itemfield_query.go @@ -11,9 +11,9 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/itemfield" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/itemfield" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ItemFieldQuery is the builder for querying ItemField entities. diff --git a/backend/ent/itemfield_update.go b/backend/ent/itemfield_update.go index 1ba66df..cac8fed 100644 --- a/backend/ent/itemfield_update.go +++ b/backend/ent/itemfield_update.go @@ -12,9 +12,9 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/itemfield" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/itemfield" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ItemFieldUpdate is the builder for updating ItemField entities. diff --git a/backend/ent/label.go b/backend/ent/label.go index a010753..39420f4 100644 --- a/backend/ent/label.go +++ b/backend/ent/label.go @@ -9,8 +9,8 @@ import ( "entgo.io/ent/dialect/sql" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/label" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/label" ) // Label is the model entity for the Label schema. diff --git a/backend/ent/label/where.go b/backend/ent/label/where.go index 01d0f2d..e01eea7 100644 --- a/backend/ent/label/where.go +++ b/backend/ent/label/where.go @@ -8,7 +8,7 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/backend/ent/label_create.go b/backend/ent/label_create.go index 65db3c6..7330747 100644 --- a/backend/ent/label_create.go +++ b/backend/ent/label_create.go @@ -11,9 +11,9 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/label" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/label" ) // LabelCreate is the builder for creating a Label entity. diff --git a/backend/ent/label_delete.go b/backend/ent/label_delete.go index e9eb6bc..aef8be0 100644 --- a/backend/ent/label_delete.go +++ b/backend/ent/label_delete.go @@ -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/content/backend/ent/label" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/label" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // LabelDelete is the builder for deleting a Label entity. diff --git a/backend/ent/label_query.go b/backend/ent/label_query.go index b54aa58..80b4af5 100644 --- a/backend/ent/label_query.go +++ b/backend/ent/label_query.go @@ -12,10 +12,10 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/label" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/label" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // LabelQuery is the builder for querying Label entities. diff --git a/backend/ent/label_update.go b/backend/ent/label_update.go index 8135a56..ef0af15 100644 --- a/backend/ent/label_update.go +++ b/backend/ent/label_update.go @@ -12,10 +12,10 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/label" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/label" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // LabelUpdate is the builder for updating Label entities. diff --git a/backend/ent/location.go b/backend/ent/location.go index 4222152..e0c9517 100644 --- a/backend/ent/location.go +++ b/backend/ent/location.go @@ -9,8 +9,8 @@ import ( "entgo.io/ent/dialect/sql" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/location" ) // Location is the model entity for the Location schema. diff --git a/backend/ent/location/where.go b/backend/ent/location/where.go index 625a038..f72c16d 100644 --- a/backend/ent/location/where.go +++ b/backend/ent/location/where.go @@ -8,7 +8,7 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/backend/ent/location_create.go b/backend/ent/location_create.go index a468ce9..df6a88e 100644 --- a/backend/ent/location_create.go +++ b/backend/ent/location_create.go @@ -11,9 +11,9 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/location" ) // LocationCreate is the builder for creating a Location entity. diff --git a/backend/ent/location_delete.go b/backend/ent/location_delete.go index 5ec513b..8bc6db3 100644 --- a/backend/ent/location_delete.go +++ b/backend/ent/location_delete.go @@ -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/content/backend/ent/location" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // LocationDelete is the builder for deleting a Location entity. diff --git a/backend/ent/location_query.go b/backend/ent/location_query.go index 447ed9f..5edd2d2 100644 --- a/backend/ent/location_query.go +++ b/backend/ent/location_query.go @@ -12,10 +12,10 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/location" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // LocationQuery is the builder for querying Location entities. diff --git a/backend/ent/location_update.go b/backend/ent/location_update.go index 0506558..064634c 100644 --- a/backend/ent/location_update.go +++ b/backend/ent/location_update.go @@ -12,10 +12,10 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/location" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // LocationUpdate is the builder for updating Location entities. diff --git a/backend/ent/mutation.go b/backend/ent/mutation.go index ed69d15..bbd71a5 100644 --- a/backend/ent/mutation.go +++ b/backend/ent/mutation.go @@ -10,17 +10,17 @@ import ( "time" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/ent/authtokens" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/documenttoken" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/itemfield" - "github.com/hay-kot/content/backend/ent/label" - "github.com/hay-kot/content/backend/ent/location" - "github.com/hay-kot/content/backend/ent/predicate" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent/authtokens" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/documenttoken" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/itemfield" + "github.com/hay-kot/homebox/backend/ent/label" + "github.com/hay-kot/homebox/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/user" "entgo.io/ent" ) diff --git a/backend/ent/runtime.go b/backend/ent/runtime.go index a82fb10..6414b69 100644 --- a/backend/ent/runtime.go +++ b/backend/ent/runtime.go @@ -6,17 +6,17 @@ import ( "time" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/ent/authtokens" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/documenttoken" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/ent/itemfield" - "github.com/hay-kot/content/backend/ent/label" - "github.com/hay-kot/content/backend/ent/location" - "github.com/hay-kot/content/backend/ent/schema" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent/authtokens" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/documenttoken" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/ent/itemfield" + "github.com/hay-kot/homebox/backend/ent/label" + "github.com/hay-kot/homebox/backend/ent/location" + "github.com/hay-kot/homebox/backend/ent/schema" + "github.com/hay-kot/homebox/backend/ent/user" ) // The init function reads all schema descriptors with runtime code diff --git a/backend/ent/runtime/runtime.go b/backend/ent/runtime/runtime.go index f07467e..e0a5718 100644 --- a/backend/ent/runtime/runtime.go +++ b/backend/ent/runtime/runtime.go @@ -2,7 +2,7 @@ package runtime -// The schema-stitching logic is generated in github.com/hay-kot/content/backend/ent/runtime.go +// The schema-stitching logic is generated in github.com/hay-kot/homebox/backend/ent/runtime.go const ( Version = "v0.11.2" // Version of ent codegen. diff --git a/backend/ent/schema/attachment.go b/backend/ent/schema/attachment.go index b0adb8c..4a13ba8 100644 --- a/backend/ent/schema/attachment.go +++ b/backend/ent/schema/attachment.go @@ -4,7 +4,7 @@ import ( "entgo.io/ent" "entgo.io/ent/schema/edge" "entgo.io/ent/schema/field" - "github.com/hay-kot/content/backend/ent/schema/mixins" + "github.com/hay-kot/homebox/backend/ent/schema/mixins" ) // Attachment holds the schema definition for the Attachment entity. diff --git a/backend/ent/schema/auth_tokens.go b/backend/ent/schema/auth_tokens.go index 9063581..41beafa 100644 --- a/backend/ent/schema/auth_tokens.go +++ b/backend/ent/schema/auth_tokens.go @@ -7,7 +7,7 @@ import ( "entgo.io/ent/schema/edge" "entgo.io/ent/schema/field" "entgo.io/ent/schema/index" - "github.com/hay-kot/content/backend/ent/schema/mixins" + "github.com/hay-kot/homebox/backend/ent/schema/mixins" ) // AuthTokens holds the schema definition for the AuthTokens entity. diff --git a/backend/ent/schema/document.go b/backend/ent/schema/document.go index 9797b0f..f6b2c57 100644 --- a/backend/ent/schema/document.go +++ b/backend/ent/schema/document.go @@ -5,7 +5,7 @@ import ( "entgo.io/ent/dialect/entsql" "entgo.io/ent/schema/edge" "entgo.io/ent/schema/field" - "github.com/hay-kot/content/backend/ent/schema/mixins" + "github.com/hay-kot/homebox/backend/ent/schema/mixins" ) // Document holds the schema definition for the Document entity. diff --git a/backend/ent/schema/document_token.go b/backend/ent/schema/document_token.go index 8a4d10a..7423996 100644 --- a/backend/ent/schema/document_token.go +++ b/backend/ent/schema/document_token.go @@ -7,7 +7,7 @@ import ( "entgo.io/ent/schema/edge" "entgo.io/ent/schema/field" "entgo.io/ent/schema/index" - "github.com/hay-kot/content/backend/ent/schema/mixins" + "github.com/hay-kot/homebox/backend/ent/schema/mixins" ) // DocumentToken holds the schema definition for the DocumentToken entity. diff --git a/backend/ent/schema/group.go b/backend/ent/schema/group.go index a5c863e..97237ca 100644 --- a/backend/ent/schema/group.go +++ b/backend/ent/schema/group.go @@ -5,7 +5,7 @@ import ( "entgo.io/ent/dialect/entsql" "entgo.io/ent/schema/edge" "entgo.io/ent/schema/field" - "github.com/hay-kot/content/backend/ent/schema/mixins" + "github.com/hay-kot/homebox/backend/ent/schema/mixins" ) // Group holds the schema definition for the Group entity. diff --git a/backend/ent/schema/item.go b/backend/ent/schema/item.go index 127f8d8..9728fd8 100644 --- a/backend/ent/schema/item.go +++ b/backend/ent/schema/item.go @@ -6,7 +6,7 @@ import ( "entgo.io/ent/schema/edge" "entgo.io/ent/schema/field" "entgo.io/ent/schema/index" - "github.com/hay-kot/content/backend/ent/schema/mixins" + "github.com/hay-kot/homebox/backend/ent/schema/mixins" ) // Item holds the schema definition for the Item entity. diff --git a/backend/ent/schema/item_field.go b/backend/ent/schema/item_field.go index e5d157c..56be98a 100644 --- a/backend/ent/schema/item_field.go +++ b/backend/ent/schema/item_field.go @@ -6,7 +6,7 @@ import ( "entgo.io/ent" "entgo.io/ent/schema/edge" "entgo.io/ent/schema/field" - "github.com/hay-kot/content/backend/ent/schema/mixins" + "github.com/hay-kot/homebox/backend/ent/schema/mixins" ) // ItemField holds the schema definition for the ItemField entity. diff --git a/backend/ent/schema/label.go b/backend/ent/schema/label.go index 7f60552..7f65d55 100644 --- a/backend/ent/schema/label.go +++ b/backend/ent/schema/label.go @@ -5,7 +5,7 @@ import ( "entgo.io/ent/dialect/entsql" "entgo.io/ent/schema/edge" "entgo.io/ent/schema/field" - "github.com/hay-kot/content/backend/ent/schema/mixins" + "github.com/hay-kot/homebox/backend/ent/schema/mixins" ) // Label holds the schema definition for the Label entity. diff --git a/backend/ent/schema/location.go b/backend/ent/schema/location.go index 4206983..74e0abb 100644 --- a/backend/ent/schema/location.go +++ b/backend/ent/schema/location.go @@ -4,7 +4,7 @@ import ( "entgo.io/ent" "entgo.io/ent/dialect/entsql" "entgo.io/ent/schema/edge" - "github.com/hay-kot/content/backend/ent/schema/mixins" + "github.com/hay-kot/homebox/backend/ent/schema/mixins" ) // Location holds the schema definition for the Location entity. diff --git a/backend/ent/schema/user.go b/backend/ent/schema/user.go index 6fe72b6..b058b20 100644 --- a/backend/ent/schema/user.go +++ b/backend/ent/schema/user.go @@ -5,7 +5,7 @@ import ( "entgo.io/ent/dialect/entsql" "entgo.io/ent/schema/edge" "entgo.io/ent/schema/field" - "github.com/hay-kot/content/backend/ent/schema/mixins" + "github.com/hay-kot/homebox/backend/ent/schema/mixins" ) // User holds the schema definition for the User entity. diff --git a/backend/ent/user.go b/backend/ent/user.go index b3387f4..ff21fa1 100644 --- a/backend/ent/user.go +++ b/backend/ent/user.go @@ -9,8 +9,8 @@ import ( "entgo.io/ent/dialect/sql" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/user" ) // User is the model entity for the User schema. diff --git a/backend/ent/user/where.go b/backend/ent/user/where.go index b7b468c..d020d3b 100644 --- a/backend/ent/user/where.go +++ b/backend/ent/user/where.go @@ -8,7 +8,7 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/predicate" ) // ID filters vertices based on their ID field. diff --git a/backend/ent/user_create.go b/backend/ent/user_create.go index c0f4c25..51c8151 100644 --- a/backend/ent/user_create.go +++ b/backend/ent/user_create.go @@ -11,9 +11,9 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/authtokens" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/authtokens" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/user" ) // UserCreate is the builder for creating a User entity. diff --git a/backend/ent/user_delete.go b/backend/ent/user_delete.go index cb23cc3..6d8b949 100644 --- a/backend/ent/user_delete.go +++ b/backend/ent/user_delete.go @@ -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/content/backend/ent/predicate" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/user" ) // UserDelete is the builder for deleting a User entity. diff --git a/backend/ent/user_query.go b/backend/ent/user_query.go index 8dc2461..f83e90f 100644 --- a/backend/ent/user_query.go +++ b/backend/ent/user_query.go @@ -12,10 +12,10 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/authtokens" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/predicate" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/authtokens" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/user" ) // UserQuery is the builder for querying User entities. diff --git a/backend/ent/user_update.go b/backend/ent/user_update.go index 1cccc6f..7d9bbad 100644 --- a/backend/ent/user_update.go +++ b/backend/ent/user_update.go @@ -12,10 +12,10 @@ import ( "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/authtokens" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/predicate" - "github.com/hay-kot/content/backend/ent/user" + "github.com/hay-kot/homebox/backend/ent/authtokens" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/predicate" + "github.com/hay-kot/homebox/backend/ent/user" ) // UserUpdate is the builder for updating User entities. diff --git a/backend/go.mod b/backend/go.mod index 0d9d4eb..18f63b6 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -1,4 +1,4 @@ -module github.com/hay-kot/content/backend +module github.com/hay-kot/homebox/backend go 1.19 diff --git a/backend/internal/mocks/factories/users.go b/backend/internal/mocks/factories/users.go index 1265768..4f9389d 100644 --- a/backend/internal/mocks/factories/users.go +++ b/backend/internal/mocks/factories/users.go @@ -1,8 +1,8 @@ package factories import ( - "github.com/hay-kot/content/backend/internal/types" - "github.com/hay-kot/content/backend/pkgs/faker" + "github.com/hay-kot/homebox/backend/internal/types" + "github.com/hay-kot/homebox/backend/pkgs/faker" ) func UserFactory() types.UserCreate { diff --git a/backend/internal/mocks/mocker_services.go b/backend/internal/mocks/mocker_services.go index e44b464..dab71e0 100644 --- a/backend/internal/mocks/mocker_services.go +++ b/backend/internal/mocks/mocker_services.go @@ -1,8 +1,8 @@ package mocks import ( - "github.com/hay-kot/content/backend/internal/repo" - "github.com/hay-kot/content/backend/internal/services" + "github.com/hay-kot/homebox/backend/internal/repo" + "github.com/hay-kot/homebox/backend/internal/services" ) func GetMockServices(repos *repo.AllRepos) *services.AllServices { diff --git a/backend/internal/mocks/mocks_ent_repo.go b/backend/internal/mocks/mocks_ent_repo.go index e0b7e81..4b7abcc 100644 --- a/backend/internal/mocks/mocks_ent_repo.go +++ b/backend/internal/mocks/mocks_ent_repo.go @@ -3,8 +3,8 @@ package mocks import ( "context" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/repo" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/repo" _ "github.com/mattn/go-sqlite3" ) diff --git a/backend/internal/repo/main_test.go b/backend/internal/repo/main_test.go index 5644178..14bfbd8 100644 --- a/backend/internal/repo/main_test.go +++ b/backend/internal/repo/main_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/pkgs/faker" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/pkgs/faker" _ "github.com/mattn/go-sqlite3" ) diff --git a/backend/internal/repo/repo_documents.go b/backend/internal/repo/repo_documents.go index 9cb4c0f..e91b9a6 100644 --- a/backend/internal/repo/repo_documents.go +++ b/backend/internal/repo/repo_documents.go @@ -4,10 +4,10 @@ import ( "context" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/ent/document" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/ent/document" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/internal/types" ) // DocumentRepository is a repository for Document entity diff --git a/backend/internal/repo/repo_documents_test.go b/backend/internal/repo/repo_documents_test.go index 187ca0f..df5cd7b 100644 --- a/backend/internal/repo/repo_documents_test.go +++ b/backend/internal/repo/repo_documents_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/types" "github.com/stretchr/testify/assert" ) diff --git a/backend/internal/repo/repo_documents_tokens.go b/backend/internal/repo/repo_documents_tokens.go index 7c260c4..1924f1d 100644 --- a/backend/internal/repo/repo_documents_tokens.go +++ b/backend/internal/repo/repo_documents_tokens.go @@ -5,9 +5,9 @@ import ( "time" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/ent/documenttoken" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/ent/documenttoken" + "github.com/hay-kot/homebox/backend/internal/types" ) // DocumentTokensRepository is a repository for Document entity diff --git a/backend/internal/repo/repo_documents_tokens_test.go b/backend/internal/repo/repo_documents_tokens_test.go index 7106253..ebd84ed 100644 --- a/backend/internal/repo/repo_documents_tokens_test.go +++ b/backend/internal/repo/repo_documents_tokens_test.go @@ -6,9 +6,9 @@ import ( "time" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/ent/documenttoken" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/ent/documenttoken" + "github.com/hay-kot/homebox/backend/internal/types" "github.com/stretchr/testify/assert" ) diff --git a/backend/internal/repo/repo_group.go b/backend/internal/repo/repo_group.go index c5c173e..dfc7e07 100644 --- a/backend/internal/repo/repo_group.go +++ b/backend/internal/repo/repo_group.go @@ -4,7 +4,7 @@ import ( "context" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent" + "github.com/hay-kot/homebox/backend/ent" ) type GroupRepository struct { diff --git a/backend/internal/repo/repo_item_attachments.go b/backend/internal/repo/repo_item_attachments.go index f21bb7e..c67f4e9 100644 --- a/backend/internal/repo/repo_item_attachments.go +++ b/backend/internal/repo/repo_item_attachments.go @@ -4,8 +4,8 @@ import ( "context" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/ent/attachment" ) // AttachmentRepo is a repository for Attachments table that links Items to Documents diff --git a/backend/internal/repo/repo_item_attachments_test.go b/backend/internal/repo/repo_item_attachments_test.go index 0165b8e..e861001 100644 --- a/backend/internal/repo/repo_item_attachments_test.go +++ b/backend/internal/repo/repo_item_attachments_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/ent/attachment" "github.com/stretchr/testify/assert" ) diff --git a/backend/internal/repo/repo_items.go b/backend/internal/repo/repo_items.go index 8a95a22..ab7cd8e 100644 --- a/backend/internal/repo/repo_items.go +++ b/backend/internal/repo/repo_items.go @@ -4,10 +4,10 @@ import ( "context" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/item" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/item" + "github.com/hay-kot/homebox/backend/internal/types" ) type ItemsRepository struct { diff --git a/backend/internal/repo/repo_items_test.go b/backend/internal/repo/repo_items_test.go index 631f7cb..5917afe 100644 --- a/backend/internal/repo/repo_items_test.go +++ b/backend/internal/repo/repo_items_test.go @@ -6,8 +6,8 @@ import ( "time" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/types" "github.com/stretchr/testify/assert" ) diff --git a/backend/internal/repo/repo_labels.go b/backend/internal/repo/repo_labels.go index bbdcfb1..1278068 100644 --- a/backend/internal/repo/repo_labels.go +++ b/backend/internal/repo/repo_labels.go @@ -4,10 +4,10 @@ import ( "context" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/ent/group" - "github.com/hay-kot/content/backend/ent/label" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/ent/group" + "github.com/hay-kot/homebox/backend/ent/label" + "github.com/hay-kot/homebox/backend/internal/types" ) type LabelRepository struct { diff --git a/backend/internal/repo/repo_labels_test.go b/backend/internal/repo/repo_labels_test.go index 137376a..4c9753a 100644 --- a/backend/internal/repo/repo_labels_test.go +++ b/backend/internal/repo/repo_labels_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/types" "github.com/stretchr/testify/assert" ) diff --git a/backend/internal/repo/repo_locations.go b/backend/internal/repo/repo_locations.go index a1ce055..cb224e2 100644 --- a/backend/internal/repo/repo_locations.go +++ b/backend/internal/repo/repo_locations.go @@ -4,9 +4,9 @@ import ( "context" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/ent/location" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/ent/location" + "github.com/hay-kot/homebox/backend/internal/types" ) type LocationRepository struct { diff --git a/backend/internal/repo/repo_locations_test.go b/backend/internal/repo/repo_locations_test.go index 9370305..6c95c5d 100644 --- a/backend/internal/repo/repo_locations_test.go +++ b/backend/internal/repo/repo_locations_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/internal/types" "github.com/stretchr/testify/assert" ) diff --git a/backend/internal/repo/repo_tokens.go b/backend/internal/repo/repo_tokens.go index 13d5c72..d452b31 100644 --- a/backend/internal/repo/repo_tokens.go +++ b/backend/internal/repo/repo_tokens.go @@ -4,9 +4,9 @@ import ( "context" "time" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/ent/authtokens" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/ent/authtokens" + "github.com/hay-kot/homebox/backend/internal/types" ) type TokenRepository struct { diff --git a/backend/internal/repo/repo_tokens_test.go b/backend/internal/repo/repo_tokens_test.go index 2ab453a..a0bc654 100644 --- a/backend/internal/repo/repo_tokens_test.go +++ b/backend/internal/repo/repo_tokens_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/hay-kot/content/backend/internal/types" - "github.com/hay-kot/content/backend/pkgs/hasher" + "github.com/hay-kot/homebox/backend/internal/types" + "github.com/hay-kot/homebox/backend/pkgs/hasher" "github.com/stretchr/testify/assert" ) diff --git a/backend/internal/repo/repo_users.go b/backend/internal/repo/repo_users.go index f4acaf4..ad6cd1b 100644 --- a/backend/internal/repo/repo_users.go +++ b/backend/internal/repo/repo_users.go @@ -4,9 +4,9 @@ import ( "context" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/ent/user" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/ent/user" + "github.com/hay-kot/homebox/backend/internal/types" ) type UserRepository struct { diff --git a/backend/internal/repo/repo_users_test.go b/backend/internal/repo/repo_users_test.go index f08acb4..27e3ece 100644 --- a/backend/internal/repo/repo_users_test.go +++ b/backend/internal/repo/repo_users_test.go @@ -5,8 +5,8 @@ import ( "fmt" "testing" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/types" "github.com/stretchr/testify/assert" ) diff --git a/backend/internal/repo/repos_all.go b/backend/internal/repo/repos_all.go index e89fe33..c47f5a4 100644 --- a/backend/internal/repo/repos_all.go +++ b/backend/internal/repo/repos_all.go @@ -1,6 +1,6 @@ package repo -import "github.com/hay-kot/content/backend/ent" +import "github.com/hay-kot/homebox/backend/ent" // AllRepos is a container for all the repository interfaces type AllRepos struct { diff --git a/backend/internal/services/all.go b/backend/internal/services/all.go index bba6e43..7d1402e 100644 --- a/backend/internal/services/all.go +++ b/backend/internal/services/all.go @@ -1,6 +1,6 @@ package services -import "github.com/hay-kot/content/backend/internal/repo" +import "github.com/hay-kot/homebox/backend/internal/repo" type AllServices struct { User *UserService diff --git a/backend/internal/services/contexts.go b/backend/internal/services/contexts.go index bc18fcc..1ecc901 100644 --- a/backend/internal/services/contexts.go +++ b/backend/internal/services/contexts.go @@ -3,7 +3,7 @@ package services import ( "context" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/internal/types" ) type contextKeys struct { diff --git a/backend/internal/services/contexts_test.go b/backend/internal/services/contexts_test.go index cf5a862..bcbf270 100644 --- a/backend/internal/services/contexts_test.go +++ b/backend/internal/services/contexts_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/google/uuid" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/internal/types" "github.com/stretchr/testify/assert" ) diff --git a/backend/internal/services/main_test.go b/backend/internal/services/main_test.go index c5f3575..1337c86 100644 --- a/backend/internal/services/main_test.go +++ b/backend/internal/services/main_test.go @@ -8,10 +8,10 @@ import ( "testing" "time" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/repo" - "github.com/hay-kot/content/backend/internal/types" - "github.com/hay-kot/content/backend/pkgs/faker" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/repo" + "github.com/hay-kot/homebox/backend/internal/types" + "github.com/hay-kot/homebox/backend/pkgs/faker" _ "github.com/mattn/go-sqlite3" ) diff --git a/backend/internal/services/mappers/items.go b/backend/internal/services/mappers/items.go index 7698c86..2eb011d 100644 --- a/backend/internal/services/mappers/items.go +++ b/backend/internal/services/mappers/items.go @@ -1,8 +1,8 @@ package mappers import ( - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/types" ) func ToItemAttachment(attachment *ent.Attachment) *types.ItemAttachment { diff --git a/backend/internal/services/mappers/labels.go b/backend/internal/services/mappers/labels.go index c5b886b..a593784 100644 --- a/backend/internal/services/mappers/labels.go +++ b/backend/internal/services/mappers/labels.go @@ -1,8 +1,8 @@ package mappers import ( - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/types" ) func ToLabelSummary(label *ent.Label) *types.LabelSummary { diff --git a/backend/internal/services/mappers/locations.go b/backend/internal/services/mappers/locations.go index 77f0eff..6b4bc5f 100644 --- a/backend/internal/services/mappers/locations.go +++ b/backend/internal/services/mappers/locations.go @@ -1,9 +1,9 @@ package mappers import ( - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/repo" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/repo" + "github.com/hay-kot/homebox/backend/internal/types" ) func ToLocationCount(location *repo.LocationWithCount) *types.LocationCount { diff --git a/backend/internal/services/mappers/user.go b/backend/internal/services/mappers/user.go index 37c702b..f5736fb 100644 --- a/backend/internal/services/mappers/user.go +++ b/backend/internal/services/mappers/user.go @@ -1,8 +1,8 @@ package mappers import ( - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/types" ) func ToOutUser(user *ent.User, err error) (*types.UserOut, error) { diff --git a/backend/internal/services/service_admin.go b/backend/internal/services/service_admin.go index 8be4f68..dfc643a 100644 --- a/backend/internal/services/service_admin.go +++ b/backend/internal/services/service_admin.go @@ -4,9 +4,9 @@ import ( "context" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent" - "github.com/hay-kot/content/backend/internal/repo" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent" + "github.com/hay-kot/homebox/backend/internal/repo" + "github.com/hay-kot/homebox/backend/internal/types" ) type AdminService struct { diff --git a/backend/internal/services/service_items.go b/backend/internal/services/service_items.go index 147cb5f..b3e0615 100644 --- a/backend/internal/services/service_items.go +++ b/backend/internal/services/service_items.go @@ -8,10 +8,10 @@ import ( "path/filepath" "github.com/google/uuid" - "github.com/hay-kot/content/backend/ent/attachment" - "github.com/hay-kot/content/backend/internal/repo" - "github.com/hay-kot/content/backend/internal/services/mappers" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/ent/attachment" + "github.com/hay-kot/homebox/backend/internal/repo" + "github.com/hay-kot/homebox/backend/internal/services/mappers" + "github.com/hay-kot/homebox/backend/internal/types" "github.com/rs/zerolog/log" ) diff --git a/backend/internal/services/service_items_csv.go b/backend/internal/services/service_items_csv.go index ed8e5a4..e1d1a96 100644 --- a/backend/internal/services/service_items_csv.go +++ b/backend/internal/services/service_items_csv.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/internal/types" ) var ErrInvalidCsv = errors.New("invalid csv") diff --git a/backend/internal/services/service_items_test.go b/backend/internal/services/service_items_test.go index b71a74e..9e6dabd 100644 --- a/backend/internal/services/service_items_test.go +++ b/backend/internal/services/service_items_test.go @@ -8,7 +8,7 @@ import ( "testing" "github.com/google/uuid" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/internal/types" "github.com/stretchr/testify/assert" ) diff --git a/backend/internal/services/service_labels.go b/backend/internal/services/service_labels.go index 70bfa30..5a284e7 100644 --- a/backend/internal/services/service_labels.go +++ b/backend/internal/services/service_labels.go @@ -4,9 +4,9 @@ import ( "context" "github.com/google/uuid" - "github.com/hay-kot/content/backend/internal/repo" - "github.com/hay-kot/content/backend/internal/services/mappers" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/internal/repo" + "github.com/hay-kot/homebox/backend/internal/services/mappers" + "github.com/hay-kot/homebox/backend/internal/types" ) type LabelService struct { diff --git a/backend/internal/services/service_locations.go b/backend/internal/services/service_locations.go index 30db743..2349f6b 100644 --- a/backend/internal/services/service_locations.go +++ b/backend/internal/services/service_locations.go @@ -5,9 +5,9 @@ import ( "errors" "github.com/google/uuid" - "github.com/hay-kot/content/backend/internal/repo" - "github.com/hay-kot/content/backend/internal/services/mappers" - "github.com/hay-kot/content/backend/internal/types" + "github.com/hay-kot/homebox/backend/internal/repo" + "github.com/hay-kot/homebox/backend/internal/services/mappers" + "github.com/hay-kot/homebox/backend/internal/types" ) var ( diff --git a/backend/internal/services/service_user.go b/backend/internal/services/service_user.go index b5ced21..8d1abcf 100644 --- a/backend/internal/services/service_user.go +++ b/backend/internal/services/service_user.go @@ -6,10 +6,10 @@ import ( "time" "github.com/google/uuid" - "github.com/hay-kot/content/backend/internal/repo" - "github.com/hay-kot/content/backend/internal/services/mappers" - "github.com/hay-kot/content/backend/internal/types" - "github.com/hay-kot/content/backend/pkgs/hasher" + "github.com/hay-kot/homebox/backend/internal/repo" + "github.com/hay-kot/homebox/backend/internal/services/mappers" + "github.com/hay-kot/homebox/backend/internal/types" + "github.com/hay-kot/homebox/backend/pkgs/hasher" ) var ( diff --git a/backend/internal/services/service_user_defaults.go b/backend/internal/services/service_user_defaults.go index 185c782..2b5cbbe 100644 --- a/backend/internal/services/service_user_defaults.go +++ b/backend/internal/services/service_user_defaults.go @@ -1,6 +1,6 @@ package services -import "github.com/hay-kot/content/backend/internal/types" +import "github.com/hay-kot/homebox/backend/internal/types" func defaultLocations() []types.LocationCreate { return []types.LocationCreate{ diff --git a/backend/pkgs/server/response_error_builder_test.go b/backend/pkgs/server/response_error_builder_test.go index 40de141..689faaa 100644 --- a/backend/pkgs/server/response_error_builder_test.go +++ b/backend/pkgs/server/response_error_builder_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/hay-kot/content/backend/pkgs/faker" + "github.com/hay-kot/homebox/backend/pkgs/faker" "github.com/stretchr/testify/assert" )