//------------------------------------------------------------------------------ // // 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 TestCompositeJsonTable1 struct { Id int32 X string } const TypeId_TestCompositeJsonTable1 = 1566207894 func (*TestCompositeJsonTable1) GetTypeId() int32 { return 1566207894 } func NewTestCompositeJsonTable1(_buf *luban.ByteBuf) (_v *TestCompositeJsonTable1, err error) { _v = &TestCompositeJsonTable1{} { if _v.Id, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } } { if _v.X, err = _buf.ReadString(); err != nil { err = errors.New("error"); return } } return }