code: func FromGoTime(t gotime.Time) TimeInternal {
  	year, month, day := t.Date()
  	hour, minute, second := t.Clock()
  	microsecond := t.Nanosecond() / 1000
  	return newMysqlTime(year, int(month), day, hour, minute, second, microsecond)
  }
docs: // FromGoTime translates time.Time to mysql time internal representation.