[Golang] Practice of Test-Driven Development: From Migration File Creation to SQL Injection Countermeasures
Describes test-driven development in Go language, including migration file creation, SQL injection countermeasures and actual testing methods using dockertest. testutils.RunMySQLContainer function is called to start the MySQL container and connect to the database. RunMySQLContainer function to start the MySQL container and connect to the database.