Skip to content

Commit

Permalink
refactor: Reorganize package structure and update import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
yarlson committed Sep 28, 2024
1 parent a05eeb7 commit 93ee9e8
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cmd

import (
"github.com/spf13/cobra"
"github.com/yarlson/aerie/internal/deploy"
"github.com/yarlson/aerie/pkg/deploy"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/spf13/cobra"

"github.com/yarlson/aerie/internal/setup"
"github.com/yarlson/aerie/pkg/setup"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion internal/deploy/deploy.go → pkg/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/fatih/color"
"github.com/spf13/cobra"

"github.com/yarlson/aerie/internal/ssh"
"github.com/yarlson/aerie/pkg/ssh"
"github.com/yarlson/aerie/pkg/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/setup/setup.go → pkg/setup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
gssh "golang.org/x/crypto/ssh"
"golang.org/x/term"

"github.com/yarlson/aerie/internal/ssh"
"github.com/yarlson/aerie/pkg/ssh"
"github.com/yarlson/aerie/pkg/utils"
)

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"path/filepath"

"github.com/yarlson/aerie/internal/ssh"
"github.com/yarlson/aerie/pkg/ssh"
)

// sshKeyPath is used only for testing purposes
Expand Down

0 comments on commit 93ee9e8

Please sign in to comment.