本文整理汇总了Golang中git/apache/org/thrift/git/lib/go/thrift.TProtocol.ReadBool方法的典型用法代码示例。如果您正苦于以下问题:Golang TProtocol.ReadBool方法的具体用法?Golang TProtocol.ReadBool怎么用?Golang TProtocol.ReadBool使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类git/apache/org/thrift/git/lib/go/thrift.TProtocol
的用法示例。
在下文中一共展示了TProtocol.ReadBool方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Golang代码示例。
示例1: ReadField5
func (p *FichaAtendimentoOdontologicoChildThrift) ReadField5(iprot thrift.TProtocol) error {
if v, err := iprot.ReadBool(); err != nil {
return fmt.Errorf("error reading field 5: %s", err)
} else {
p.NecessidadesEspeciais = &v
}
return nil
}
示例2: readField0
func (p *UpdateResult) readField0(iprot thrift.TProtocol) error {
if v, err := iprot.ReadBool(); err != nil {
return fmt.Errorf("error reading field 0: %s")
} else {
p.Success = v
}
return nil
}
示例3: ReadField10
func (p *FichaVisitaDomiciliarChildThrift) ReadField10(iprot thrift.TProtocol) error {
if v, err := iprot.ReadBool(); err != nil {
return fmt.Errorf("error reading field 10: %s", err)
} else {
p.StForaArea = &v
}
return nil
}
示例4: ReadField5
func (p *GetResourceViewHistoryArgs) ReadField5(iprot thrift.TProtocol) error {
if v, err := iprot.ReadBool(); err != nil {
return fmt.Errorf("error reading field 5: %s", err)
} else {
p.IsReversed = v
}
return nil
}
示例5: ReadField3
func (p *ParticipanteRowItemThrift) ReadField3(iprot thrift.TProtocol) error {
if v, err := iprot.ReadBool(); err != nil {
return fmt.Errorf("error reading field 3: %s", err)
} else {
p.AvaliacaoAlterada = &v
}
return nil
}
示例6: ReadField7
func (p *ParticipanteRowItemThrift) ReadField7(iprot thrift.TProtocol) error {
if v, err := iprot.ReadBool(); err != nil {
return fmt.Errorf("error reading field 7: %s", err)
} else {
p.AbandonouGrupo = &v
}
return nil
}
示例7: readField13
func (p *BootstrapSettings) readField13(iprot thrift.TProtocol) error {
if v, err := iprot.ReadBool(); err != nil {
return fmt.Errorf("error reading field 13: %s")
} else {
p.EnablePublicNotebooks = v
}
return nil
}
示例8: readField0
func (p *DcacheServicePutResult) readField0(iprot thrift.TProtocol) error {
if v, err := iprot.ReadBool(); err != nil {
return thrift.PrependError("error reading field 0: ", err)
} else {
p.Success = &v
}
return nil
}
示例9: readField10
func (p *BootstrapSettings) readField10(iprot thrift.TProtocol) error {
if v, err := iprot.ReadBool(); err != nil {
return fmt.Errorf("error reading field 10: %s")
} else {
p.EnableSponsoredAccounts = v
}
return nil
}
示例10: readField12
func (p *BootstrapSettings) readField12(iprot thrift.TProtocol) error {
if v, err := iprot.ReadBool(); err != nil {
return fmt.Errorf("error reading field 12: %s")
} else {
p.EnableLinkedInSharing = v
}
return nil
}
示例11: readField7
func (p *BootstrapSettings) readField7(iprot thrift.TProtocol) error {
if v, err := iprot.ReadBool(); err != nil {
return fmt.Errorf("error reading field 7: %s")
} else {
p.EnableSupportTickets = v
}
return nil
}
示例12: readField6
func (p *BootstrapSettings) readField6(iprot thrift.TProtocol) error {
if v, err := iprot.ReadBool(); err != nil {
return fmt.Errorf("error reading field 6: %s")
} else {
p.EnableGiftSubscriptions = v
}
return nil
}
示例13: readField8
func (p *AuthenticationResult) readField8(iprot thrift.TProtocol) error {
if v, err := iprot.ReadBool(); err != nil {
return fmt.Errorf("error reading field 8: %s")
} else {
p.SecondFactorRequired = v
}
return nil
}
示例14: ReadField4
func (p *GetGroupMessagesArgs) ReadField4(iprot thrift.TProtocol) error {
if v, err := iprot.ReadBool(); err != nil {
return fmt.Errorf("error reading field 4: %s", err)
} else {
p.IsReversed = v
}
return nil
}
示例15: ReadField9
func (p *Span) ReadField9(iprot thrift.TProtocol) error {
if v, err := iprot.ReadBool(); err != nil {
return fmt.Errorf("error reading field 9: %s", err)
} else {
p.Debug = v
}
return nil
}