Skip to content

Commit 066d32d

Browse files
committed
chore: fixed validation errors
1 parent 18f6945 commit 066d32d

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
default_stages: [commit]
22
repos:
33
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
4-
rev: "v9.10.0"
4+
rev: "v9.11.0"
55
hooks:
66
- id: commitlint
77
stages: [commit-msg]
@@ -14,16 +14,16 @@ repos:
1414
- id: check-yaml
1515
- id: check-added-large-files
1616
- repo: https://github.com/pre-commit/mirrors-prettier
17-
rev: "v4.0.0-alpha.4"
17+
rev: "v4.0.0-alpha.8"
1818
hooks:
1919
- id: prettier
2020
exclude: "go.mod"
2121
- repo: https://github.com/golangci/golangci-lint
22-
rev: "v1.55.2"
22+
rev: "v1.56.2"
2323
hooks:
2424
- id: golangci-lint
2525
args: ["--timeout", "3m0s"]
2626
- repo: https://github.com/segmentio/golines
27-
rev: "v0.11.0"
27+
rev: "v0.12.2"
2828
hooks:
2929
- id: golines

docs/sliceutils/flatMap.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ FlatMap receives a slice of type T, executes the passed in slice-mapper function
66
returns a flattened slice containing all the elements from all the mapped slices.
77
The function is passed the current element, the current index and the slice itself as function arguments.
88

9-
109
```go
1110
package main
1211

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module github.com/Goldziher/go-utils
22

3-
go 1.21
3+
go 1.22
44

55
require (
66
github.com/stretchr/testify v1.7.1
7-
golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb
7+
golang.org/x/exp v0.0.0-20240213143201-ec583247a57a
88
)
99

1010
require (

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
55
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
66
github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY=
77
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
8-
golang.org/x/exp v0.0.0-20230807204917-050eac23e9de h1:l5Za6utMv/HsBWWqzt4S8X17j+kt1uVETUX5UFhn2rE=
9-
golang.org/x/exp v0.0.0-20230807204917-050eac23e9de/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc=
108
golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb h1:c0vyKkb6yr3KR7jEfJaOSv4lG7xPkbN6r52aJz1d8a8=
119
golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI=
10+
golang.org/x/exp v0.0.0-20240213143201-ec583247a57a h1:HinSgX1tJRX3KsL//Gxynpw5CTOAIPhgL4W8PNiIpVE=
11+
golang.org/x/exp v0.0.0-20240213143201-ec583247a57a/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc=
1212
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
1313
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
1414
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)