mirror of
https://github.com/luxfi/mock.git
synced 2026-09-24 00:24:00 +00:00
Go 1.27.1, and the code it can say more simply
Modules declare go 1.27.1 and the build images follow. go fix applied the modernizers; omitzero is not applied, since it changes what the JSON says. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
module github.com/luxfi/mock
|
||||
|
||||
go 1.26.4
|
||||
go 1.27.1
|
||||
|
||||
require go.uber.org/mock v0.6.0
|
||||
|
||||
@@ -29,7 +29,7 @@ func Any() Matcher {
|
||||
}
|
||||
|
||||
// Eq returns a matcher that matches values equal to x
|
||||
func Eq(x interface{}) Matcher {
|
||||
func Eq(x any) Matcher {
|
||||
return gomock.Eq(x)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user