github.com/petergtz/pegomock@v2.9.1-0.20230424204322-eb0e044013df+incompatible/matchers/map_of_string_to_interface.go (about) 1 // Code generated by pegomock. DO NOT EDIT. 2 package matchers 3 4 import ( 5 "github.com/petergtz/pegomock" 6 "reflect" 7 ) 8 9 func AnyMapOfStringToInterface() map[string]interface{} { 10 pegomock.RegisterMatcher(pegomock.NewAnyMatcher(reflect.TypeOf((*(map[string]interface{}))(nil)).Elem())) 11 var nullValue map[string]interface{} 12 return nullValue 13 } 14 15 func EqMapOfStringToInterface(value map[string]interface{}) map[string]interface{} { 16 pegomock.RegisterMatcher(&pegomock.EqMatcher{Value: value}) 17 var nullValue map[string]interface{} 18 return nullValue 19 } 20 21 func NotEqMapOfStringToInterface(value map[string]interface{}) map[string]interface{} { 22 pegomock.RegisterMatcher(&pegomock.NotEqMatcher{Value: value}) 23 var nullValue map[string]interface{} 24 return nullValue 25 } 26 27 func MapOfStringToInterfaceThat(matcher pegomock.ArgumentMatcher) map[string]interface{} { 28 pegomock.RegisterMatcher(matcher) 29 var nullValue map[string]interface{} 30 return nullValue 31 }