示例#1
0
func (p *ColorMeta) readField4(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadDouble(); err != nil {
		return fmt.Errorf("error reading field 4: %s")
	} else {
		p.Distance = v
	}
	return nil
}
示例#2
0
func (p *ColorCount) readField2(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadDouble(); err != nil {
		return fmt.Errorf("error reading field 2: %s")
	} else {
		p.Percentage = v
	}
	return nil
}
示例#3
0
func (p *ColorMeta) readField3(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadDouble(); err != nil {
		return fmt.Errorf("error reading field 3: %s")
	} else {
		p.SearchFactor = v
	}
	return nil
}
示例#4
0
func (p *FichaVisitaDomiciliarChildThrift) ReadField13(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadDouble(); err != nil {
		return fmt.Errorf("error reading field 13: %s", err)
	} else {
		p.AlturaAcompanhamentoNutricional = &v
	}
	return nil
}
示例#5
0
func (p *ParticipanteRowItemThrift) ReadField5(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadDouble(); err != nil {
		return fmt.Errorf("error reading field 5: %s", err)
	} else {
		p.Altura = &v
	}
	return nil
}
示例#6
0
文件: ttypes.go 项目: qqliu/kibitz
func (p *Item) ReadField4(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadDouble(); err != nil {
		return fmt.Errorf("error reading field 4: %s", err)
	} else {
		p.PredictedPreferences = v
	}
	return nil
}
示例#7
0
func (p *Types) readField4(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadDouble(); err != nil {
		return thrift.PrependError("error reading field 4: ", err)
	} else {
		p.DoubleValue = &v
	}
	return nil
}