ProtonMail / go-proton-api

Proton API library used by Go-based clients and tools
MIT License
122 stars 16 forks source link

feat(IMEX-9): introduce a typedef to be able to mock ImportMessages. #150

Closed xmichelo closed 2 months ago

xmichelo commented 2 months ago

gomock does not support generics. In order to be able to mock ImportMessage(), we introduce a type definition.