code: func (d *Datum) SetAutoID(id int64, flag uint) {
  	if mysql.HasUnsignedFlag(flag) {
  		d.SetUint64(uint64(id))
  	} else {
  		d.SetInt64(id)
  	}
  }
docs: // SetAutoID set the auto increment ID according to its int flag.