Change package name to make go install work.
This commit is contained in:
parent
eb0141f3bc
commit
7d9d5e3a58
@ -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"
|
||||
)
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user