Versions in this module Expand all Collapse all v0 v0.1.0 Mar 11, 2024 Changes in this version + type Attribute struct + Class *Class + func NewAttribute(a *meta.AttributeMeta, c *Class) *Attribute + type Class struct + AppId uint64 + Attributes []*Attribute + Children []*Class + Description string + EnableVersion bool + InnerId uint64 + Methods []*Method + Name string + OnCreated string + OnDeleted string + OnUpdated string + PackageUuid string + Parents []*Class + Root bool + SoftDelete bool + StereoType string + Uuid string + func NewClass(c *meta.ClassMeta) *Class + func (c *Class) AllParents() []*Class + func (c *Class) HasChildren() bool + type Enum struct + AppId uint64 + Name string + Uuid string + Values []string + func NewEnum(c *meta.ClassMeta) *Enum + type Method struct + Class *Class + func NewMethod(m *meta.MethodMeta, c *Class) *Method + type Model struct + Classes []*Class + Enums []*Enum + Relations []*Relation + func New(m *meta.Model) *Model + func (m *Model) GetClassByUuid(uuid string) *Class + type Relation struct + AppId uint64 + AssociationClass meta.AssociationClass + DescriptionOnSource string + DescriptionOnTarget string + EnableAssociaitonClass bool + InnerId uint64 + RelationType string + RoleOfSource string + RoleOfTarget string + Source *Class + SourceMutiplicity string + Target *Class + TargetMultiplicity string + Uuid string + func NewRelation(r *meta.RelationMeta, s *Class, t *Class) *Relation