//------------------------------------------------------------------------------ // // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ package cfg; import ( "demo/luban" ) import "errors" type TestTestMultiColumn struct { Id int32 A *TestFoo B *TestFoo C *TestFoo } const TypeId_TestTestMultiColumn = -294473599 func (*TestTestMultiColumn) GetTypeId() int32 { return -294473599 } func NewTestTestMultiColumn(_buf *luban.ByteBuf) (_v *TestTestMultiColumn, err error) { _v = &TestTestMultiColumn{} { if _v.Id, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } } { if _v.A, err = NewTestFoo(_buf); err != nil { err = errors.New("error"); return } } { if _v.B, err = NewTestFoo(_buf); err != nil { err = errors.New("error"); return } } { if _v.C, err = NewTestFoo(_buf); err != nil { err = errors.New("error"); return } } return }