Create a new method on the gorm rows object which runs a small closure for every row retrieved from the database. Use this new method to remove 20 lines of boilerplate from five different SA methods and rocsp-tool. |
||
---|---|---|
.. | ||
gorm.go | ||
gorm_test.go | ||
interfaces.go | ||
map.go | ||
map_test.go | ||
multi.go | ||
multi_test.go | ||
qmarks.go | ||
qmarks_test.go | ||
rollback.go | ||
rollback_test.go | ||
transaction.go |