-
Notifications
You must be signed in to change notification settings - Fork 553
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove additional reliance on the null package
We now have the ability to use custom types everywhere. The null package could be replaced or removed or what have you. But there were subtle hints everywhere of it's existence. These assumptions have been removed and in their place we assume that types were are dealing with will implement sql.Scanner/driver.Valuer so that we can assign and read their values. This comes with some small performance penalties because more reflection. Shouldn't be noticeable though. - Add some functions to help assign/compare and generally work with the sql.Scanner and driver.Valuer interfaces. - Remove all references to null package in the templates.
- Loading branch information
Showing
21 changed files
with
654 additions
and
212 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
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
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
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
Oops, something went wrong.