jmoiron / modl

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

Panic explicitly if Version field is not of type int #41

Closed tike closed 6 years ago

tike commented 8 years ago

Currently this panics implicitly, in the call to .Int, leaving the user with a contextually rather unuseful message.

this partly resolves #39