aboutsummaryrefslogtreecommitdiff
path: root/go.work.sum
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-05-08 16:52:45 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-05-08 16:52:46 +0200
commitf79d61a9eef42a05aca6f4ddb8d95192549036a5 (patch)
tree3ff619b4d42195de6fd80c1f36bd218b479ec834 /go.work.sum
parentdadb36a1f73d39948e4989a3ab4333a61f70ee7a (diff)
downloadgo-oblast-f79d61a9eef42a05aca6f4ddb8d95192549036a5.tar.gz
allow both None or ErrNoRows in SelectOne{,Where}
The None-returning style is more convenient when the application needs to genuinely behave differently in this case, e.g. returning 404 from an HTTP API endpoint (instead of 500 for a generic database error). The ErrNoRows-returning style is more convenient when control flow is not different for this case vs. other error cases.
Diffstat (limited to 'go.work.sum')
0 files changed, 0 insertions, 0 deletions