Go problem collection (continuously updated)

  1. Database singular and plural problem

By default, if you use go to query the corresponding form of the database, +s on your structure becomes a plural operation, but we are generally not used to building tables like this, so add singulartable: ture when building db

2. Unable to import local packages

Look at the package in that directory. If it is main, change it to the folder name.

Guess you like

Origin blog.csdn.net/qq_54729417/article/details/129347678