Skip to content

Commit dfc6ebb

Browse files
authored
move config package to pkg directory (#323)
Issue #, if available: aws-controllers-k8s/community#1184 Description of changes: * relocate config package from _pkg/generate/_ to _pkg/_ * update import paths * no functional changes By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 9191f9d commit dfc6ebb

27 files changed

+23
-23
lines changed

cmd/ack-generate/command/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import (
2727

2828
"golang.org/x/mod/modfile"
2929

30+
ackgenconfig "github.com/aws-controllers-k8s/code-generator/pkg/config"
3031
ackgenerate "github.com/aws-controllers-k8s/code-generator/pkg/generate/ack"
31-
ackgenconfig "github.com/aws-controllers-k8s/code-generator/pkg/generate/config"
3232
ackmodel "github.com/aws-controllers-k8s/code-generator/pkg/model"
3333
acksdk "github.com/aws-controllers-k8s/code-generator/pkg/sdk"
3434
"github.com/aws-controllers-k8s/code-generator/pkg/util"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

pkg/generate/ack/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package ack
1515

16-
import "github.com/aws-controllers-k8s/code-generator/pkg/generate/config"
16+
import "github.com/aws-controllers-k8s/code-generator/pkg/config"
1717

1818
// DefaultConfig is the default configuration for generating ACK code
1919
var DefaultConfig = config.Config{

pkg/generate/ack/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import (
1818
"strings"
1919
ttpl "text/template"
2020

21+
ackgenconfig "github.com/aws-controllers-k8s/code-generator/pkg/config"
2122
"github.com/aws-controllers-k8s/code-generator/pkg/generate/code"
22-
ackgenconfig "github.com/aws-controllers-k8s/code-generator/pkg/generate/config"
2323
"github.com/aws-controllers-k8s/code-generator/pkg/generate/templateset"
2424
"github.com/aws-controllers-k8s/code-generator/pkg/model"
2525
ackmodel "github.com/aws-controllers-k8s/code-generator/pkg/model"

pkg/generate/code/check.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import (
1919

2020
awssdkmodel "github.com/aws/aws-sdk-go/private/model/api"
2121

22+
ackgenconfig "github.com/aws-controllers-k8s/code-generator/pkg/config"
2223
"github.com/aws-controllers-k8s/code-generator/pkg/fieldpath"
23-
ackgenconfig "github.com/aws-controllers-k8s/code-generator/pkg/generate/config"
2424
"github.com/aws-controllers-k8s/code-generator/pkg/model"
2525
)
2626

pkg/generate/code/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
awssdkmodel "github.com/aws/aws-sdk-go/private/model/api"
2121
"github.com/gertd/go-pluralize"
2222

23-
ackgenconfig "github.com/aws-controllers-k8s/code-generator/pkg/generate/config"
23+
ackgenconfig "github.com/aws-controllers-k8s/code-generator/pkg/config"
2424
"github.com/aws-controllers-k8s/code-generator/pkg/model"
2525
"github.com/aws-controllers-k8s/code-generator/pkg/util"
2626
)

0 commit comments

Comments
 (0)