Skip to content

Commit de4fbec

Browse files
committed
go: update to Go 1.19 semantics
1 parent 7a25f79 commit de4fbec

File tree

3 files changed

+28
-198
lines changed

3 files changed

+28
-198
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,14 @@ spec:
187187

188188
## Building from source
189189

190-
`kube-score` requires [Go](https://golang.org/) `1.11` or later to build. Clone this repository, and then:
190+
`kube-score` requires [Go](https://golang.org/) `1.19` or later to build. Clone this repository, and then:
191191

192192
```bash
193193
# Build the project
194-
go build github.com/zegl/kube-score/cmd/kube-score
194+
go build ./cmd/kube-score
195195
196196
# Run all tests
197-
go test -v github.com/zegl/kube-score/...
197+
go test -v -/...
198198
```
199199

200200
## Contributing?
@@ -205,7 +205,7 @@ Do you want to help out? Take a look at the [Contributing Guidelines](./.github/
205205

206206
| Project | Version |
207207
|---------------------|---------|
208-
| go.dev | ^1.18 |
208+
| go.dev | ^1.19 |
209209

210210
## Made by
211211

go.mod

+24-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,27 @@ require (
1212
k8s.io/apimachinery v0.26.0
1313
)
1414

15-
go 1.13
15+
require (
16+
github.com/davecgh/go-spew v1.1.1 // indirect
17+
github.com/go-logr/logr v1.2.3 // indirect
18+
github.com/gogo/protobuf v1.3.2 // indirect
19+
github.com/google/gofuzz v1.1.0 // indirect
20+
github.com/json-iterator/go v1.1.12 // indirect
21+
github.com/mattn/go-colorable v0.1.9 // indirect
22+
github.com/mattn/go-isatty v0.0.14 // indirect
23+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
24+
github.com/modern-go/reflect2 v1.0.2 // indirect
25+
github.com/pmezard/go-difflib v1.0.0 // indirect
26+
golang.org/x/net v0.3.1-0.20221206200815-1e63c2f08a10 // indirect
27+
golang.org/x/sys v0.3.0 // indirect
28+
golang.org/x/text v0.5.0 // indirect
29+
gopkg.in/inf.v0 v0.9.1 // indirect
30+
gopkg.in/yaml.v2 v2.4.0 // indirect
31+
k8s.io/klog/v2 v2.80.1 // indirect
32+
k8s.io/utils v0.0.0-20221107191617-1a15be271d1d // indirect
33+
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
34+
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
35+
sigs.k8s.io/yaml v1.3.0 // indirect
36+
)
37+
38+
go 1.19

0 commit comments

Comments
 (0)