package models import "time" type Address struct { ID int64 `db:"id" gorm:"primaryKey;autoIncrement"` InvalidAddress string `db:"invalid_address" gorm:"column:invalid_address"` CorrectAddress string `db:"correct_address" gorm:"column:correct_address"` CreatedAt time.Time `db:"created_at" gorm:"autoCreateTime"` UpdatedAt time.Time `db:"updated_at" gorm:"autoUpdateTime"` } func (Address) TableName() string { return "adresse_correction" }