Skip to content

Commit 2d38899

Browse files
committed
chore: split internal code and code from Go
1 parent 071fd10 commit 2d38899

40 files changed

+9
-121
lines changed

.golangci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,7 @@ issues:
221221

222222
exclude-dirs:
223223
- test/testdata_etc # test files
224-
- internal/cache # extracted from Go code
225-
- internal/robustio # extracted from Go code
226-
- internal/mmap # extracted from Go code
227-
- internal/quoted # extracted from Go code
228-
- internal/testenv # extracted from Go code
224+
- internal/go # extracted from Go code
229225

230226
run:
231227
timeout: 5m
File renamed without changes.

internal/cache/cache.go renamed to internal/go/cache/cache.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import (
2222
"strings"
2323
"time"
2424

25-
"github.com/golangci/golangci-lint/internal/mmap"
26-
"github.com/golangci/golangci-lint/internal/robustio"
25+
"github.com/golangci/golangci-lint/internal/go/mmap"
26+
"github.com/golangci/golangci-lint/internal/go/robustio"
2727
"github.com/rogpeppe/go-internal/lockedfile"
2828
)
2929

File renamed without changes.

internal/cache/cache_test.go renamed to internal/go/cache/cache_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"testing"
1414
"time"
1515

16-
"github.com/golangci/golangci-lint/internal/testenv"
16+
"github.com/golangci/golangci-lint/internal/go/testenv"
1717
)
1818

1919
func init() {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)