Skip to content

Commit

Permalink
move config to internal
Browse files Browse the repository at this point in the history
  • Loading branch information
mesuutt committed Jun 25, 2023
1 parent e875862 commit e9d29f3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/command/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (

"github.com/urfave/cli/v2"

"github.com/mesuutt/git-mirror/internal/config"
"github.com/mesuutt/git-mirror/pkg/commit"
"github.com/mesuutt/git-mirror/pkg/config"
"github.com/mesuutt/git-mirror/pkg/git"
"github.com/mesuutt/git-mirror/pkg/repo"
)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/commit/diffgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"text/template"
"time"

"github.com/mesuutt/git-mirror/pkg/config"
"github.com/mesuutt/git-mirror/internal/config"
)

type diffGen struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/commit/diffgen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/stretchr/testify/assert"

"github.com/mesuutt/git-mirror/pkg/config"
"github.com/mesuutt/git-mirror/internal/config"
)

func TestGenerateDiffWithDefaultsWhenConfigNotGiven(t *testing.T) {
Expand Down

0 comments on commit e9d29f3

Please sign in to comment.