go_dreamfactory/sys/configure/structs/LocalizeConfig_CN.go

30 lines
921 B
Go

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