Versions in this module Expand all Collapse all v3 v3.3.4 Sep 30, 2024 Changes in this version + func Ternary(condition bool, trueVal, falseVal string) string + func TsDefaultValue(t string) string + type Class struct + Constructor Function + Methods []Method + Properties []Property + type Entity struct + Class Class + Description string + Example string + Function Function + IsConstructor bool + Name string + Object Interface + Type string + Value string + type EntityParser struct + func NewEntityParser(dir string) (*EntityParser, error) + func (p *EntityParser) GetEntities() []Entity + func (p *EntityParser) Parse() error + type ExtObject struct + type Function struct + CanFail bool + Parameters []Parameter + ReturnStmt string + Returns string + type Interface struct + Properties []Property + type Method struct + CanFail bool + Description string + Name string + Parameters []Parameter + ReturnStmt string + Returns string + type Parameter struct + Name string + Type string + type Property struct + Description string + Name string + Type string + func ConvertExtObjectToEntities(extObj *ExtObject, nestedTypes map[string]Entity) []Property