eaigner / hood

Database agnostic ORM for Go
MIT License
708 stars 52 forks source link

Adds FindOne #70

Open daver76 opened 11 years ago

daver76 commented 11 years ago

This adds a FindOne method, fixing some bugs with the FindOne in #57 and adding the flexibility to pass in both a pointer to a struct and a pointer to a pointer to a struct as an out value.

Example usage is shown in the test I included.