go_dreamfactory/sys/configure/structs/LocalizeConfig_EN.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_EN struct {
_ALocalizeConfig
TextEn string
}
func (_LocalizeConfig_EN) GetTypeId() int {
return 2049582749
}
func New_LocalizeConfig_EN(_buf map[string]interface{}) (_v *_LocalizeConfig_EN, err error) {
_v = &_LocalizeConfig_EN{}
var _p *_ALocalizeConfig
if _p, err = New_ALocalizeConfig_Body(_buf) ; err != nil { return }
_v._ALocalizeConfig = *_p
{ var _ok_ bool; if _v.TextEn, _ok_ = _buf["text_en"].(string); !_ok_ { err = errors.New("text_en error"); return } }
return
}