Skip to content

Commit

Permalink
go: update to Go 1.19 semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
zegl committed Dec 12, 2022
1 parent 7a25f79 commit de4fbec
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 198 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,14 @@ spec:

## Building from source

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

```bash
# Build the project
go build github.com/zegl/kube-score/cmd/kube-score
go build ./cmd/kube-score
# Run all tests
go test -v github.com/zegl/kube-score/...
go test -v -/...
```

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

| Project | Version |
|---------------------|---------|
| go.dev | ^1.18 |
| go.dev | ^1.19 |

## Made by

Expand Down
25 changes: 24 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,27 @@ require (
k8s.io/apimachinery v0.26.0
)

go 1.13
require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/mattn/go-colorable v0.1.9 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/net v0.3.1-0.20221206200815-1e63c2f08a10 // indirect
golang.org/x/sys v0.3.0 // indirect
golang.org/x/text v0.5.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
k8s.io/klog/v2 v2.80.1 // indirect
k8s.io/utils v0.0.0-20221107191617-1a15be271d1d // indirect
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)

go 1.19
Loading

0 comments on commit de4fbec

Please sign in to comment.