Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
kozmod committed Feb 5, 2024
1 parent 81128a9 commit 8020584
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
8 changes: 5 additions & 3 deletions internal/config/config.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package config

import (
"github.com/kozmod/progen/internal/entity"
"golang.org/x/xerrors"
"gopkg.in/yaml.v3"
"net/url"
"strings"

"golang.org/x/xerrors"
"gopkg.in/yaml.v3"

"github.com/kozmod/progen/internal/entity"
)

const (
Expand Down
5 changes: 1 addition & 4 deletions internal/config/unmarshaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ var (
ErrCommandEmpty = xerrors.Errorf("command declaration is empty")
)

type YamlUnmarshaler struct {
tagFilter *entity.RegexpChain
logger entity.Logger
}
type YamlUnmarshaler struct{}

func NewYamlConfigUnmarshaler() *YamlUnmarshaler {
return &YamlUnmarshaler{}
Expand Down
3 changes: 2 additions & 1 deletion internal/factory/action_filter.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package factory

import (
"github.com/kozmod/progen/internal/entity"
"slices"
"strings"

"github.com/kozmod/progen/internal/entity"
)

type (
Expand Down
2 changes: 2 additions & 0 deletions internal/flag/flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ func Test_TemplateVarsFlag(t *testing.T) {
})
}

// nolint: dupl
func Test_SkipFlag(t *testing.T) {
t.Parallel()

Expand Down Expand Up @@ -211,6 +212,7 @@ func Test_SkipFlag(t *testing.T) {
})
}

// nolint: dupl
func Test_group(t *testing.T) {
t.Parallel()

Expand Down

0 comments on commit 8020584

Please sign in to comment.