Skip to content

Commit 04d7eb7

Browse files
authored
Merge pull request #82 from gostaticanalysis/remove-pre-go1.18-support
Remove pre-go1.18 support
2 parents 8d4152f + 0908a9f commit 04d7eb7

39 files changed

+8
-1245
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,6 @@ The following slides describes details of Go's static analysis including the `x/
2020

2121
## Installation
2222

23-
There are two diffrent ways to install skeleton by Go versions.
24-
25-
### Less than Go1.16
26-
27-
```
28-
$ go get -u github.com/gostaticanalysis/skeleton/v2
29-
```
30-
31-
### Go1.16 or higher
32-
3323
```
3424
$ go install github.com/gostaticanalysis/skeleton/v2@latest
3525
```

README_ja.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,6 @@ skeletonについて詳しく知りたい場合は、次のブログも参考に
2020

2121
## インストール
2222

23-
Goのバージョンによってインストール方法が異なります。
24-
25-
### Go1.16未満
26-
27-
```
28-
$ go get -u github.com/gostaticanalysis/skeleton/v2
29-
```
30-
31-
### Go1.16以上
32-
3323
```
3424
$ go install github.com/gostaticanalysis/skeleton/v2@latest
3525
```

v2/README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,6 @@ The following slides describes details of Go's static analysis including the `x/
2020

2121
## Installation
2222

23-
There are two diffrent ways to install skeleton by Go versions.
24-
25-
### Less than Go1.16
26-
27-
```
28-
$ go get -u github.com/gostaticanalysis/skeleton/v2
29-
```
30-
31-
### Go1.16 or higher
32-
3323
```
3424
$ go install github.com/gostaticanalysis/skeleton/v2@latest
3525
```

v2/README_ja.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,6 @@ skeletonについて詳しく知りたい場合は、次のブログも参考に
2020

2121
## インストール
2222

23-
Goのバージョンによってインストール方法が異なります。
24-
25-
### Go1.16未満
26-
27-
```
28-
$ go get -u github.com/gostaticanalysis/skeleton/v2
29-
```
30-
31-
### Go1.16以上
32-
3323
```
3424
$ go install github.com/gostaticanalysis/skeleton/v2@latest
3525
```

v2/skeleton/_template/codegen/testdata/src/a/@@.Pkg@@.golden

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ func (m *MockDB) Set(id string, v int) {
1515
}
1616

1717
type MockLogger struct {
18-
ErrorfFunc func(format string, args ...interface{})
19-
InfofFunc func(format string, args ...interface{})
18+
ErrorfFunc func(format string, args ...any)
19+
InfofFunc func(format string, args ...any)
2020
}
2121

22-
func (m *MockLogger) Errorf(format string, args ...interface{}) {
22+
func (m *MockLogger) Errorf(format string, args ...any) {
2323
m.ErrorfFunc(format, args...)
2424
}
2525

26-
func (m *MockLogger) Infof(format string, args ...interface{}) {
26+
func (m *MockLogger) Infof(format string, args ...any) {
2727
m.InfofFunc(format, args...)
2828
}

v2/skeleton/_template/codegen/testdata/src/a/a.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ func (db) Get(id string) int { return 0 }
1111
func (db) Set(id string, v int) {}
1212

1313
type Logger interface {
14-
Infof(format string, args ...interface{})
15-
Errorf(format string, args ...interface{})
14+
Infof(format string, args ...any)
15+
Errorf(format string, args ...any)
1616
}

v2/skeleton/_template/codegen_go118/@@.Pkg@@.go

Lines changed: 0 additions & 114 deletions
This file was deleted.

v2/skeleton/_template/codegen_go118/@@.Pkg@@_test.go

Lines changed: 0 additions & 23 deletions
This file was deleted.

v2/skeleton/_template/codegen_go118/@@gomod@@

Lines changed: 0 additions & 1 deletion
This file was deleted.

v2/skeleton/_template/codegen_go118/cmd/@@.Pkg@@/main.go

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)