//------------------------------------------------------------------------------ // // 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 "errors" type _LocalizeConfig_TW struct { _ALocalizeConfig TextTw string } func (_LocalizeConfig_TW) GetTypeId() int { return 2049583223 } func New_LocalizeConfig_TW(_buf map[string]interface{}) (_v *_LocalizeConfig_TW, err error) { _v = &_LocalizeConfig_TW{} var _p *_ALocalizeConfig if _p, err = New_ALocalizeConfig_Body(_buf) ; err != nil { return } _v._ALocalizeConfig = *_p { var _ok_ bool; if _v.TextTw, _ok_ = _buf["text_tw"].(string); !_ok_ { err = errors.New("text_tw error"); return } } return }