From 3dc59344cb9a6b5b0e0a615149b9a2b89b8ccd40 Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Sun, 4 Feb 2024 21:00:55 +0600 Subject: [PATCH] Fix command "fyne get ..." Renamed the module to git.kor-elf.net/kor-elf/gui-for-ffmpeg/src. --- src/convertor/repository.go | 2 +- src/convertor/service.go | 2 +- src/convertor/view.go | 4 ++-- src/convertor/view_setting.go | 2 +- src/error/view.go | 2 +- src/go.mod | 2 +- src/handler/convertor.go | 6 +++--- src/handler/convertor_anyos.go | 2 +- src/handler/main.go | 2 +- src/handler/menu.go | 4 ++-- src/localizer/repository.go | 2 +- src/main.go | 14 +++++++------- src/menu/view.go | 2 +- src/migration/migration.go | 2 +- 14 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/convertor/repository.go b/src/convertor/repository.go index e31f64a..3f26bf5 100644 --- a/src/convertor/repository.go +++ b/src/convertor/repository.go @@ -1,7 +1,7 @@ package convertor import ( - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/setting" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/setting" ) type RepositoryContract interface { diff --git a/src/convertor/service.go b/src/convertor/service.go index 9b89f1f..bdeb256 100644 --- a/src/convertor/service.go +++ b/src/convertor/service.go @@ -2,7 +2,7 @@ package convertor import ( "errors" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/helper" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/helper" "io" "os/exec" "regexp" diff --git a/src/convertor/view.go b/src/convertor/view.go index aa1d536..0ef751f 100644 --- a/src/convertor/view.go +++ b/src/convertor/view.go @@ -7,8 +7,8 @@ import ( "fyne.io/fyne/v2/container" "fyne.io/fyne/v2/dialog" "fyne.io/fyne/v2/widget" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/helper" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/localizer" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/helper" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/localizer" "github.com/nicksnyder/go-i18n/v2/i18n" "image/color" ) diff --git a/src/convertor/view_setting.go b/src/convertor/view_setting.go index 5e3f095..813c8ea 100644 --- a/src/convertor/view_setting.go +++ b/src/convertor/view_setting.go @@ -6,7 +6,7 @@ import ( "fyne.io/fyne/v2/container" "fyne.io/fyne/v2/dialog" "fyne.io/fyne/v2/widget" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/helper" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/helper" "github.com/nicksnyder/go-i18n/v2/i18n" "image/color" "net/url" diff --git a/src/error/view.go b/src/error/view.go index f34d72b..61bd0f4 100644 --- a/src/error/view.go +++ b/src/error/view.go @@ -4,7 +4,7 @@ import ( "fyne.io/fyne/v2" "fyne.io/fyne/v2/container" "fyne.io/fyne/v2/widget" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/localizer" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/localizer" "github.com/nicksnyder/go-i18n/v2/i18n" ) diff --git a/src/go.mod b/src/go.mod index 89427e3..66edcf3 100644 --- a/src/go.mod +++ b/src/go.mod @@ -1,4 +1,4 @@ -module git.kor-elf.net/kor-elf/gui-for-ffmpeg +module git.kor-elf.net/kor-elf/gui-for-ffmpeg/src go 1.21 diff --git a/src/handler/convertor.go b/src/handler/convertor.go index 1b7c3d0..db2f7e2 100644 --- a/src/handler/convertor.go +++ b/src/handler/convertor.go @@ -4,9 +4,9 @@ import ( "bufio" "errors" "fyne.io/fyne/v2/widget" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/convertor" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/helper" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/localizer" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/convertor" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/helper" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/localizer" "github.com/nicksnyder/go-i18n/v2/i18n" "io" "regexp" diff --git a/src/handler/convertor_anyos.go b/src/handler/convertor_anyos.go index 4db2fd4..16b85a0 100644 --- a/src/handler/convertor_anyos.go +++ b/src/handler/convertor_anyos.go @@ -6,7 +6,7 @@ package handler import ( "fyne.io/fyne/v2/canvas" "fyne.io/fyne/v2/widget" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/convertor" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/convertor" ) func getPathsToFF() []convertor.FFPathUtilities { diff --git a/src/handler/main.go b/src/handler/main.go index 48b99a4..7253b05 100644 --- a/src/handler/main.go +++ b/src/handler/main.go @@ -1,7 +1,7 @@ package handler import ( - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/localizer" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/localizer" ) type MainHandler struct { diff --git a/src/handler/menu.go b/src/handler/menu.go index eabbef2..bf7e332 100644 --- a/src/handler/menu.go +++ b/src/handler/menu.go @@ -2,8 +2,8 @@ package handler import ( "fyne.io/fyne/v2" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/localizer" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/menu" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/localizer" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/menu" "github.com/nicksnyder/go-i18n/v2/i18n" ) diff --git a/src/localizer/repository.go b/src/localizer/repository.go index 46e36f2..03c7fa3 100644 --- a/src/localizer/repository.go +++ b/src/localizer/repository.go @@ -1,7 +1,7 @@ package localizer import ( - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/setting" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/setting" ) type RepositoryContract interface { diff --git a/src/main.go b/src/main.go index 0cb12a4..ed4ce92 100644 --- a/src/main.go +++ b/src/main.go @@ -6,13 +6,13 @@ import ( "fyne.io/fyne/v2/app" "fyne.io/fyne/v2/container" "fyne.io/fyne/v2/widget" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/convertor" - error2 "git.kor-elf.net/kor-elf/gui-for-ffmpeg/error" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/handler" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/localizer" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/menu" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/migration" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/setting" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/convertor" + error2 "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/error" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/handler" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/localizer" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/menu" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/migration" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/setting" _ "github.com/mattn/go-sqlite3" "golang.org/x/text/language" "gorm.io/driver/sqlite" diff --git a/src/menu/view.go b/src/menu/view.go index 0dc0896..377dd6e 100644 --- a/src/menu/view.go +++ b/src/menu/view.go @@ -5,7 +5,7 @@ import ( "fyne.io/fyne/v2/canvas" "fyne.io/fyne/v2/container" "fyne.io/fyne/v2/widget" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/localizer" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/localizer" "github.com/nicksnyder/go-i18n/v2/i18n" "golang.org/x/image/colornames" "net/url" diff --git a/src/migration/migration.go b/src/migration/migration.go index 932b98a..91787ff 100644 --- a/src/migration/migration.go +++ b/src/migration/migration.go @@ -1,7 +1,7 @@ package migration import ( - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/setting" + "git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/setting" "gorm.io/gorm" )