Skip to content

Integrate Gorm with Gin, plus tests

Brian St. Pierre requested to merge integrating-gorm-with-gin into main

This corresponds to two posts on Universal Glue, in a series about writing this web application with Gin and Gorm:

  1. Integrating Gorm with Gin
  2. Testing Gin Web Handlers

Note that I'm committing the files as-is from the blog posts, so you will see comments like //BEGIN: and //END: -- these are how I'm including chunks of code into the posts. Also, I haven't removed old versions of tests after doing refactoring. (Those will be removed with an inter-post MR.)

Merge request reports