github.com/olli-ai/jx/v2@v2.0.400-0.20210921045218-14731b4dd448/pkg/gits/mocks/matchers/ptr_to_config_config.go (about) 1 // Code generated by pegomock. DO NOT EDIT. 2 package matchers 3 4 import ( 5 "reflect" 6 7 "github.com/petergtz/pegomock" 8 config "gopkg.in/src-d/go-git.v4/config" 9 ) 10 11 func AnyPtrToConfigConfig() *config.Config { 12 pegomock.RegisterMatcher(pegomock.NewAnyMatcher(reflect.TypeOf((*(*config.Config))(nil)).Elem())) 13 var nullValue *config.Config 14 return nullValue 15 } 16 17 func EqPtrToConfigConfig(value *config.Config) *config.Config { 18 pegomock.RegisterMatcher(&pegomock.EqMatcher{Value: value}) 19 var nullValue *config.Config 20 return nullValue 21 }