4 ms·
func QueryDatabase(sql string) (string, *DatabaseError) { Returning *DatabaseError instead of error is a pretty clear programmer mistake, which should be caugh
by kiitos 3y ago
func QueryDatabase(sql string) (string, *DatabaseError) {
Returning *DatabaseError instead of error is a pretty clear programmer mistake, which should be caught and fixed by any reasonable kind of code review.