From 619f66cc00c354e8983592d4ee4a54ed64a32980 Mon Sep 17 00:00:00 2001
From: Janne Mareike Koschinski <janne@kuschku.de>
Date: Fri, 13 May 2022 21:04:11 +0200
Subject: [PATCH] build: moved project

---
 backend/main.go                      | 2 +-
 backend/process.go                   | 2 +-
 backend/resize.go                    | 2 +-
 frontend/main.go                     | 2 +-
 frontend/package-lock.json           | 2 +-
 frontend/page_image_detail.go        | 2 +-
 frontend/page_image_list.go          | 2 +-
 frontend/page_upload.go              | 2 +-
 frontend/templates/_base.html        | 2 +-
 frontend/templates/_footer.html      | 2 +-
 frontend/templates/_header.html      | 2 +-
 frontend/templates/_navigation.html  | 2 +-
 frontend/templates/error.html        | 2 +-
 frontend/templates/image_detail.html | 2 +-
 frontend/templates/image_list.html   | 2 +-
 frontend/util.go                     | 2 +-
 16 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/backend/main.go b/backend/main.go
index b7826b1..1df18f8 100644
--- a/backend/main.go
+++ b/backend/main.go
@@ -2,7 +2,7 @@ package main
 
 import (
 	"context"
-	"git.kuschku.de/justjanne/imghost-frontend/shared"
+	"git.kuschku.de/justjanne/imghost/shared"
 	"github.com/hibiken/asynq"
 	"github.com/prometheus/client_golang/prometheus"
 	"github.com/prometheus/client_golang/prometheus/promauto"
diff --git a/backend/process.go b/backend/process.go
index 1923f54..a934357 100644
--- a/backend/process.go
+++ b/backend/process.go
@@ -4,7 +4,7 @@ import (
 	"context"
 	"encoding/json"
 	"fmt"
-	"git.kuschku.de/justjanne/imghost-frontend/shared"
+	"git.kuschku.de/justjanne/imghost/shared"
 	"github.com/hibiken/asynq"
 	"github.com/prometheus/client_golang/prometheus"
 	"os"
diff --git a/backend/resize.go b/backend/resize.go
index eb3931f..88fbd66 100644
--- a/backend/resize.go
+++ b/backend/resize.go
@@ -2,7 +2,7 @@ package main
 
 import (
 	"fmt"
-	"git.kuschku.de/justjanne/imghost-frontend/shared"
+	"git.kuschku.de/justjanne/imghost/shared"
 	"github.com/justjanne/imgconv"
 	"gopkg.in/gographics/imagick.v3/imagick"
 	"path/filepath"
diff --git a/frontend/main.go b/frontend/main.go
index df215d8..a6896aa 100644
--- a/frontend/main.go
+++ b/frontend/main.go
@@ -3,7 +3,7 @@ package main
 import (
 	"context"
 	"database/sql"
-	"git.kuschku.de/justjanne/imghost-frontend/shared"
+	"git.kuschku.de/justjanne/imghost/shared"
 	"github.com/hibiken/asynq"
 	_ "github.com/lib/pq"
 	"log"
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index d02c3c0..d304013 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -1,5 +1,5 @@
 {
-  "name": "imghost-frontend",
+  "name": "imghost",
   "lockfileVersion": 2,
   "requires": true,
   "packages": {
diff --git a/frontend/page_image_detail.go b/frontend/page_image_detail.go
index 81bd483..242de01 100644
--- a/frontend/page_image_detail.go
+++ b/frontend/page_image_detail.go
@@ -2,7 +2,7 @@ package main
 
 import (
 	"fmt"
-	"git.kuschku.de/justjanne/imghost-frontend/shared"
+	"git.kuschku.de/justjanne/imghost/shared"
 	_ "github.com/lib/pq"
 	"net/http"
 	"os"
diff --git a/frontend/page_image_list.go b/frontend/page_image_list.go
index aa0ab6d..1e56b58 100644
--- a/frontend/page_image_list.go
+++ b/frontend/page_image_list.go
@@ -2,7 +2,7 @@ package main
 
 import (
 	"database/sql"
-	"git.kuschku.de/justjanne/imghost-frontend/shared"
+	"git.kuschku.de/justjanne/imghost/shared"
 	"net/http"
 	"path"
 	"strconv"
diff --git a/frontend/page_upload.go b/frontend/page_upload.go
index 0387c25..0f94f5d 100644
--- a/frontend/page_upload.go
+++ b/frontend/page_upload.go
@@ -5,7 +5,7 @@ import (
 	"encoding/base64"
 	"encoding/json"
 	"fmt"
-	"git.kuschku.de/justjanne/imghost-frontend/shared"
+	"git.kuschku.de/justjanne/imghost/shared"
 	"io"
 	"mime/multipart"
 	"net/http"
diff --git a/frontend/templates/_base.html b/frontend/templates/_base.html
index 32daf1d..5ca65f9 100644
--- a/frontend/templates/_base.html
+++ b/frontend/templates/_base.html
@@ -1,4 +1,4 @@
-{{- /*gotype: git.kuschku.de/justjanne/imghost-frontend.IndexData*/ -}}
+{{- /*gotype: git.kuschku.de/justjanne/imghost.IndexData*/ -}}
 {{template "header" .}}
 {{template "navigation" .User}}
 {{template "content" .}}
diff --git a/frontend/templates/_footer.html b/frontend/templates/_footer.html
index fe5d3d9..4ea4391 100644
--- a/frontend/templates/_footer.html
+++ b/frontend/templates/_footer.html
@@ -1,4 +1,4 @@
-{{- /*gotype: git.kuschku.de/justjanne/imghost-frontend.IndexData*/ -}}
+{{- /*gotype: git.kuschku.de/justjanne/imghost.IndexData*/ -}}
 {{define "footer"}}
 <script src="/assets/js/component/fake-input.js"></script>
 <script src="/assets/js/component/copy.js"></script>
diff --git a/frontend/templates/_header.html b/frontend/templates/_header.html
index fc105fa..7e4f67b 100644
--- a/frontend/templates/_header.html
+++ b/frontend/templates/_header.html
@@ -1,4 +1,4 @@
-{{- /*gotype: git.kuschku.de/justjanne/imghost-frontend.IndexData*/ -}}
+{{- /*gotype: git.kuschku.de/justjanne/imghost.IndexData*/ -}}
 {{define "header"}}
 <!DOCTYPE html>
 <meta charset="utf-8">
diff --git a/frontend/templates/_navigation.html b/frontend/templates/_navigation.html
index 698b784..7d38df7 100644
--- a/frontend/templates/_navigation.html
+++ b/frontend/templates/_navigation.html
@@ -1,4 +1,4 @@
-{{- /*gotype: git.kuschku.de/justjanne/imghost-frontend.IndexData*/ -}}
+{{- /*gotype: git.kuschku.de/justjanne/imghost.IndexData*/ -}}
 {{define "navigation"}}
     <nav class="navigation">
         <ul>
diff --git a/frontend/templates/error.html b/frontend/templates/error.html
index 43279f6..59f0219 100644
--- a/frontend/templates/error.html
+++ b/frontend/templates/error.html
@@ -1,4 +1,4 @@
-{{- /*gotype: git.kuschku.de/justjanne/imghost-frontend.ErrorData*/ -}}
+{{- /*gotype: git.kuschku.de/justjanne/imghost.ErrorData*/ -}}
 {{define "title"}}Error | ik8r{{end}}
 {{define "content"}}
   <div class="page">
diff --git a/frontend/templates/image_detail.html b/frontend/templates/image_detail.html
index 280d20d..7bca8fb 100644
--- a/frontend/templates/image_detail.html
+++ b/frontend/templates/image_detail.html
@@ -1,4 +1,4 @@
-{{- /*gotype: git.kuschku.de/justjanne/imghost-frontend.ImageDetailData*/ -}}
+{{- /*gotype: git.kuschku.de/justjanne/imghost.ImageDetailData*/ -}}
 {{define "title"}}{{.Image.Title}} | ik8r{{end}}
 {{define "content"}}
 <div class="page image detail">
diff --git a/frontend/templates/image_list.html b/frontend/templates/image_list.html
index ec890ac..ce33d65 100644
--- a/frontend/templates/image_list.html
+++ b/frontend/templates/image_list.html
@@ -1,4 +1,4 @@
-{{- /*gotype: git.kuschku.de/justjanne/imghost-frontend.ImageListData*/ -}}
+{{- /*gotype: git.kuschku.de/justjanne/imghost.ImageListData*/ -}}
 {{define "title"}}My Images | ik8r{{end}}
 {{define "content"}}
 <div class="page image list">
diff --git a/frontend/util.go b/frontend/util.go
index 9290442..1aac113 100644
--- a/frontend/util.go
+++ b/frontend/util.go
@@ -5,7 +5,7 @@ import (
 	"database/sql"
 	"encoding/json"
 	"fmt"
-	"git.kuschku.de/justjanne/imghost-frontend/shared"
+	"git.kuschku.de/justjanne/imghost/shared"
 	"github.com/hibiken/asynq"
 	"html/template"
 	"net/http"
-- 
GitLab