Get() returns interface{} in case of no row found
Arman92 opened this issue · 2 comments
Arman92 commented
According to the Get function description:
Returns a pointer to a struct that matches or nil if no row is found.
DbMap.Get(i interface{}, keys ...interface{}) should return nil when no row found, but returns empty interface{}.
Arman92 commented
Any updates in this issue?
nelsam commented
Feel free to send a PR with either a fix for the documentation or a code change with tests.