data/misc.go
func FindOneTo(db *reform.Querier,
	str reform.Struct, column string, arg interface{}) error {
	if err := db.FindOneTo(str, column, arg); err != nil {
		return fmt.Errorf("failed to find %T by '%s' column: %s",
			str, column, err)
	}
	return nil
}
func FindOneTo(db *reform.Querier,
	str reform.Struct, column string, arg interface{}) error {
	if err := db.FindOneTo(str, column, arg); err != nil {
		return fmt.Errorf("failed to find %T by '%s' column: %s",
			str, column, err)
	}
	return nil
}
func FindOneTo ( db * reform . Querier , str reform . Struct , column string , arg interface { } ) error { if err := db . FindOneTo ( str , column , arg ) ; err != nil { return fmt . Errorf ( " " , str , column , err ) } return nil }
// FindOneTo calls db.FindOneTo() returning more descriptive error.
FindOneTo calls db . FindOneTo () returning more descriptive error .