le premier fichier va dans /cmd/genmigration/genmigration.go et tu l'installe en faisant "go install cmd/genmigration/genmigration.go" le second fichier tu le met dans un dossier "migrations"
genmigration users
https://github.com/go-gormigrate/gormigrate https://github.com/jinzhu/gorm https://github.com/jinzhu/gorm/blob/master/migration_test.go http://gorm.io/docs/models.html#Struct-tags https://gist.github.com/maxencehenneron/3aa2206988179840068e3f7465238cda