// ValueOrZero returns the value of i if it is valid; otherwise it returns the
// zero value for a uint8 (0).
ValueOrZero returns the value of i if it is valid; otherwise it returns the
zero value for a uint8 (0).
// ValueOrZero returns the value of i if it is valid ; otherwise it returns the // zero value for a uint8 ( 0 ) .
func (i Uint8) ValueOrZero() uint8 {
	if !i.Valid {
		return 0
	}
	return i.Uint8
}
func ( i Uint8 ) ValueOrZero ( ) uint8 { if ! i . Valid { return 0 } return i . Uint8 }
ValueOrZero returns the value of i if it is valid; otherwise it returns the
zero value for a uint8 (0).
ValueOrZero returns the value of i if it is valid ; otherwise it returns the zero value for a uint8 ( 0 ) .