File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ require (
17
17
github.com/mattn/anko v0.1.9
18
18
github.com/mattn/go-isatty v0.0.20
19
19
github.com/pkg/profile v1.7.0
20
- github.com/rs/zerolog v1.33 .0
20
+ github.com/rs/zerolog v1.34 .0
21
21
github.com/spf13/cast v1.7.1
22
22
github.com/spf13/cobra v1.9.1
23
23
github.com/stretchr/testify v1.10.0
Original file line number Diff line number Diff line change @@ -117,9 +117,9 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
117
117
github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
118
118
github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8 =
119
119
github.com/rogpeppe/go-internal v1.9.0 /go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs =
120
- github.com/rs/xid v1.5 .0 /go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg =
121
- github.com/rs/zerolog v1.33 .0 h1:1cU2KZkvPxNyfgEmhHAz/1A9Bz+llsdYzklWFzgp0r8 =
122
- github.com/rs/zerolog v1.33 .0 /go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss =
120
+ github.com/rs/xid v1.6 .0 /go.mod h1:7XoLgs4eV+QndskICGsho+ADou8ySMSjJKDIan90Nz0 =
121
+ github.com/rs/zerolog v1.34 .0 h1:k43nTLIwcTVQAncfCw4KZ2VY6ukYoZaBPNOE8txlOeY =
122
+ github.com/rs/zerolog v1.34 .0 /go.mod h1:bJsvje4Z08ROH4Nhs5iH600c3IkWhwp44iRc54W6wYQ =
123
123
github.com/russross/blackfriday/v2 v2.1.0 /go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM =
124
124
github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k =
125
125
github.com/shopspring/decimal v1.4.0 /go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME =
Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ func TestMemCache_putUnique(t *testing.T) {
41
41
}
42
42
43
43
func TestNewUniqueMaskCacheEngine (t * testing.T ) {
44
- rand .Seed ( 0 ) //nolint:staticcheck
44
+ rnd := rand .New ( rand . NewSource ( 0 )) //nolint:gosec
45
45
MyFunc := func (entry Entry , contexts ... Dictionary ) (Entry , error ) {
46
46
// nolint:gosec
47
- return rand .Int () % 2 , nil
47
+ return rnd .Int () % 2 , nil
48
48
}
49
49
50
50
cachedMask := NewUniqueMaskCacheEngine (NewUniqueMemCache (), FunctionMaskEngine {MyFunc })
You can’t perform that action at this time.
0 commit comments