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