forked from go-gorp/gorp
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
1 changed file
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters