refactor: use internal instead pkg (#17)
parent
846a150cfd
commit
0fa8f429db
|
@ -5,8 +5,8 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/haunt98/changeloguru/pkg/convention"
|
||||
"github.com/haunt98/changeloguru/pkg/markdown"
|
||||
"github.com/haunt98/changeloguru/internal/convention"
|
||||
"github.com/haunt98/changeloguru/internal/markdown"
|
||||
"github.com/haunt98/clock"
|
||||
)
|
||||
|
|
@ -4,8 +4,8 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/haunt98/changeloguru/pkg/convention"
|
||||
"github.com/haunt98/changeloguru/pkg/markdown"
|
||||
"github.com/haunt98/changeloguru/internal/convention"
|
||||
"github.com/haunt98/changeloguru/internal/markdown"
|
||||
"github.com/sebdah/goldie/v2"
|
||||
)
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package changelog
|
||||
|
||||
import "github.com/haunt98/changeloguru/pkg/convention"
|
||||
import "github.com/haunt98/changeloguru/internal/convention"
|
||||
|
||||
const (
|
||||
addedType = "Added"
|
|
@ -7,10 +7,10 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/haunt98/changeloguru/pkg/changelog"
|
||||
"github.com/haunt98/changeloguru/pkg/convention"
|
||||
"github.com/haunt98/changeloguru/pkg/git"
|
||||
"github.com/haunt98/changeloguru/pkg/markdown"
|
||||
"github.com/haunt98/changeloguru/internal/changelog"
|
||||
"github.com/haunt98/changeloguru/internal/convention"
|
||||
"github.com/haunt98/changeloguru/internal/git"
|
||||
"github.com/haunt98/changeloguru/internal/markdown"
|
||||
"github.com/pkg/diff"
|
||||
"github.com/pkg/diff/write"
|
||||
"github.com/urfave/cli/v2"
|
|
@ -1,7 +1,7 @@
|
|||
package convention
|
||||
|
||||
import (
|
||||
"github.com/haunt98/changeloguru/pkg/git"
|
||||
"github.com/haunt98/changeloguru/internal/git"
|
||||
)
|
||||
|
||||
// https://www.conventionalcommits.org/en/v1.0.0/
|
|
@ -4,7 +4,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/haunt98/changeloguru/pkg/git"
|
||||
"github.com/haunt98/changeloguru/internal/git"
|
||||
"github.com/sebdah/goldie/v2"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
|
@ -6,7 +6,7 @@ import (
|
|||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/haunt98/changeloguru/pkg/git"
|
||||
"github.com/haunt98/changeloguru/internal/git"
|
||||
"github.com/haunt98/clock"
|
||||
)
|
||||
|
Loading…
Reference in New Issue