coopernurse/gorp — pull request #98 by mssola (2013-11-16 17:57:29+00:00)
Title: Return a sql.ErrNoRows when SelectOne does not return any row.

The SelectOne wants to return just one row, so it should also return an error
when no rows were returned. In this case, this function will return an
sql.ErrNoRows, as it's done in some functions of the database/sql package (e.g. http://golang.org/pkg/database/sql/#DB.QueryRow).