These are chat archives for jinzhu/gorm

11th
Jun 2018
chillicrab
@xlk3099
Jun 11 2018 09:54
@jinzhu does gorm support big.Int type now?
Andrew Sharp
@ags799
Jun 11 2018 20:01

if i have

type road struct {
  gorm.Model
  Name string
}

then should db.Create(&road{Name: "Main Street"}) automatically set road.ID ?