refactor(packagemanager,cli,tui): move packages in specific subfolders

This commit is contained in:
Patryk Hegenberg 2025-02-04 16:11:03 +01:00
parent 11b8541630
commit e49138fdd2
34 changed files with 18 additions and 18 deletions

View file

@ -4,8 +4,8 @@ import (
"fmt"
"log"
pm "system_setup_tool/packagemanager"
"system_setup_tool/utils"
"system_setup_tool/internal/utils"
pm "system_setup_tool/pkg/packagemanager"
"github.com/spf13/cobra"
)

View file

@ -5,7 +5,7 @@ import (
"log"
"os"
"path/filepath"
"system_setup_tool/tui"
"system_setup_tool/internal/tui"
"github.com/spf13/cobra"
"github.com/spf13/viper"

View file

@ -4,9 +4,9 @@ import (
"fmt"
"log"
"runtime"
"system_setup_tool/utils"
"system_setup_tool/internal/utils"
pm "system_setup_tool/packagemanager"
pm "system_setup_tool/pkg/packagemanager"
"github.com/spf13/cobra"
)

View file

@ -4,7 +4,7 @@ import (
"fmt"
"os"
"sort"
"system_setup_tool/utils"
"system_setup_tool/internal/utils"
"github.com/spf13/cobra"
"github.com/spf13/viper"

View file

@ -4,9 +4,9 @@ import (
"fmt"
"log"
"runtime"
"system_setup_tool/utils"
"system_setup_tool/internal/utils"
pm "system_setup_tool/packagemanager"
pm "system_setup_tool/pkg/packagemanager"
"github.com/spf13/cobra"
)

View file

@ -7,8 +7,8 @@ import (
"strings"
"sync"
pm "system_setup_tool/packagemanager"
"system_setup_tool/utils"
"system_setup_tool/internal/utils"
pm "system_setup_tool/pkg/packagemanager"
"github.com/spf13/cobra"
)

View file

@ -5,8 +5,8 @@ import (
"log"
"runtime"
"sync"
pm "system_setup_tool/packagemanager"
"system_setup_tool/utils"
"system_setup_tool/internal/utils"
pm "system_setup_tool/pkg/packagemanager"
"github.com/spf13/cobra"
)

View file

@ -1,8 +1,8 @@
package config
import (
"system_setup_tool/dotfiles"
pm "system_setup_tool/packagemanager"
"system_setup_tool/internal/dotfiles"
pm "system_setup_tool/pkg/packagemanager"
)
type PackageManagerConfig struct {

View file

@ -3,11 +3,11 @@ package tui
import (
"fmt"
"log"
"system_setup_tool/config"
"system_setup_tool/dotfiles"
"system_setup_tool/utils"
"system_setup_tool/internal/config"
"system_setup_tool/internal/dotfiles"
"system_setup_tool/internal/utils"
pm "system_setup_tool/packagemanager"
pm "system_setup_tool/pkg/packagemanager"
"github.com/charmbracelet/huh"
"github.com/mitchellh/mapstructure"