func (i Int) MarshalText() ([]byte, error) {
	n := i.Int64
	if !i.Valid {
		n = 0
	}
	return []byte(strconv.FormatInt(n, 10)), nil
}
func (i Int) MarshalText() ([]byte, error) {
	n := i.Int64
	if !i.Valid {
		n = 0
	}
	return []byte(strconv.FormatInt(n, 10)), nil
}
func ( i Int ) MarshalText ( ) ( [ ] byte , error ) { n := i . Int64 if ! i . Valid { n = 0 } return [ ] byte ( strconv . FormatInt ( n , 10 ) ) , nil }
// MarshalText implements encoding.TextMarshaler.
// It will encode a zero if this Int is null.
MarshalText implements encoding . TextMarshaler . It will encode a zero if this Int is null .