Skip to content

Commit

Permalink
fix: module name
Browse files Browse the repository at this point in the history
  • Loading branch information
eddort committed Jun 7, 2024
1 parent 4442a33 commit 1683edd
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 19 deletions.
3 changes: 2 additions & 1 deletion internal/cli/cli.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package cli

import (
"cubx/internal/config"
"flag"
"fmt"

"github.com/eddort/cubx/internal/config"

Check failure on line 7 in internal/cli/cli.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/eddort/cubx/internal/config; to add it:

Check failure on line 7 in internal/cli/cli.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/eddort/cubx/internal/config; to add it:
)

func ShowHelpMessage(configuration config.ProgramConfig) {
Expand Down
4 changes: 2 additions & 2 deletions internal/cli/messages.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package cli

import (
"cubx/internal/config"
"cubx/internal/tui"
"flag"
"fmt"
"github.com/eddort/cubx/internal/config"
"github.com/eddort/cubx/internal/tui"

Check failure on line 7 in internal/cli/messages.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/eddort/cubx/internal/tui; to add it:

Check failure on line 7 in internal/cli/messages.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/eddort/cubx/internal/tui; to add it:
"sort"
"strings"
)
Expand Down
8 changes: 4 additions & 4 deletions internal/command/cmd_docker_run.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package command

import (
"cubx/internal/config"
"cubx/internal/docker"
"cubx/internal/registry"
"cubx/internal/tui"
"fmt"
"github.com/eddort/cubx/internal/config"
"github.com/eddort/cubx/internal/docker"

Check failure on line 6 in internal/command/cmd_docker_run.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/eddort/cubx/internal/docker; to add it:

Check failure on line 6 in internal/command/cmd_docker_run.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/eddort/cubx/internal/docker; to add it:
"github.com/eddort/cubx/internal/registry"

Check failure on line 7 in internal/command/cmd_docker_run.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/eddort/cubx/internal/registry; to add it:

Check failure on line 7 in internal/command/cmd_docker_run.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/eddort/cubx/internal/registry; to add it:
"github.com/eddort/cubx/internal/tui"
"path/filepath"
"strings"

Expand Down
4 changes: 2 additions & 2 deletions internal/command/cmd_session.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package command

import (
"cubx/internal/config"
"cubx/internal/session"
"github.com/eddort/cubx/internal/config"
"github.com/eddort/cubx/internal/session"

Check failure on line 5 in internal/command/cmd_session.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/eddort/cubx/internal/session; to add it:

Check failure on line 5 in internal/command/cmd_session.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/eddort/cubx/internal/session; to add it:
)

type SessionCommand struct {
Expand Down
4 changes: 2 additions & 2 deletions internal/command/cmd_show_config.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package command

import (
"cubx/internal/config"
"cubx/internal/tui"
"fmt"
"github.com/eddort/cubx/internal/config"
"github.com/eddort/cubx/internal/tui"
)

type ShowConfigCommand struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/command/command.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package command

import (
"cubx/internal/config"
"errors"
"github.com/eddort/cubx/internal/config"
)

var ErrCommandNotFound = errors.New("command is nil")
Expand Down
2 changes: 1 addition & 1 deletion internal/config/validator.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package config

import (
"cubx/internal/platform"
"fmt"
"github.com/eddort/cubx/internal/platform"

Check failure on line 5 in internal/config/validator.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/eddort/cubx/internal/platform; to add it:

Check failure on line 5 in internal/config/validator.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/eddort/cubx/internal/platform; to add it:
"strings"

"github.com/go-playground/validator/v10"
Expand Down
2 changes: 1 addition & 1 deletion internal/docker/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"archive/tar"
"bytes"
"context"
"cubx/internal/streams"
"fmt"
"github.com/eddort/cubx/internal/streams"

Check failure on line 8 in internal/docker/build.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/eddort/cubx/internal/streams; to add it:

Check failure on line 8 in internal/docker/build.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/eddort/cubx/internal/streams; to add it:
"io"
"os"
"path/filepath"
Expand Down
6 changes: 3 additions & 3 deletions internal/docker/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package docker

import (
"context"
"cubx/internal/config"
"cubx/internal/platform"
"cubx/internal/streams"
"fmt"
"github.com/eddort/cubx/internal/config"
"github.com/eddort/cubx/internal/platform"
"github.com/eddort/cubx/internal/streams"

"github.com/docker/docker/api/types/filters"
"github.com/docker/docker/api/types/image"
Expand Down
3 changes: 2 additions & 1 deletion internal/docker/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ package docker

import (
"context"
"cubx/internal/config"
"fmt"
"io"
"os"
"os/signal"
"syscall"

"github.com/eddort/cubx/internal/config"

"github.com/docker/docker/api/types/container"
"github.com/docker/docker/client"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/platform/platform.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package platform

import (
"cubx/internal/registry"
"fmt"
"github.com/eddort/cubx/internal/registry"
)

type OsArch struct {
Expand Down

0 comments on commit 1683edd

Please sign in to comment.