JisolGame/luban_examples/Projects/Go_json/gen/test.TbCompositeJsonTable3.go

37 lines
911 B
Go
Raw Normal View History

2023-11-05 03:26:09 +08:00
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg;
import "errors"
type TestTbCompositeJsonTable3 struct {
_data *TestCompositeJsonTable3
}
func NewTestTbCompositeJsonTable3(_buf []map[string]interface{}) (*TestTbCompositeJsonTable3, error) {
if len(_buf) != 1 {
return nil, errors.New(" size != 1 ")
} else {
if _v, err2 := NewTestCompositeJsonTable3(_buf[0]); err2 != nil {
return nil, err2
} else {
return &TestTbCompositeJsonTable3{_data:_v}, nil
}
}
}
func (table *TestTbCompositeJsonTable3) Get() *TestCompositeJsonTable3 {
return table._data
}