jmoiron / modl

golang database modelling library
MIT License
479 stars 48 forks source link

compatible with withmock #23

Closed jwfang closed 9 years ago

jwfang commented 9 years ago

make modl compatible with withmock mocking library. 1) change multiple var decleration, which no supported via withmock; 2) change delete to deletes to avoid overriding builtin function delete, which is used via withmock

jmoiron commented 9 years ago

Not crazy about the 'deletes' name but it's internal so I can change it whenever. Had never heard of withmock, thanks for the contribution.