Skip to content

Commit ec541db

Browse files
committed
go.mod updated
1 parent f14e0ef commit ec541db

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

any.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func Any[Source any](source iter.Seq[Source]) (bool, error) {
1313
if source == nil {
1414
return false, errorhelper.CallerError(ErrNilSource)
1515
}
16-
for _ = range source {
16+
for range source {
1717
return true, nil
1818
}
1919
return false, nil

count.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func Count[Source any](source iter.Seq[Source]) (int, error) {
1414
return -1, errorhelper.CallerError(ErrNilSource)
1515
}
1616
res := 0
17-
for _ = range source {
17+
for range source {
1818
res++
1919
}
2020
return res, nil

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ go 1.23
55
require (
66
github.com/solsw/errorhelper v0.7.0
77
github.com/solsw/generichelper v0.18.0
8-
golang.org/x/exp v0.0.0-20240823005443-9b4947da3948
9-
golang.org/x/sync v0.8.0
8+
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f
9+
golang.org/x/sync v0.9.0
1010
)
1111

1212
require github.com/solsw/runtimehelper v0.2.0 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ github.com/solsw/generichelper v0.18.0 h1:RUSpQD95rtFDnSY/2m0VUv7UnOuoY+qNy+Pia8
44
github.com/solsw/generichelper v0.18.0/go.mod h1:8l4YjYBOZakA0G+wWJMK1dnbq87xp34EbP7UR9rfIBw=
55
github.com/solsw/runtimehelper v0.2.0 h1:lxkQiD6lKWZti1S830Ee6qSUavaCb81SWJI+0hrXios=
66
github.com/solsw/runtimehelper v0.2.0/go.mod h1:86mFcvL3sela4Eiiq4/WezGLE2IoMMVlfZT52cUImjQ=
7-
golang.org/x/exp v0.0.0-20240823005443-9b4947da3948 h1:kx6Ds3MlpiUHKj7syVnbp57++8WpuKPcR5yjLBjvLEA=
8-
golang.org/x/exp v0.0.0-20240823005443-9b4947da3948/go.mod h1:akd2r19cwCdwSwWeIdzYQGa/EZZyqcOdwWiwj5L5eKQ=
9-
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
10-
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
7+
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f h1:XdNn9LlyWAhLVp6P/i8QYBW+hlyhrhei9uErw2B5GJo=
8+
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f/go.mod h1:D5SMRVC3C2/4+F/DB1wZsLRnSNimn2Sp/NPsCrsv8ak=
9+
golang.org/x/sync v0.9.0 h1:fEo0HyrW1GIgZdpbhCRO0PkJajUS5H9IFUztCgEo2jQ=
10+
golang.org/x/sync v0.9.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=

0 commit comments

Comments
 (0)