Skip to content

Commit 33a56e8

Browse files
committed
fix nolint dupl
1 parent e1716f5 commit 33a56e8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pkg/inserter/js_inserter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ func (j *JSInserter) Execute(ctx context.Context, cn, path string) error {
7070
}
7171

7272
// CreateItem - ItemのCreate
73+
// nolint: dupl
7374
func (j *JSInserter) CreateItem(ctx context.Context, path []string, items []JSONModelItem, collectionIndexes []int) error {
7475
for idx, parentItem := range items {
7576
nowIndexes := append(collectionIndexes, idx)

pkg/inserter/json_inserter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ func (j *JSONInserter) Execute(ctx context.Context, cn, path string) error {
4646
}
4747

4848
// CreateItem - ItemのCreate
49+
// nolint: dupl
4950
func (j *JSONInserter) CreateItem(ctx context.Context, path []string, items []JSONModelItem, collectionIndexes []int) error {
5051
for idx, parentItem := range items {
5152
nowIndexes := append(collectionIndexes, idx)

0 commit comments

Comments
 (0)