diff --git a/cmd/hoster_cli/commands/checkUpdates.go b/cmd/hoster_cli/commands/checkUpdates.go index 2def8b2..54aebaa 100644 --- a/cmd/hoster_cli/commands/checkUpdates.go +++ b/cmd/hoster_cli/commands/checkUpdates.go @@ -3,11 +3,12 @@ package commands import ( "context" "fmt" - "hoster/internals/conf" "io/fs" "path/filepath" "strings" + "gitea.codeblob.work/pk/hoster/internals/conf" + dc "github.com/compose-spec/compose-go/v2/cli" "github.com/urfave/cli/v2" ) diff --git a/cmd/hoster_cli/commands/new.go b/cmd/hoster_cli/commands/new.go index 83af048..84ace10 100644 --- a/cmd/hoster_cli/commands/new.go +++ b/cmd/hoster_cli/commands/new.go @@ -2,14 +2,15 @@ package commands import ( "fmt" - "hoster/internals/conf" - "hoster/internals/helpers" - "hoster/internals/templates" - "hoster/internals/types" "os" "path/filepath" "slices" + "gitea.codeblob.work/pk/hoster/internals/conf" + "gitea.codeblob.work/pk/hoster/internals/helpers" + "gitea.codeblob.work/pk/hoster/internals/templates" + "gitea.codeblob.work/pk/hoster/internals/types" + "github.com/gookit/goutil/fsutil" "github.com/gookit/goutil/sysutil/cmdr" "github.com/kataras/golog" diff --git a/cmd/hoster_cli/hoster.go b/cmd/hoster_cli/hoster.go index 3052b4b..cac21a7 100644 --- a/cmd/hoster_cli/hoster.go +++ b/cmd/hoster_cli/hoster.go @@ -1,11 +1,12 @@ package main import ( - "hoster/cmd/hoster_cli/commands" - "hoster/internals/conf" "os" "path/filepath" + "gitea.codeblob.work/pk/hoster/cmd/hoster_cli/commands" + "gitea.codeblob.work/pk/hoster/internals/conf" + "github.com/kataras/golog" "github.com/urfave/cli/v2" ) diff --git a/go.mod b/go.mod index cccca19..b14b519 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module hoster +module gitea.codeblob.work/pk/hoster go 1.23.0 diff --git a/internals/helpers/findHostConfigs.go b/internals/helpers/findHostConfigs.go index 18d6d9a..3c10a77 100644 --- a/internals/helpers/findHostConfigs.go +++ b/internals/helpers/findHostConfigs.go @@ -2,13 +2,14 @@ package helpers import ( "bufio" - "hoster/internals/types" "io/fs" "os" "regexp" "strconv" "strings" + "gitea.codeblob.work/pk/hoster/internals/types" + "github.com/gookit/goutil/fsutil" ) diff --git a/internals/templates/templates.go b/internals/templates/templates.go index baa13e8..f859704 100644 --- a/internals/templates/templates.go +++ b/internals/templates/templates.go @@ -3,11 +3,12 @@ package templates import ( _ "embed" "fmt" - "hoster/internals/conf" "os" "path/filepath" "text/template" + "gitea.codeblob.work/pk/hoster/internals/conf" + "github.com/gookit/goutil/fsutil" )