6 ms·
So you then define your function to return the type DBError instead of a generic err type. That makes sense to me but for some reason some of the stuff I've sug
by macrael 8y ago
So you then define your function to return the type DBError instead of a generic err type. That makes sense to me but for some reason some of the stuff I've suggests that just returning err is more go-like.