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