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