From 9db0a257c090e27bf7d33ac212dd9d57d1e0358d Mon Sep 17 00:00:00 2001 From: velvettear Date: Tue, 28 Nov 2023 16:34:10 +0100 Subject: [PATCH] fixed module name --- go.mod | 2 +- internal/api/server.go | 4 ++-- internal/palette.go | 2 +- internal/scale.go | 2 +- internal/scanner.go | 2 +- main.go | 6 +++--- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index 93a2707..dcc3910 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module git.velvettear.de/velvettear/slideshow +module git.velvettear.de/velvettear/slideshow-api go 1.21 diff --git a/internal/api/server.go b/internal/api/server.go index 3abe6c3..824ec33 100644 --- a/internal/api/server.go +++ b/internal/api/server.go @@ -6,8 +6,8 @@ import ( "strconv" "git.velvettear.de/velvettear/loggo" - "git.velvettear.de/velvettear/slideshow/internal" - "git.velvettear.de/velvettear/slideshow/internal/config" + "git.velvettear.de/velvettear/slideshow-api/internal" + "git.velvettear.de/velvettear/slideshow-api/internal/config" ) // start the web server diff --git a/internal/palette.go b/internal/palette.go index 930ec9e..9788503 100644 --- a/internal/palette.go +++ b/internal/palette.go @@ -9,7 +9,7 @@ import ( "time" "git.velvettear.de/velvettear/loggo" - "git.velvettear.de/velvettear/slideshow/internal/config" + "git.velvettear.de/velvettear/slideshow-api/internal/config" color_thief "github.com/kennykarnama/color-thief" ) diff --git a/internal/scale.go b/internal/scale.go index ebddfcb..eafeb43 100644 --- a/internal/scale.go +++ b/internal/scale.go @@ -8,7 +8,7 @@ import ( "time" "git.velvettear.de/velvettear/loggo" - "git.velvettear.de/velvettear/slideshow/internal/config" + "git.velvettear.de/velvettear/slideshow-api/internal/config" ) // scale an image diff --git a/internal/scanner.go b/internal/scanner.go index f57e3e3..c452e5f 100644 --- a/internal/scanner.go +++ b/internal/scanner.go @@ -11,7 +11,7 @@ import ( "time" "git.velvettear.de/velvettear/loggo" - "git.velvettear.de/velvettear/slideshow/internal/config" + "git.velvettear.de/velvettear/slideshow-api/internal/config" ) // slice of images diff --git a/main.go b/main.go index d29acff..bfcd8e2 100644 --- a/main.go +++ b/main.go @@ -4,9 +4,9 @@ import ( "time" "git.velvettear.de/velvettear/loggo" - "git.velvettear.de/velvettear/slideshow/internal" - "git.velvettear.de/velvettear/slideshow/internal/api" - "git.velvettear.de/velvettear/slideshow/internal/config" + "git.velvettear.de/velvettear/slideshow-api/internal" + "git.velvettear.de/velvettear/slideshow-api/internal/api" + "git.velvettear.de/velvettear/slideshow-api/internal/config" ) func main() {