Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid a conflict between possible named params & map as param
maybeExpandNamedQuery() now checks time.Time & driver.Valuer types first before trying to check if the passed param is a map of named params. It allows to pass a map[string]struct{}{} type implementing driver.Valuer without suffering any conflict with a map of named params. Closes go-gorp#423
- Loading branch information