Language: Go. The pull request has one bug. You get three tries to find the line, then a short debrief.
The upload handler now puts the file into storage first and then writes a record to the database. If storage fails, we return the error and write nothing to the database.
Codetrap needs JavaScript: the code review happens in your browser.