Documentation
¶
Overview ¶
generated code - do not edit Default generated models package docs (at least one file is necessary in a models package)
Generated code - do not edit ¶
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
Index ¶
- Constants
- Variables
- func GetGongstructNameFromPointer(instance GongstructIF) (res string)
- func GetPointerToGongstructName[Type GongstructIF]() (res string)
- func GongCompareGongstructByName[T GongstructPtr](a, b T) int
- func GongCopyBranch[Type Gongstruct](from *Type) (to *Type)
- func GongGenerateReproducibleUUIDv4(seedStr string, seedInt uint64) string
- func GongGetAssociationName[Type Gongstruct]() *Type
- func GongGetGongstructNameFromPointer(instance GongstructIF) (res string)
- func GongGetPointerToGongstructName[Type GongstructIF]() (res string)
- func GongIntToLetters(number int32) (letters string)
- func GongNewInstance[Type GongstructPtr]() (res Type)
- func GongSortGongstructSetByName[T GongstructPtr](set map[T]struct{}) (sortedSlice []T)
- func GongUnmarshallEnum[T interface{ ... }](ptr T, valueExpr ast.Expr)
- func GongUnmarshallPointer[T GongstructPtr](ptr *T, valueExpr ast.Expr, identifierMap map[string]GongstructIF)
- func GongUnmarshallSliceOfPointers[T GongstructPtr](slice *[]T, valueExpr ast.Expr, identifierMap map[string]GongstructIF) (err error)
- func NewInstance[Type GongstructPtr]() (res Type)
- type AsSplit
- func (assplit *AsSplit) GetName() (res string)
- func (assplit *AsSplit) GongAfterCreateFromFront(stage *Stage)
- func (assplit *AsSplit) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (assplit *AsSplit) GongClean(stage *Stage) (modified bool)
- func (assplit *AsSplit) GongCopy() GongstructIF
- func (from *AsSplit) GongCopyBasicFields(to *AsSplit)
- func (assplit *AsSplit) GongDiff(stage *Stage, assplitOther *AsSplit) (diffs []string)
- func (AsSplit) GongGetAssociationName() any
- func (assplit *AsSplit) GongGetFieldHeaders() (res []GongFieldHeader)
- func (assplit *AsSplit) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (assplit *AsSplit) GongGetGongstructName() string
- func (assplit *AsSplit) GongGetIdentifier(stage *Stage) string
- func (*AsSplit) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*AsSplit) GongGetInstancesByOrder(stage *Stage) any
- func (*AsSplit) GongGetInstancesMapByName(stage *Stage) any
- func (*AsSplit) GongGetInstancesSet(stage *Stage) any
- func (assplit *AsSplit) GongGetOrder(stage *Stage) uint
- func (assplit *AsSplit) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *AsSplit) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*AsSplit) GongGetReverseFields() []GongReverseField
- func (assplit *AsSplit) GongGetUUID(stage *Stage) string
- func (assplit *AsSplit) GongIsStaged(stage *Stage) bool
- func (assplit *AsSplit) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (assplit *AsSplit) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (assplit *AsSplit) GongMarshallIdentifier(stage *Stage) string
- func (assplit *AsSplit) GongMarshallUnstaging(stage *Stage) string
- func (*AsSplit) GongNewInstance() any
- func (assplit *AsSplit) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *AsSplit) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *AsSplit) GongReconstructPointersFromReferences(stage *Stage, instance *AsSplit)
- func (assplit *AsSplit) GongStageBranch(stage *Stage)
- func (assplit *AsSplit) GongUnstageBranch(stage *Stage)
- func (assplit *AsSplit) SetName(name string)
- func (assplit *AsSplit) Stage(stage *Stage) *AsSplit
- func (assplit *AsSplit) StagePreserveOrder(stage *Stage, order uint)
- func (assplit *AsSplit) StageVoid(stage *Stage)
- func (assplit *AsSplit) Unstage(stage *Stage) *AsSplit
- func (assplit *AsSplit) UnstageVoid(stage *Stage)
- type AsSplitArea
- func (assplitarea *AsSplitArea) GetName() (res string)
- func (assplitarea *AsSplitArea) GongAfterCreateFromFront(stage *Stage)
- func (assplitarea *AsSplitArea) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (assplitarea *AsSplitArea) GongClean(stage *Stage) (modified bool)
- func (assplitarea *AsSplitArea) GongCopy() GongstructIF
- func (from *AsSplitArea) GongCopyBasicFields(to *AsSplitArea)
- func (assplitarea *AsSplitArea) GongDiff(stage *Stage, assplitareaOther *AsSplitArea) (diffs []string)
- func (AsSplitArea) GongGetAssociationName() any
- func (assplitarea *AsSplitArea) GongGetFieldHeaders() (res []GongFieldHeader)
- func (assplitarea *AsSplitArea) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (assplitarea *AsSplitArea) GongGetGongstructName() string
- func (assplitarea *AsSplitArea) GongGetIdentifier(stage *Stage) string
- func (*AsSplitArea) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*AsSplitArea) GongGetInstancesByOrder(stage *Stage) any
- func (*AsSplitArea) GongGetInstancesMapByName(stage *Stage) any
- func (*AsSplitArea) GongGetInstancesSet(stage *Stage) any
- func (assplitarea *AsSplitArea) GongGetOrder(stage *Stage) uint
- func (assplitarea *AsSplitArea) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *AsSplitArea) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*AsSplitArea) GongGetReverseFields() []GongReverseField
- func (assplitarea *AsSplitArea) GongGetUUID(stage *Stage) string
- func (assplitarea *AsSplitArea) GongIsStaged(stage *Stage) bool
- func (assplitarea *AsSplitArea) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (assplitarea *AsSplitArea) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (assplitarea *AsSplitArea) GongMarshallIdentifier(stage *Stage) string
- func (assplitarea *AsSplitArea) GongMarshallUnstaging(stage *Stage) string
- func (*AsSplitArea) GongNewInstance() any
- func (assplitarea *AsSplitArea) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *AsSplitArea) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *AsSplitArea) GongReconstructPointersFromReferences(stage *Stage, instance *AsSplitArea)
- func (assplitarea *AsSplitArea) GongStageBranch(stage *Stage)
- func (assplitarea *AsSplitArea) GongUnstageBranch(stage *Stage)
- func (assplitarea *AsSplitArea) SetName(name string)
- func (assplitarea *AsSplitArea) Stage(stage *Stage) *AsSplitArea
- func (assplitarea *AsSplitArea) StagePreserveOrder(stage *Stage, order uint)
- func (assplitarea *AsSplitArea) StageVoid(stage *Stage)
- func (assplitarea *AsSplitArea) Unstage(stage *Stage) *AsSplitArea
- func (assplitarea *AsSplitArea) UnstageVoid(stage *Stage)
- type AsSplitAreaUnmarshaller
- type AsSplitArea_WOP
- type AsSplitUnmarshaller
- type AsSplit_WOP
- type BackRepoInterface
- type Button
- func (button *Button) GetName() (res string)
- func (button *Button) GongAfterCreateFromFront(stage *Stage)
- func (button *Button) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (button *Button) GongCopy() GongstructIF
- func (from *Button) GongCopyBasicFields(to *Button)
- func (button *Button) GongDiff(stage *Stage, buttonOther *Button) (diffs []string)
- func (Button) GongGetAssociationName() any
- func (button *Button) GongGetFieldHeaders() (res []GongFieldHeader)
- func (button *Button) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (button *Button) GongGetGongstructName() string
- func (button *Button) GongGetIdentifier(stage *Stage) string
- func (*Button) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*Button) GongGetInstancesByOrder(stage *Stage) any
- func (*Button) GongGetInstancesMapByName(stage *Stage) any
- func (*Button) GongGetInstancesSet(stage *Stage) any
- func (button *Button) GongGetOrder(stage *Stage) uint
- func (button *Button) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Button) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*Button) GongGetReverseFields() []GongReverseField
- func (button *Button) GongGetUUID(stage *Stage) string
- func (button *Button) GongIsStaged(stage *Stage) bool
- func (button *Button) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (button *Button) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (button *Button) GongMarshallIdentifier(stage *Stage) string
- func (button *Button) GongMarshallUnstaging(stage *Stage) string
- func (*Button) GongNewInstance() any
- func (button *Button) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *Button) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Button) GongReconstructPointersFromReferences(stage *Stage, instance *Button)
- func (button *Button) GongStageBranch(stage *Stage)
- func (button *Button) GongUnstageBranch(stage *Stage)
- func (button *Button) SetName(name string)
- func (button *Button) Stage(stage *Stage) *Button
- func (button *Button) StagePreserveOrder(stage *Stage, order uint)
- func (button *Button) StageVoid(stage *Stage)
- func (button *Button) Unstage(stage *Stage) *Button
- func (button *Button) UnstageVoid(stage *Stage)
- type ButtonUnmarshaller
- type Button_WOP
- type Cursor
- func (cursor *Cursor) GetName() (res string)
- func (cursor *Cursor) GongAfterCreateFromFront(stage *Stage)
- func (cursor *Cursor) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (cursor *Cursor) GongCopy() GongstructIF
- func (from *Cursor) GongCopyBasicFields(to *Cursor)
- func (cursor *Cursor) GongDiff(stage *Stage, cursorOther *Cursor) (diffs []string)
- func (Cursor) GongGetAssociationName() any
- func (cursor *Cursor) GongGetFieldHeaders() (res []GongFieldHeader)
- func (cursor *Cursor) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (cursor *Cursor) GongGetGongstructName() string
- func (cursor *Cursor) GongGetIdentifier(stage *Stage) string
- func (*Cursor) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*Cursor) GongGetInstancesByOrder(stage *Stage) any
- func (*Cursor) GongGetInstancesMapByName(stage *Stage) any
- func (*Cursor) GongGetInstancesSet(stage *Stage) any
- func (cursor *Cursor) GongGetOrder(stage *Stage) uint
- func (cursor *Cursor) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Cursor) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*Cursor) GongGetReverseFields() []GongReverseField
- func (cursor *Cursor) GongGetUUID(stage *Stage) string
- func (cursor *Cursor) GongIsStaged(stage *Stage) bool
- func (cursor *Cursor) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (cursor *Cursor) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (cursor *Cursor) GongMarshallIdentifier(stage *Stage) string
- func (cursor *Cursor) GongMarshallUnstaging(stage *Stage) string
- func (*Cursor) GongNewInstance() any
- func (cursor *Cursor) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *Cursor) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Cursor) GongReconstructPointersFromReferences(stage *Stage, instance *Cursor)
- func (cursor *Cursor) GongStageBranch(stage *Stage)
- func (cursor *Cursor) GongUnstageBranch(stage *Stage)
- func (cursor *Cursor) SetName(name string)
- func (cursor *Cursor) Stage(stage *Stage) *Cursor
- func (cursor *Cursor) StagePreserveOrder(stage *Stage, order uint)
- func (cursor *Cursor) StageVoid(stage *Stage)
- func (cursor *Cursor) Unstage(stage *Stage) *Cursor
- func (cursor *Cursor) UnstageVoid(stage *Stage)
- type CursorUnmarshaller
- type Cursor_WOP
- type Direction
- func (direction Direction) CodeValues() (res []string)
- func (direction Direction) Codes() (res []string)
- func (direction *Direction) FromCodeString(input string) (err error)
- func (direction *Direction) FromString(input string) (err error)
- func (direction *Direction) ToCodeString() (res string)
- func (direction Direction) ToString() (res string)
- type ExcelizeTabulator
- type FavIcon
- func (favicon *FavIcon) GetName() (res string)
- func (favicon *FavIcon) GongAfterCreateFromFront(stage *Stage)
- func (favicon *FavIcon) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (favicon *FavIcon) GongCopy() GongstructIF
- func (from *FavIcon) GongCopyBasicFields(to *FavIcon)
- func (favicon *FavIcon) GongDiff(stage *Stage, faviconOther *FavIcon) (diffs []string)
- func (FavIcon) GongGetAssociationName() any
- func (favicon *FavIcon) GongGetFieldHeaders() (res []GongFieldHeader)
- func (favicon *FavIcon) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (favicon *FavIcon) GongGetGongstructName() string
- func (favicon *FavIcon) GongGetIdentifier(stage *Stage) string
- func (*FavIcon) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*FavIcon) GongGetInstancesByOrder(stage *Stage) any
- func (*FavIcon) GongGetInstancesMapByName(stage *Stage) any
- func (*FavIcon) GongGetInstancesSet(stage *Stage) any
- func (favicon *FavIcon) GongGetOrder(stage *Stage) uint
- func (favicon *FavIcon) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *FavIcon) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*FavIcon) GongGetReverseFields() []GongReverseField
- func (favicon *FavIcon) GongGetUUID(stage *Stage) string
- func (favicon *FavIcon) GongIsStaged(stage *Stage) bool
- func (favicon *FavIcon) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (favicon *FavIcon) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (favicon *FavIcon) GongMarshallIdentifier(stage *Stage) string
- func (favicon *FavIcon) GongMarshallUnstaging(stage *Stage) string
- func (*FavIcon) GongNewInstance() any
- func (favicon *FavIcon) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *FavIcon) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *FavIcon) GongReconstructPointersFromReferences(stage *Stage, instance *FavIcon)
- func (favicon *FavIcon) GongStageBranch(stage *Stage)
- func (favicon *FavIcon) GongUnstageBranch(stage *Stage)
- func (favicon *FavIcon) SetName(name string)
- func (favicon *FavIcon) Stage(stage *Stage) *FavIcon
- func (favicon *FavIcon) StagePreserveOrder(stage *Stage, order uint)
- func (favicon *FavIcon) StageVoid(stage *Stage)
- func (favicon *FavIcon) Unstage(stage *Stage) *FavIcon
- func (favicon *FavIcon) UnstageVoid(stage *Stage)
- type FavIconUnmarshaller
- type FavIcon_WOP
- type Form
- func (form *Form) GetName() (res string)
- func (form *Form) GongAfterCreateFromFront(stage *Stage)
- func (form *Form) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (form *Form) GongCopy() GongstructIF
- func (from *Form) GongCopyBasicFields(to *Form)
- func (form *Form) GongDiff(stage *Stage, formOther *Form) (diffs []string)
- func (Form) GongGetAssociationName() any
- func (form *Form) GongGetFieldHeaders() (res []GongFieldHeader)
- func (form *Form) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (form *Form) GongGetGongstructName() string
- func (form *Form) GongGetIdentifier(stage *Stage) string
- func (*Form) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*Form) GongGetInstancesByOrder(stage *Stage) any
- func (*Form) GongGetInstancesMapByName(stage *Stage) any
- func (*Form) GongGetInstancesSet(stage *Stage) any
- func (form *Form) GongGetOrder(stage *Stage) uint
- func (form *Form) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Form) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*Form) GongGetReverseFields() []GongReverseField
- func (form *Form) GongGetUUID(stage *Stage) string
- func (form *Form) GongIsStaged(stage *Stage) bool
- func (form *Form) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (form *Form) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (form *Form) GongMarshallIdentifier(stage *Stage) string
- func (form *Form) GongMarshallUnstaging(stage *Stage) string
- func (*Form) GongNewInstance() any
- func (form *Form) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *Form) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Form) GongReconstructPointersFromReferences(stage *Stage, instance *Form)
- func (form *Form) GongStageBranch(stage *Stage)
- func (form *Form) GongUnstageBranch(stage *Stage)
- func (form *Form) SetName(name string)
- func (form *Form) Stage(stage *Stage) *Form
- func (form *Form) StagePreserveOrder(stage *Stage, order uint)
- func (form *Form) StageVoid(stage *Stage)
- func (form *Form) Unstage(stage *Stage) *Form
- func (form *Form) UnstageVoid(stage *Stage)
- type FormUnmarshaller
- type Form_WOP
- type GONG__ExpressionType
- type GONG__Identifier
- type GongBackRepoInterface
- type GongCleaner
- type GongEnumIntPointer
- type GongEnumStringPointer
- type GongExcelizeTabulator
- type GongFieldHeader
- type GongFieldValue
- type GongFieldValueType
- type GongMarshallingMode
- type GongModelUnmarshaller
- type GongNodeIF
- type GongOnAfterCreateInterface
- type GongOnAfterDeleteInterface
- type GongOnAfterUpdateInterface
- type GongOnInitCommitInterface
- type GongProbeIF
- type GongReverseField
- type GongStage
- type GongTabulator
- type Gong__MouseEvent
- type Gongstruct
- type GongstructBasicField
- type GongstructDiffable
- type GongstructEnumIntField
- type GongstructEnumStringField
- type GongstructIF
- type GongstructPtr
- type GongtructBasicField
- type Load
- func (load *Load) GetName() (res string)
- func (load *Load) GongAfterCreateFromFront(stage *Stage)
- func (load *Load) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (load *Load) GongCopy() GongstructIF
- func (from *Load) GongCopyBasicFields(to *Load)
- func (load *Load) GongDiff(stage *Stage, loadOther *Load) (diffs []string)
- func (Load) GongGetAssociationName() any
- func (load *Load) GongGetFieldHeaders() (res []GongFieldHeader)
- func (load *Load) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (load *Load) GongGetGongstructName() string
- func (load *Load) GongGetIdentifier(stage *Stage) string
- func (*Load) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*Load) GongGetInstancesByOrder(stage *Stage) any
- func (*Load) GongGetInstancesMapByName(stage *Stage) any
- func (*Load) GongGetInstancesSet(stage *Stage) any
- func (load *Load) GongGetOrder(stage *Stage) uint
- func (load *Load) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Load) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*Load) GongGetReverseFields() []GongReverseField
- func (load *Load) GongGetUUID(stage *Stage) string
- func (load *Load) GongIsStaged(stage *Stage) bool
- func (load *Load) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (load *Load) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (load *Load) GongMarshallIdentifier(stage *Stage) string
- func (load *Load) GongMarshallUnstaging(stage *Stage) string
- func (*Load) GongNewInstance() any
- func (load *Load) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *Load) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Load) GongReconstructPointersFromReferences(stage *Stage, instance *Load)
- func (load *Load) GongStageBranch(stage *Stage)
- func (load *Load) GongUnstageBranch(stage *Stage)
- func (load *Load) SetName(name string)
- func (load *Load) Stage(stage *Stage) *Load
- func (load *Load) StagePreserveOrder(stage *Stage, order uint)
- func (load *Load) StageVoid(stage *Stage)
- func (load *Load) Unstage(stage *Stage) *Load
- func (load *Load) UnstageVoid(stage *Stage)
- type LoadUnmarshaller
- type Load_WOP
- type LogoOnTheLeft
- func (logoontheleft *LogoOnTheLeft) GetName() (res string)
- func (logoontheleft *LogoOnTheLeft) GongAfterCreateFromFront(stage *Stage)
- func (logoontheleft *LogoOnTheLeft) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (logoontheleft *LogoOnTheLeft) GongCopy() GongstructIF
- func (from *LogoOnTheLeft) GongCopyBasicFields(to *LogoOnTheLeft)
- func (logoontheleft *LogoOnTheLeft) GongDiff(stage *Stage, logoontheleftOther *LogoOnTheLeft) (diffs []string)
- func (LogoOnTheLeft) GongGetAssociationName() any
- func (logoontheleft *LogoOnTheLeft) GongGetFieldHeaders() (res []GongFieldHeader)
- func (logoontheleft *LogoOnTheLeft) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (logoontheleft *LogoOnTheLeft) GongGetGongstructName() string
- func (logoontheleft *LogoOnTheLeft) GongGetIdentifier(stage *Stage) string
- func (*LogoOnTheLeft) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*LogoOnTheLeft) GongGetInstancesByOrder(stage *Stage) any
- func (*LogoOnTheLeft) GongGetInstancesMapByName(stage *Stage) any
- func (*LogoOnTheLeft) GongGetInstancesSet(stage *Stage) any
- func (logoontheleft *LogoOnTheLeft) GongGetOrder(stage *Stage) uint
- func (logoontheleft *LogoOnTheLeft) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *LogoOnTheLeft) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*LogoOnTheLeft) GongGetReverseFields() []GongReverseField
- func (logoontheleft *LogoOnTheLeft) GongGetUUID(stage *Stage) string
- func (logoontheleft *LogoOnTheLeft) GongIsStaged(stage *Stage) bool
- func (logoontheleft *LogoOnTheLeft) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (logoontheleft *LogoOnTheLeft) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (logoontheleft *LogoOnTheLeft) GongMarshallIdentifier(stage *Stage) string
- func (logoontheleft *LogoOnTheLeft) GongMarshallUnstaging(stage *Stage) string
- func (*LogoOnTheLeft) GongNewInstance() any
- func (logoontheleft *LogoOnTheLeft) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *LogoOnTheLeft) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *LogoOnTheLeft) GongReconstructPointersFromReferences(stage *Stage, instance *LogoOnTheLeft)
- func (logoontheleft *LogoOnTheLeft) GongStageBranch(stage *Stage)
- func (logoontheleft *LogoOnTheLeft) GongUnstageBranch(stage *Stage)
- func (logoontheleft *LogoOnTheLeft) SetName(name string)
- func (logoontheleft *LogoOnTheLeft) Stage(stage *Stage) *LogoOnTheLeft
- func (logoontheleft *LogoOnTheLeft) StagePreserveOrder(stage *Stage, order uint)
- func (logoontheleft *LogoOnTheLeft) StageVoid(stage *Stage)
- func (logoontheleft *LogoOnTheLeft) Unstage(stage *Stage) *LogoOnTheLeft
- func (logoontheleft *LogoOnTheLeft) UnstageVoid(stage *Stage)
- type LogoOnTheLeftUnmarshaller
- type LogoOnTheLeft_WOP
- type LogoOnTheRight
- func (logoontheright *LogoOnTheRight) GetName() (res string)
- func (logoontheright *LogoOnTheRight) GongAfterCreateFromFront(stage *Stage)
- func (logoontheright *LogoOnTheRight) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (logoontheright *LogoOnTheRight) GongCopy() GongstructIF
- func (from *LogoOnTheRight) GongCopyBasicFields(to *LogoOnTheRight)
- func (logoontheright *LogoOnTheRight) GongDiff(stage *Stage, logoontherightOther *LogoOnTheRight) (diffs []string)
- func (LogoOnTheRight) GongGetAssociationName() any
- func (logoontheright *LogoOnTheRight) GongGetFieldHeaders() (res []GongFieldHeader)
- func (logoontheright *LogoOnTheRight) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (logoontheright *LogoOnTheRight) GongGetGongstructName() string
- func (logoontheright *LogoOnTheRight) GongGetIdentifier(stage *Stage) string
- func (*LogoOnTheRight) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*LogoOnTheRight) GongGetInstancesByOrder(stage *Stage) any
- func (*LogoOnTheRight) GongGetInstancesMapByName(stage *Stage) any
- func (*LogoOnTheRight) GongGetInstancesSet(stage *Stage) any
- func (logoontheright *LogoOnTheRight) GongGetOrder(stage *Stage) uint
- func (logoontheright *LogoOnTheRight) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *LogoOnTheRight) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*LogoOnTheRight) GongGetReverseFields() []GongReverseField
- func (logoontheright *LogoOnTheRight) GongGetUUID(stage *Stage) string
- func (logoontheright *LogoOnTheRight) GongIsStaged(stage *Stage) bool
- func (logoontheright *LogoOnTheRight) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (logoontheright *LogoOnTheRight) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (logoontheright *LogoOnTheRight) GongMarshallIdentifier(stage *Stage) string
- func (logoontheright *LogoOnTheRight) GongMarshallUnstaging(stage *Stage) string
- func (*LogoOnTheRight) GongNewInstance() any
- func (logoontheright *LogoOnTheRight) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *LogoOnTheRight) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *LogoOnTheRight) GongReconstructPointersFromReferences(stage *Stage, instance *LogoOnTheRight)
- func (logoontheright *LogoOnTheRight) GongStageBranch(stage *Stage)
- func (logoontheright *LogoOnTheRight) GongUnstageBranch(stage *Stage)
- func (logoontheright *LogoOnTheRight) SetName(name string)
- func (logoontheright *LogoOnTheRight) Stage(stage *Stage) *LogoOnTheRight
- func (logoontheright *LogoOnTheRight) StagePreserveOrder(stage *Stage, order uint)
- func (logoontheright *LogoOnTheRight) StageVoid(stage *Stage)
- func (logoontheright *LogoOnTheRight) Unstage(stage *Stage) *LogoOnTheRight
- func (logoontheright *LogoOnTheRight) UnstageVoid(stage *Stage)
- type LogoOnTheRightUnmarshaller
- type LogoOnTheRight_WOP
- type Markdown
- func (markdown *Markdown) GetName() (res string)
- func (markdown *Markdown) GongAfterCreateFromFront(stage *Stage)
- func (markdown *Markdown) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (markdown *Markdown) GongCopy() GongstructIF
- func (from *Markdown) GongCopyBasicFields(to *Markdown)
- func (markdown *Markdown) GongDiff(stage *Stage, markdownOther *Markdown) (diffs []string)
- func (Markdown) GongGetAssociationName() any
- func (markdown *Markdown) GongGetFieldHeaders() (res []GongFieldHeader)
- func (markdown *Markdown) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (markdown *Markdown) GongGetGongstructName() string
- func (markdown *Markdown) GongGetIdentifier(stage *Stage) string
- func (*Markdown) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*Markdown) GongGetInstancesByOrder(stage *Stage) any
- func (*Markdown) GongGetInstancesMapByName(stage *Stage) any
- func (*Markdown) GongGetInstancesSet(stage *Stage) any
- func (markdown *Markdown) GongGetOrder(stage *Stage) uint
- func (markdown *Markdown) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Markdown) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*Markdown) GongGetReverseFields() []GongReverseField
- func (markdown *Markdown) GongGetUUID(stage *Stage) string
- func (markdown *Markdown) GongIsStaged(stage *Stage) bool
- func (markdown *Markdown) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (markdown *Markdown) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (markdown *Markdown) GongMarshallIdentifier(stage *Stage) string
- func (markdown *Markdown) GongMarshallUnstaging(stage *Stage) string
- func (*Markdown) GongNewInstance() any
- func (markdown *Markdown) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *Markdown) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Markdown) GongReconstructPointersFromReferences(stage *Stage, instance *Markdown)
- func (markdown *Markdown) GongStageBranch(stage *Stage)
- func (markdown *Markdown) GongUnstageBranch(stage *Stage)
- func (markdown *Markdown) SetName(name string)
- func (markdown *Markdown) Stage(stage *Stage) *Markdown
- func (markdown *Markdown) StagePreserveOrder(stage *Stage, order uint)
- func (markdown *Markdown) StageVoid(stage *Stage)
- func (markdown *Markdown) Unstage(stage *Stage) *Markdown
- func (markdown *Markdown) UnstageVoid(stage *Stage)
- type MarkdownUnmarshaller
- type Markdown_WOP
- type MetaPackageImport
- type ModelUnmarshaller
- type OnAfterCreateInterface
- type OnAfterDeleteInterface
- type OnAfterUpdateInterface
- type OnInitCommitInterface
- type PointerToGongstruct
- type PointerToGongstructEnumIntField
- type PointerToGongstructEnumStringField
- type ReverseField
- type Slider
- func (slider *Slider) GetName() (res string)
- func (slider *Slider) GongAfterCreateFromFront(stage *Stage)
- func (slider *Slider) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (slider *Slider) GongCopy() GongstructIF
- func (from *Slider) GongCopyBasicFields(to *Slider)
- func (slider *Slider) GongDiff(stage *Stage, sliderOther *Slider) (diffs []string)
- func (Slider) GongGetAssociationName() any
- func (slider *Slider) GongGetFieldHeaders() (res []GongFieldHeader)
- func (slider *Slider) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (slider *Slider) GongGetGongstructName() string
- func (slider *Slider) GongGetIdentifier(stage *Stage) string
- func (*Slider) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*Slider) GongGetInstancesByOrder(stage *Stage) any
- func (*Slider) GongGetInstancesMapByName(stage *Stage) any
- func (*Slider) GongGetInstancesSet(stage *Stage) any
- func (slider *Slider) GongGetOrder(stage *Stage) uint
- func (slider *Slider) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Slider) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*Slider) GongGetReverseFields() []GongReverseField
- func (slider *Slider) GongGetUUID(stage *Stage) string
- func (slider *Slider) GongIsStaged(stage *Stage) bool
- func (slider *Slider) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (slider *Slider) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (slider *Slider) GongMarshallIdentifier(stage *Stage) string
- func (slider *Slider) GongMarshallUnstaging(stage *Stage) string
- func (*Slider) GongNewInstance() any
- func (slider *Slider) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *Slider) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Slider) GongReconstructPointersFromReferences(stage *Stage, instance *Slider)
- func (slider *Slider) GongStageBranch(stage *Stage)
- func (slider *Slider) GongUnstageBranch(stage *Stage)
- func (slider *Slider) SetName(name string)
- func (slider *Slider) Stage(stage *Stage) *Slider
- func (slider *Slider) StagePreserveOrder(stage *Stage, order uint)
- func (slider *Slider) StageVoid(stage *Stage)
- func (slider *Slider) Unstage(stage *Stage) *Slider
- func (slider *Slider) UnstageVoid(stage *Stage)
- type SliderUnmarshaller
- type Slider_WOP
- type Split
- func (split *Split) GetName() (res string)
- func (split *Split) GongAfterCreateFromFront(stage *Stage)
- func (split *Split) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (split *Split) GongCopy() GongstructIF
- func (from *Split) GongCopyBasicFields(to *Split)
- func (split *Split) GongDiff(stage *Stage, splitOther *Split) (diffs []string)
- func (Split) GongGetAssociationName() any
- func (split *Split) GongGetFieldHeaders() (res []GongFieldHeader)
- func (split *Split) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (split *Split) GongGetGongstructName() string
- func (split *Split) GongGetIdentifier(stage *Stage) string
- func (*Split) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*Split) GongGetInstancesByOrder(stage *Stage) any
- func (*Split) GongGetInstancesMapByName(stage *Stage) any
- func (*Split) GongGetInstancesSet(stage *Stage) any
- func (split *Split) GongGetOrder(stage *Stage) uint
- func (split *Split) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Split) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*Split) GongGetReverseFields() []GongReverseField
- func (split *Split) GongGetUUID(stage *Stage) string
- func (split *Split) GongIsStaged(stage *Stage) bool
- func (split *Split) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (split *Split) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (split *Split) GongMarshallIdentifier(stage *Stage) string
- func (split *Split) GongMarshallUnstaging(stage *Stage) string
- func (*Split) GongNewInstance() any
- func (split *Split) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *Split) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Split) GongReconstructPointersFromReferences(stage *Stage, instance *Split)
- func (split *Split) GongStageBranch(stage *Stage)
- func (split *Split) GongUnstageBranch(stage *Stage)
- func (split *Split) SetName(name string)
- func (split *Split) Stage(stage *Stage) *Split
- func (split *Split) StagePreserveOrder(stage *Stage, order uint)
- func (split *Split) StageVoid(stage *Stage)
- func (split *Split) Unstage(stage *Stage) *Split
- func (split *Split) UnstageVoid(stage *Stage)
- type SplitUnmarshaller
- type Split_WOP
- type Stage
- func (stage *Stage) AfterCreateFromFront(instance GongstructIF)
- func (stage *Stage) AfterDeleteFromFront(staged, front GongstructIF)
- func (stage *Stage) ApplyBackwardCommit() error
- func (stage *Stage) ApplyForwardCommit() error
- func (stage *Stage) Backup(dirPath string)
- func (stage *Stage) BackupXL(dirPath string)
- func (stage *Stage) Checkout()
- func (stage *Stage) Clean() (modified bool)
- func (stage *Stage) CleanPointer[T GongstructPtr](element *T) (modified bool)
- func (stage *Stage) CleanSlice[T GongstructPtr](slice *[]T) (modified bool)
- func (stage *Stage) Commit()
- func (stage *Stage) CommitWithSuspendedCallbacks()
- func (stage *Stage) ComputeForwardAndBackwardCommits()
- func (stage *Stage) ComputeInstancesNb()
- func (stage *Stage) ComputeReferenceAndOrders()
- func (stage *Stage) ComputeReverseMaps()
- func (stage *Stage) Diff(a GongstructIF, fieldName string, lenOld, lenNew int, ...) (ops string)
- func (stage *Stage) GetFieldStringValueFromPointer(instance GongstructIF, fieldName string) (res GongFieldValue)
- func (stage *Stage) GetInstanceFromOrder[Type GongstructPtr](order uint) (res Type)
- func (stage *Stage) GetInstances() (res []GongstructIF)
- func (stage *Stage) GetInstancesByOrder[T GongstructPtr]() (res []T)
- func (stage *Stage) GetInstancesMapByName[Type GongstructIF]() map[string]Type
- func (stage *Stage) GetInstancesSet[Type GongstructPtr]() *map[Type]struct{}
- func (stage *Stage) GetInstancesSorted[T GongstructPtr]() (sortedSlice []T)
- func (stage *Stage) GetOrder(instance GongstructIF) uint
- func (stage *Stage) GetPointerReverseMap[Start, End Gongstruct](fieldname string) map[*End][]*Start
- func (stage *Stage) GetProbeFormStageName() string
- func (stage *Stage) GetProbeIF() GongProbeIF
- func (stage *Stage) GetProbeLoadStageName() string
- func (stage *Stage) GetProbeNavigationTreeSidebarStageName() string
- func (stage *Stage) GetProbeNotificationTableStageName() string
- func (stage *Stage) GetProbeSplitStageName() string
- func (stage *Stage) GetProbeTableStageName() string
- func (stage *Stage) GetProbeTreeSidebarStageName() string
- func (stage *Stage) GetSliceOfPointersReverseMap[Start, End Gongstruct](fieldname string) map[*End][]*Start
- func (stage *Stage) GetType() string
- func (stage *Stage) GongNewInstance[Type GongstructPtr]() (res Type)
- func (stage *Stage) IsStaged(instance GongstructIF) (ok bool)
- func (stage *Stage) Marshall(file *os.File, args ...string)
- func (stage *Stage) MarshallFile(filename string, args ...string)
- func (stage *Stage) MarshallToString(args ...string) (res string, err error)
- func (stage *Stage) NewInstance[Type GongstructPtr]() (res Type)
- func (stage *Stage) OnAfterUpdateFromFront(old, new GongstructIF)
- func (stage *Stage) ParseAstEmbeddedFile(directory embed.FS, pathToFile string) error
- func (stage *Stage) ParseAstFile(pathToFile string, preserveOrder bool) error
- func (stage *Stage) ParseAstFileFromAst(inFile *ast.File, fset *token.FileSet, preserveOrder bool) error
- func (stage *Stage) ParseAstString(blob string, preserveOrder bool) error
- func (s *Stage) RegisterAfterCommit(hook func(stage *Stage))
- func (s *Stage) RegisterBeforeCommit(hook func(stage *Stage))
- func (stage *Stage) Reset()
- func (stage *Stage) ResetHard()
- func (stage *Stage) ResetMapStrings()
- func (stage *Stage) Restore(dirPath string)
- func (stage *Stage) RestoreXL(dirPath string)
- func (stage *Stage) SerializeExcelize(f *excelize.File, name string, instances []GongstructIF, ...)
- func (stage *Stage) SerializeExcelizePointer[Type GongstructPtr](f *excelize.File)
- func (stage *Stage) SerializeExcelizePointer2[Type GongstructPtr](f *excelize.File, addIDs bool)
- func (stage *Stage) SerializeStage(filename string)
- func (stage *Stage) SerializeStage2(filename string, addIDs bool)
- func (stage *Stage) SerializeStageAsBytes(addIDs bool) ([]byte, error)
- func (stage *Stage) SetOrchestratorOnAfterUpdate[Type Gongstruct]()
- func (stage *Stage) SetProbeIF(probeIF GongProbeIF)
- func (stage *Stage) Squash()
- func (stage *Stage) StageBranch(instance GongstructIF)
- func (stage *Stage) UnstageBranch(instance GongstructIF)
- type Svg
- func (svg *Svg) GetName() (res string)
- func (svg *Svg) GongAfterCreateFromFront(stage *Stage)
- func (svg *Svg) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (svg *Svg) GongCopy() GongstructIF
- func (from *Svg) GongCopyBasicFields(to *Svg)
- func (svg *Svg) GongDiff(stage *Stage, svgOther *Svg) (diffs []string)
- func (Svg) GongGetAssociationName() any
- func (svg *Svg) GongGetFieldHeaders() (res []GongFieldHeader)
- func (svg *Svg) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (svg *Svg) GongGetGongstructName() string
- func (svg *Svg) GongGetIdentifier(stage *Stage) string
- func (*Svg) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*Svg) GongGetInstancesByOrder(stage *Stage) any
- func (*Svg) GongGetInstancesMapByName(stage *Stage) any
- func (*Svg) GongGetInstancesSet(stage *Stage) any
- func (svg *Svg) GongGetOrder(stage *Stage) uint
- func (svg *Svg) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Svg) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*Svg) GongGetReverseFields() []GongReverseField
- func (svg *Svg) GongGetUUID(stage *Stage) string
- func (svg *Svg) GongIsStaged(stage *Stage) bool
- func (svg *Svg) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (svg *Svg) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (svg *Svg) GongMarshallIdentifier(stage *Stage) string
- func (svg *Svg) GongMarshallUnstaging(stage *Stage) string
- func (*Svg) GongNewInstance() any
- func (svg *Svg) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *Svg) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Svg) GongReconstructPointersFromReferences(stage *Stage, instance *Svg)
- func (svg *Svg) GongStageBranch(stage *Stage)
- func (svg *Svg) GongUnstageBranch(stage *Stage)
- func (svg *Svg) SetName(name string)
- func (svg *Svg) Stage(stage *Stage) *Svg
- func (svg *Svg) StagePreserveOrder(stage *Stage, order uint)
- func (svg *Svg) StageVoid(stage *Stage)
- func (svg *Svg) Unstage(stage *Stage) *Svg
- func (svg *Svg) UnstageVoid(stage *Stage)
- type SvgUnmarshaller
- type Svg_WOP
- type Table
- func (table *Table) GetName() (res string)
- func (table *Table) GongAfterCreateFromFront(stage *Stage)
- func (table *Table) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (table *Table) GongCopy() GongstructIF
- func (from *Table) GongCopyBasicFields(to *Table)
- func (table *Table) GongDiff(stage *Stage, tableOther *Table) (diffs []string)
- func (Table) GongGetAssociationName() any
- func (table *Table) GongGetFieldHeaders() (res []GongFieldHeader)
- func (table *Table) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (table *Table) GongGetGongstructName() string
- func (table *Table) GongGetIdentifier(stage *Stage) string
- func (*Table) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*Table) GongGetInstancesByOrder(stage *Stage) any
- func (*Table) GongGetInstancesMapByName(stage *Stage) any
- func (*Table) GongGetInstancesSet(stage *Stage) any
- func (table *Table) GongGetOrder(stage *Stage) uint
- func (table *Table) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Table) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*Table) GongGetReverseFields() []GongReverseField
- func (table *Table) GongGetUUID(stage *Stage) string
- func (table *Table) GongIsStaged(stage *Stage) bool
- func (table *Table) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (table *Table) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (table *Table) GongMarshallIdentifier(stage *Stage) string
- func (table *Table) GongMarshallUnstaging(stage *Stage) string
- func (*Table) GongNewInstance() any
- func (table *Table) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *Table) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Table) GongReconstructPointersFromReferences(stage *Stage, instance *Table)
- func (table *Table) GongStageBranch(stage *Stage)
- func (table *Table) GongUnstageBranch(stage *Stage)
- func (table *Table) SetName(name string)
- func (table *Table) Stage(stage *Stage) *Table
- func (table *Table) StagePreserveOrder(stage *Stage, order uint)
- func (table *Table) StageVoid(stage *Stage)
- func (table *Table) Unstage(stage *Stage) *Table
- func (table *Table) UnstageVoid(stage *Stage)
- type TableUnmarshaller
- type Table_WOP
- type Tabulator
- type Threejs
- func (threejs *Threejs) GetName() (res string)
- func (threejs *Threejs) GongAfterCreateFromFront(stage *Stage)
- func (threejs *Threejs) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (threejs *Threejs) GongCopy() GongstructIF
- func (from *Threejs) GongCopyBasicFields(to *Threejs)
- func (threejs *Threejs) GongDiff(stage *Stage, threejsOther *Threejs) (diffs []string)
- func (Threejs) GongGetAssociationName() any
- func (threejs *Threejs) GongGetFieldHeaders() (res []GongFieldHeader)
- func (threejs *Threejs) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (threejs *Threejs) GongGetGongstructName() string
- func (threejs *Threejs) GongGetIdentifier(stage *Stage) string
- func (*Threejs) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*Threejs) GongGetInstancesByOrder(stage *Stage) any
- func (*Threejs) GongGetInstancesMapByName(stage *Stage) any
- func (*Threejs) GongGetInstancesSet(stage *Stage) any
- func (threejs *Threejs) GongGetOrder(stage *Stage) uint
- func (threejs *Threejs) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Threejs) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*Threejs) GongGetReverseFields() []GongReverseField
- func (threejs *Threejs) GongGetUUID(stage *Stage) string
- func (threejs *Threejs) GongIsStaged(stage *Stage) bool
- func (threejs *Threejs) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (threejs *Threejs) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (threejs *Threejs) GongMarshallIdentifier(stage *Stage) string
- func (threejs *Threejs) GongMarshallUnstaging(stage *Stage) string
- func (*Threejs) GongNewInstance() any
- func (threejs *Threejs) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *Threejs) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Threejs) GongReconstructPointersFromReferences(stage *Stage, instance *Threejs)
- func (threejs *Threejs) GongStageBranch(stage *Stage)
- func (threejs *Threejs) GongUnstageBranch(stage *Stage)
- func (threejs *Threejs) SetName(name string)
- func (threejs *Threejs) Stage(stage *Stage) *Threejs
- func (threejs *Threejs) StagePreserveOrder(stage *Stage, order uint)
- func (threejs *Threejs) StageVoid(stage *Stage)
- func (threejs *Threejs) Unstage(stage *Stage) *Threejs
- func (threejs *Threejs) UnstageVoid(stage *Stage)
- type ThreejsUnmarshaller
- type Threejs_WOP
- type Title
- func (title *Title) GetName() (res string)
- func (title *Title) GongAfterCreateFromFront(stage *Stage)
- func (title *Title) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (title *Title) GongCopy() GongstructIF
- func (from *Title) GongCopyBasicFields(to *Title)
- func (title *Title) GongDiff(stage *Stage, titleOther *Title) (diffs []string)
- func (Title) GongGetAssociationName() any
- func (title *Title) GongGetFieldHeaders() (res []GongFieldHeader)
- func (title *Title) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (title *Title) GongGetGongstructName() string
- func (title *Title) GongGetIdentifier(stage *Stage) string
- func (*Title) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*Title) GongGetInstancesByOrder(stage *Stage) any
- func (*Title) GongGetInstancesMapByName(stage *Stage) any
- func (*Title) GongGetInstancesSet(stage *Stage) any
- func (title *Title) GongGetOrder(stage *Stage) uint
- func (title *Title) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Title) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*Title) GongGetReverseFields() []GongReverseField
- func (title *Title) GongGetUUID(stage *Stage) string
- func (title *Title) GongIsStaged(stage *Stage) bool
- func (title *Title) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (title *Title) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (title *Title) GongMarshallIdentifier(stage *Stage) string
- func (title *Title) GongMarshallUnstaging(stage *Stage) string
- func (*Title) GongNewInstance() any
- func (title *Title) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *Title) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Title) GongReconstructPointersFromReferences(stage *Stage, instance *Title)
- func (title *Title) GongStageBranch(stage *Stage)
- func (title *Title) GongUnstageBranch(stage *Stage)
- func (title *Title) SetName(name string)
- func (title *Title) Stage(stage *Stage) *Title
- func (title *Title) StagePreserveOrder(stage *Stage, order uint)
- func (title *Title) StageVoid(stage *Stage)
- func (title *Title) Unstage(stage *Stage) *Title
- func (title *Title) UnstageVoid(stage *Stage)
- type TitleUnmarshaller
- type Title_WOP
- type Tone
- func (tone *Tone) GetName() (res string)
- func (tone *Tone) GongAfterCreateFromFront(stage *Stage)
- func (tone *Tone) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (tone *Tone) GongCopy() GongstructIF
- func (from *Tone) GongCopyBasicFields(to *Tone)
- func (tone *Tone) GongDiff(stage *Stage, toneOther *Tone) (diffs []string)
- func (Tone) GongGetAssociationName() any
- func (tone *Tone) GongGetFieldHeaders() (res []GongFieldHeader)
- func (tone *Tone) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (tone *Tone) GongGetGongstructName() string
- func (tone *Tone) GongGetIdentifier(stage *Stage) string
- func (*Tone) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*Tone) GongGetInstancesByOrder(stage *Stage) any
- func (*Tone) GongGetInstancesMapByName(stage *Stage) any
- func (*Tone) GongGetInstancesSet(stage *Stage) any
- func (tone *Tone) GongGetOrder(stage *Stage) uint
- func (tone *Tone) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Tone) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*Tone) GongGetReverseFields() []GongReverseField
- func (tone *Tone) GongGetUUID(stage *Stage) string
- func (tone *Tone) GongIsStaged(stage *Stage) bool
- func (tone *Tone) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (tone *Tone) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (tone *Tone) GongMarshallIdentifier(stage *Stage) string
- func (tone *Tone) GongMarshallUnstaging(stage *Stage) string
- func (*Tone) GongNewInstance() any
- func (tone *Tone) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *Tone) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Tone) GongReconstructPointersFromReferences(stage *Stage, instance *Tone)
- func (tone *Tone) GongStageBranch(stage *Stage)
- func (tone *Tone) GongUnstageBranch(stage *Stage)
- func (tone *Tone) SetName(name string)
- func (tone *Tone) Stage(stage *Stage) *Tone
- func (tone *Tone) StagePreserveOrder(stage *Stage, order uint)
- func (tone *Tone) StageVoid(stage *Stage)
- func (tone *Tone) Unstage(stage *Stage) *Tone
- func (tone *Tone) UnstageVoid(stage *Stage)
- type ToneUnmarshaller
- type Tone_WOP
- type Tree
- func (tree *Tree) GetName() (res string)
- func (tree *Tree) GongAfterCreateFromFront(stage *Stage)
- func (tree *Tree) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (tree *Tree) GongCopy() GongstructIF
- func (from *Tree) GongCopyBasicFields(to *Tree)
- func (tree *Tree) GongDiff(stage *Stage, treeOther *Tree) (diffs []string)
- func (Tree) GongGetAssociationName() any
- func (tree *Tree) GongGetFieldHeaders() (res []GongFieldHeader)
- func (tree *Tree) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (tree *Tree) GongGetGongstructName() string
- func (tree *Tree) GongGetIdentifier(stage *Stage) string
- func (*Tree) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*Tree) GongGetInstancesByOrder(stage *Stage) any
- func (*Tree) GongGetInstancesMapByName(stage *Stage) any
- func (*Tree) GongGetInstancesSet(stage *Stage) any
- func (tree *Tree) GongGetOrder(stage *Stage) uint
- func (tree *Tree) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Tree) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*Tree) GongGetReverseFields() []GongReverseField
- func (tree *Tree) GongGetUUID(stage *Stage) string
- func (tree *Tree) GongIsStaged(stage *Stage) bool
- func (tree *Tree) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (tree *Tree) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (tree *Tree) GongMarshallIdentifier(stage *Stage) string
- func (tree *Tree) GongMarshallUnstaging(stage *Stage) string
- func (*Tree) GongNewInstance() any
- func (tree *Tree) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *Tree) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Tree) GongReconstructPointersFromReferences(stage *Stage, instance *Tree)
- func (tree *Tree) GongStageBranch(stage *Stage)
- func (tree *Tree) GongUnstageBranch(stage *Stage)
- func (tree *Tree) SetName(name string)
- func (tree *Tree) Stage(stage *Stage) *Tree
- func (tree *Tree) StagePreserveOrder(stage *Stage, order uint)
- func (tree *Tree) StageVoid(stage *Stage)
- func (tree *Tree) Unstage(stage *Stage) *Tree
- func (tree *Tree) UnstageVoid(stage *Stage)
- type TreeUnmarshaller
- type Tree_WOP
- type View
- func (view *View) GetName() (res string)
- func (view *View) GongAfterCreateFromFront(stage *Stage)
- func (view *View) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (view *View) GongClean(stage *Stage) (modified bool)
- func (view *View) GongCopy() GongstructIF
- func (from *View) GongCopyBasicFields(to *View)
- func (view *View) GongDiff(stage *Stage, viewOther *View) (diffs []string)
- func (View) GongGetAssociationName() any
- func (view *View) GongGetFieldHeaders() (res []GongFieldHeader)
- func (view *View) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (view *View) GongGetGongstructName() string
- func (view *View) GongGetIdentifier(stage *Stage) string
- func (*View) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*View) GongGetInstancesByOrder(stage *Stage) any
- func (*View) GongGetInstancesMapByName(stage *Stage) any
- func (*View) GongGetInstancesSet(stage *Stage) any
- func (view *View) GongGetOrder(stage *Stage) uint
- func (view *View) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *View) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*View) GongGetReverseFields() []GongReverseField
- func (view *View) GongGetUUID(stage *Stage) string
- func (view *View) GongIsStaged(stage *Stage) bool
- func (view *View) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (view *View) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (view *View) GongMarshallIdentifier(stage *Stage) string
- func (view *View) GongMarshallUnstaging(stage *Stage) string
- func (*View) GongNewInstance() any
- func (view *View) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *View) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *View) GongReconstructPointersFromReferences(stage *Stage, instance *View)
- func (view *View) GongStageBranch(stage *Stage)
- func (view *View) GongUnstageBranch(stage *Stage)
- func (view *View) OnAfterUpdate(stage *Stage, _, frontView *View)
- func (view *View) SetName(name string)
- func (view *View) Stage(stage *Stage) *View
- func (view *View) StagePreserveOrder(stage *Stage, order uint)
- func (view *View) StageVoid(stage *Stage)
- func (view *View) Unstage(stage *Stage) *View
- func (view *View) UnstageVoid(stage *Stage)
- type ViewOrchestrator
- type ViewUnmarshaller
- type View_WOP
- type Xlsx
- func (xlsx *Xlsx) GetName() (res string)
- func (xlsx *Xlsx) GongAfterCreateFromFront(stage *Stage)
- func (xlsx *Xlsx) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
- func (xlsx *Xlsx) GongCopy() GongstructIF
- func (from *Xlsx) GongCopyBasicFields(to *Xlsx)
- func (xlsx *Xlsx) GongDiff(stage *Stage, xlsxOther *Xlsx) (diffs []string)
- func (Xlsx) GongGetAssociationName() any
- func (xlsx *Xlsx) GongGetFieldHeaders() (res []GongFieldHeader)
- func (xlsx *Xlsx) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
- func (xlsx *Xlsx) GongGetGongstructName() string
- func (xlsx *Xlsx) GongGetIdentifier(stage *Stage) string
- func (*Xlsx) GongGetInstanceFromOrder(stage *Stage, order uint) any
- func (*Xlsx) GongGetInstancesByOrder(stage *Stage) any
- func (*Xlsx) GongGetInstancesMapByName(stage *Stage) any
- func (*Xlsx) GongGetInstancesSet(stage *Stage) any
- func (xlsx *Xlsx) GongGetOrder(stage *Stage) uint
- func (xlsx *Xlsx) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Xlsx) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
- func (*Xlsx) GongGetReverseFields() []GongReverseField
- func (xlsx *Xlsx) GongGetUUID(stage *Stage) string
- func (xlsx *Xlsx) GongIsStaged(stage *Stage) bool
- func (xlsx *Xlsx) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
- func (xlsx *Xlsx) GongMarshallField(stage *Stage, fieldName string) (res string)
- func (xlsx *Xlsx) GongMarshallIdentifier(stage *Stage) string
- func (xlsx *Xlsx) GongMarshallUnstaging(stage *Stage) string
- func (*Xlsx) GongNewInstance() any
- func (xlsx *Xlsx) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
- func (reference *Xlsx) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Xlsx) GongReconstructPointersFromReferences(stage *Stage, instance *Xlsx)
- func (xlsx *Xlsx) GongStageBranch(stage *Stage)
- func (xlsx *Xlsx) GongUnstageBranch(stage *Stage)
- func (xlsx *Xlsx) SetName(name string)
- func (xlsx *Xlsx) Stage(stage *Stage) *Xlsx
- func (xlsx *Xlsx) StagePreserveOrder(stage *Stage, order uint)
- func (xlsx *Xlsx) StageVoid(stage *Stage)
- func (xlsx *Xlsx) Unstage(stage *Stage) *Xlsx
- func (xlsx *Xlsx) UnstageVoid(stage *Stage)
- type XlsxUnmarshaller
- type Xlsx_WOP
Constants ¶
const ( // the whole stage is generated at each marshall. This is the default GongMarshallingNormal = gong_runtime.GongMarshallingNormal // only the last commit is append to the marshall file GongMarshallingAppendCommit = gong_runtime.GongMarshallingAppendCommit )
const ( )
const ( GongProbeTreeSidebarSuffix = gong_runtime.GongProbeTreeSidebarSuffix GongProbeTableSuffix = gong_runtime.GongProbeTableSuffix GongProbeNotificationTableSuffix = gong_runtime.GongProbeNotificationTableSuffix GongProbeFormSuffix = gong_runtime.GongProbeFormSuffix GongProbeSplitSuffix = gong_runtime.GongProbeSplitSuffix GongProbeLoadSuffix = gong_runtime.GongProbeLoadSuffix )
const ( GONG__STRUCT_INSTANCE = gong_runtime.GONG__STRUCT_INSTANCE GONG__FIELD_OR_CONST_VALUE = gong_runtime.GONG__FIELD_OR_CONST_VALUE GONG__FIELD_VALUE = gong_runtime.GONG__FIELD_VALUE GONG__ENUM_CAST_INT = gong_runtime.GONG__ENUM_CAST_INT GONG__ENUM_CAST_STRING = gong_runtime.GONG__ENUM_CAST_STRING GONG__IDENTIFIER_CONST = gong_runtime.GONG__IDENTIFIER_CONST )
const GongIdentifiersDecls = `
{{Identifier}} := (&models.{{GeneratedStructName}}{Name: {{GeneratedFieldNameValue}}}).Stage(stage)`
const GongMetaFieldStructInitStatement = `
{{Identifier}}.{{GeneratedFieldName}} = ` + `{{GeneratedFieldNameValue}}`
const GongNumberInitStatement = `
{{Identifier}}.{{GeneratedFieldName}} = {{GeneratedFieldNameValue}}`
const GongPointerFieldInitStatement = `
{{Identifier}}.{{GeneratedFieldName}} = {{GeneratedFieldNameValue}}`
const GongSliceOfPointersFieldInitStatement = `
{{Identifier}}.{{GeneratedFieldName}} = append({{Identifier}}.{{GeneratedFieldName}}, {{GeneratedFieldNameValue}})`
const GongStringEnumInitStatement = `
{{Identifier}}.{{GeneratedFieldName}} = {{GeneratedFieldNameValue}}`
const GongStringInitStatement = `
{{Identifier}}.{{GeneratedFieldName}} = {{GeneratedFieldNameValue}}`
const GongTimeInitStatement = `` /* 129-byte string literal not displayed */
const GongUnstageStmt = `
{{Identifier}}.Unstage(stage)`
Variables ¶
var GongExtractBool = gong_runtime.ExtractBool
var GongExtractDate = gong_runtime.ExtractDate
var GongExtractExpr = gong_runtime.ExtractExpr
var GongExtractFloat = gong_runtime.ExtractFloat
var GongExtractInt = gong_runtime.ExtractInt
var GongExtractString = gong_runtime.ExtractString
Functions ¶
func GetGongstructNameFromPointer ¶
func GetGongstructNameFromPointer(instance GongstructIF) (res string)
func GetPointerToGongstructName ¶
func GetPointerToGongstructName[Type GongstructIF]() (res string)
func GongCompareGongstructByName ¶
func GongCompareGongstructByName[T GongstructPtr](a, b T) int
func GongCopyBranch ¶
func GongCopyBranch[Type Gongstruct](from *Type) (to *Type)
GongCopyBranch stages instance and apply GongCopyBranch on all gongstruct instances that are referenced by pointers or slices of pointers of the instance
the algorithm stops along the course of graph if a vertex is already staged
func GongGenerateReproducibleUUIDv4 ¶
GongGenerateReproducibleUUIDv4 creates a deterministic UUIDv4 based on a string and a positive integer.
func GongGetAssociationName ¶
func GongGetAssociationName[Type Gongstruct]() *Type
GongGetAssociationName is a generic function that returns an instance of Type where each association is filled with an instance whose name is the name of the association
This function can be handy for generating navigation function that are refactorable
func GongGetGongstructNameFromPointer ¶
func GongGetGongstructNameFromPointer(instance GongstructIF) (res string)
func GongGetPointerToGongstructName ¶
func GongGetPointerToGongstructName[Type GongstructIF]() (res string)
GongGetPointerToGongstructName returns the name of the Gongstruct this can be usefull if one want program robust to refactoring
func GongIntToLetters ¶
func GongNewInstance ¶
func GongNewInstance[Type GongstructPtr]() (res Type)
GongNewInstance creates a new instance of the Gongstruct
func GongSortGongstructSetByName ¶
func GongSortGongstructSetByName[T GongstructPtr](set map[T]struct{}) (sortedSlice []T)
func GongUnmarshallEnum ¶
GongUnmarshallEnum handles assignment of enum fields (via SelectorExpr or String fallback)
func GongUnmarshallPointer ¶
func GongUnmarshallPointer[T GongstructPtr]( ptr *T, valueExpr ast.Expr, identifierMap map[string]GongstructIF)
GongUnmarshallPointer handles assignment of a single pointer field
func GongUnmarshallSliceOfPointers ¶
func GongUnmarshallSliceOfPointers[T GongstructPtr]( slice *[]T, valueExpr ast.Expr, identifierMap map[string]GongstructIF) (err error)
GongUnmarshallSliceOfPointers handles append, slices.Delete, and slices.Insert for slice fields
func NewInstance ¶
func NewInstance[Type GongstructPtr]() (res Type)
Types ¶
type AsSplit ¶
type AsSplit struct {
Name string
Direction Direction
AsSplitAreas []*AsSplitArea
IsSizeInPixel bool
IsWithCustomGutterSize bool
GutterSize float64
}
func GongCopyBranchAsSplit ¶
insertion point for stage branch per struct
func (*AsSplit) GongAfterCreateFromFront ¶
insertion point
func (*AsSplit) GongAfterDeleteFromFront ¶
func (assplit *AsSplit) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*AsSplit) GongClean ¶
insertion point per named struct Clean garbage collect unstaged instances that are referenced by AsSplit
func (*AsSplit) GongCopy ¶
func (assplit *AsSplit) GongCopy() GongstructIF
insertion point per named struct
func (*AsSplit) GongCopyBasicFields ¶
func (*AsSplit) GongDiff ¶
insertion point for diff per struct GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (AsSplit) GongGetAssociationName ¶
insertion point for instance with special fields
func (*AsSplit) GongGetFieldHeaders ¶
func (assplit *AsSplit) GongGetFieldHeaders() (res []GongFieldHeader)
insertion point for get fields header method
func (*AsSplit) GongGetFieldValue ¶
func (assplit *AsSplit) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
insertion point for generic get gongstruct field value
func (*AsSplit) GongGetGongstructName ¶
insertion point for generic get gongstruct name
func (*AsSplit) GongGetIdentifier ¶
GongGetIdentifier returns a unique identifier of the instance in the staging area This identifier is composed of the Gongstruct name and the order of the instance in the staging area It is used to identify instances across sessions insertion point per named struct
func (*AsSplit) GongGetInstanceFromOrder ¶
func (*AsSplit) GongGetInstancesByOrder ¶
insertion point for stage ops
func (*AsSplit) GongGetInstancesMapByName ¶
func (*AsSplit) GongGetInstancesSet ¶
func (*AsSplit) GongGetOrder ¶
GongGetOrder returns the order of the instance in the staging area This order is set at staging time, and reflects the order of creation of the instances in the staging area It is used when rendering slices of GongstructIF to keep a deterministic order which is important for frontends such as web frontends to avoid unnecessary re-renderings insertion point per named struct
func (*AsSplit) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*AsSplit) GongGetReverseFieldOwnerName ¶
func (inst *AsSplit) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
insertion point
func (*AsSplit) GongGetReverseFields ¶
func (*AsSplit) GongGetReverseFields() []GongReverseField
insertion point for generic get reverse fields
func (*AsSplit) GongGetUUID ¶
insertion point per named struct
func (*AsSplit) GongIsStaged ¶
insertion point for stage per struct
func (*AsSplit) GongMarshallAllFields ¶
insertion point for marshall all fields methods
func (*AsSplit) GongMarshallField ¶
insertion point for marshall field methods
func (*AsSplit) GongMarshallIdentifier ¶
MarshallIdentifier returns the code to instantiate the instance in a marshalling file insertion point per named struct
func (*AsSplit) GongMarshallUnstaging ¶
insertion point for unstaging
func (*AsSplit) GongNewInstance ¶
func (*AsSplit) GongOnAfterUpdateFromFront ¶
func (assplit *AsSplit) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*AsSplit) GongReconstructPointersFromInstances ¶
insertion point for pointer reconstruction from instances
func (*AsSplit) GongReconstructPointersFromReferences ¶
insertion point for pointer reconstruction from references
func (*AsSplit) GongStageBranch ¶
insertion point for stage branch per struct
func (*AsSplit) GongUnstageBranch ¶
insertion point for unstage branch per struct
func (*AsSplit) Stage ¶
insertion point for cumulative sub template with model space calls Stage puts assplit to the model stage
func (*AsSplit) StagePreserveOrder ¶
StagePreserveOrder puts assplit to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.AsSplitOrder - update stage.AsSplitOrder accordingly
func (*AsSplit) UnstageVoid ¶
UnstageVoid removes assplit off the model stage
type AsSplitArea ¶
type AsSplitArea struct {
Name string
ShowNameInHeader bool
Size float64
// IsAany make the split area set size to "$any(*)"
IsAny bool
AsSplit *AsSplit
Button *Button
Cursor *Cursor
Form *Form
Load *Load
Markdown *Markdown
Slider *Slider
Split *Split
Svg *Svg
Table *Table
Tone *Tone
Tree *Tree
Threejs *Threejs
Xlsx *Xlsx
HasDiv bool
DivStyle string // in case of div, the div style
}
func GongCopyBranchAsSplitArea ¶
func GongCopyBranchAsSplitArea(mapOrigCopy map[any]any, assplitareaFrom *AsSplitArea) (assplitareaTo *AsSplitArea)
func (*AsSplitArea) GetName ¶
func (assplitarea *AsSplitArea) GetName() (res string)
for satisfaction of GongStruct interface
func (*AsSplitArea) GongAfterCreateFromFront ¶
func (assplitarea *AsSplitArea) GongAfterCreateFromFront(stage *Stage)
func (*AsSplitArea) GongAfterDeleteFromFront ¶
func (assplitarea *AsSplitArea) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*AsSplitArea) GongClean ¶
func (assplitarea *AsSplitArea) GongClean(stage *Stage) (modified bool)
Clean garbage collect unstaged instances that are referenced by AsSplitArea
func (*AsSplitArea) GongCopy ¶
func (assplitarea *AsSplitArea) GongCopy() GongstructIF
func (*AsSplitArea) GongCopyBasicFields ¶
func (from *AsSplitArea) GongCopyBasicFields(to *AsSplitArea)
func (*AsSplitArea) GongDiff ¶
func (assplitarea *AsSplitArea) GongDiff(stage *Stage, assplitareaOther *AsSplitArea) (diffs []string)
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (AsSplitArea) GongGetAssociationName ¶
func (AsSplitArea) GongGetAssociationName() any
func (*AsSplitArea) GongGetFieldHeaders ¶
func (assplitarea *AsSplitArea) GongGetFieldHeaders() (res []GongFieldHeader)
func (*AsSplitArea) GongGetFieldValue ¶
func (assplitarea *AsSplitArea) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*AsSplitArea) GongGetGongstructName ¶
func (assplitarea *AsSplitArea) GongGetGongstructName() string
func (*AsSplitArea) GongGetIdentifier ¶
func (assplitarea *AsSplitArea) GongGetIdentifier(stage *Stage) string
func (*AsSplitArea) GongGetInstanceFromOrder ¶
func (*AsSplitArea) GongGetInstanceFromOrder(stage *Stage, order uint) any
func (*AsSplitArea) GongGetInstancesByOrder ¶
func (*AsSplitArea) GongGetInstancesByOrder(stage *Stage) any
func (*AsSplitArea) GongGetInstancesMapByName ¶
func (*AsSplitArea) GongGetInstancesMapByName(stage *Stage) any
func (*AsSplitArea) GongGetInstancesSet ¶
func (*AsSplitArea) GongGetInstancesSet(stage *Stage) any
func (*AsSplitArea) GongGetOrder ¶
func (assplitarea *AsSplitArea) GongGetOrder(stage *Stage) uint
func (*AsSplitArea) GongGetReferenceIdentifier ¶
func (assplitarea *AsSplitArea) GongGetReferenceIdentifier(stage *Stage) string
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*AsSplitArea) GongGetReverseFieldOwnerName ¶
func (inst *AsSplitArea) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*AsSplitArea) GongGetReverseFields ¶
func (*AsSplitArea) GongGetReverseFields() []GongReverseField
func (*AsSplitArea) GongGetUUID ¶
func (assplitarea *AsSplitArea) GongGetUUID(stage *Stage) string
func (*AsSplitArea) GongIsStaged ¶
func (assplitarea *AsSplitArea) GongIsStaged(stage *Stage) bool
func (*AsSplitArea) GongMarshallAllFields ¶
func (assplitarea *AsSplitArea) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
func (*AsSplitArea) GongMarshallField ¶
func (assplitarea *AsSplitArea) GongMarshallField(stage *Stage, fieldName string) (res string)
func (*AsSplitArea) GongMarshallIdentifier ¶
func (assplitarea *AsSplitArea) GongMarshallIdentifier(stage *Stage) string
func (*AsSplitArea) GongMarshallUnstaging ¶
func (assplitarea *AsSplitArea) GongMarshallUnstaging(stage *Stage) string
func (*AsSplitArea) GongNewInstance ¶
func (*AsSplitArea) GongNewInstance() any
func (*AsSplitArea) GongOnAfterUpdateFromFront ¶
func (assplitarea *AsSplitArea) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*AsSplitArea) GongReconstructPointersFromInstances ¶
func (reference *AsSplitArea) GongReconstructPointersFromInstances(stage *Stage)
func (*AsSplitArea) GongReconstructPointersFromReferences ¶
func (reference *AsSplitArea) GongReconstructPointersFromReferences(stage *Stage, instance *AsSplitArea)
func (*AsSplitArea) GongStageBranch ¶
func (assplitarea *AsSplitArea) GongStageBranch(stage *Stage)
func (*AsSplitArea) GongUnstageBranch ¶
func (assplitarea *AsSplitArea) GongUnstageBranch(stage *Stage)
func (*AsSplitArea) SetName ¶
func (assplitarea *AsSplitArea) SetName(name string)
for satisfaction of GongStruct interface
func (*AsSplitArea) Stage ¶
func (assplitarea *AsSplitArea) Stage(stage *Stage) *AsSplitArea
Stage puts assplitarea to the model stage
func (*AsSplitArea) StagePreserveOrder ¶
func (assplitarea *AsSplitArea) StagePreserveOrder(stage *Stage, order uint)
StagePreserveOrder puts assplitarea to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.AsSplitAreaOrder - update stage.AsSplitAreaOrder accordingly
func (*AsSplitArea) StageVoid ¶
func (assplitarea *AsSplitArea) StageVoid(stage *Stage)
func (*AsSplitArea) Unstage ¶
func (assplitarea *AsSplitArea) Unstage(stage *Stage) *AsSplitArea
Unstage removes assplitarea off the model stage
func (*AsSplitArea) UnstageVoid ¶
func (assplitarea *AsSplitArea) UnstageVoid(stage *Stage)
UnstageVoid removes assplitarea off the model stage
type AsSplitAreaUnmarshaller ¶
type AsSplitAreaUnmarshaller struct{}
func (*AsSplitAreaUnmarshaller) Initialize ¶
func (u *AsSplitAreaUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*AsSplitAreaUnmarshaller) UnmarshallField ¶
func (u *AsSplitAreaUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type AsSplitArea_WOP ¶
type AsSplitUnmarshaller ¶
type AsSplitUnmarshaller struct{}
insertion point per named struct
func (*AsSplitUnmarshaller) Initialize ¶
func (u *AsSplitUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*AsSplitUnmarshaller) UnmarshallField ¶
func (u *AsSplitUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type AsSplit_WOP ¶
type AsSplit_WOP struct {
Name string
Direction Direction
IsSizeInPixel bool
IsWithCustomGutterSize bool
GutterSize float64
}
insertion point
type BackRepoInterface ¶
type BackRepoInterface = GongBackRepoInterface
type Button ¶
func GongCopyBranchButton ¶
func (*Button) GongAfterCreateFromFront ¶
func (*Button) GongAfterDeleteFromFront ¶
func (button *Button) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*Button) GongCopy ¶
func (button *Button) GongCopy() GongstructIF
func (*Button) GongCopyBasicFields ¶
func (*Button) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (Button) GongGetAssociationName ¶
func (*Button) GongGetFieldHeaders ¶
func (button *Button) GongGetFieldHeaders() (res []GongFieldHeader)
func (*Button) GongGetFieldValue ¶
func (button *Button) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*Button) GongGetGongstructName ¶
func (*Button) GongGetIdentifier ¶
func (*Button) GongGetInstanceFromOrder ¶
func (*Button) GongGetInstancesByOrder ¶
func (*Button) GongGetInstancesMapByName ¶
func (*Button) GongGetInstancesSet ¶
func (*Button) GongGetOrder ¶
func (*Button) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Button) GongGetReverseFieldOwnerName ¶
func (inst *Button) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*Button) GongGetReverseFields ¶
func (*Button) GongGetReverseFields() []GongReverseField
func (*Button) GongGetUUID ¶
func (*Button) GongIsStaged ¶
func (*Button) GongMarshallAllFields ¶
func (*Button) GongMarshallField ¶
func (*Button) GongMarshallIdentifier ¶
func (*Button) GongMarshallUnstaging ¶
func (*Button) GongNewInstance ¶
func (*Button) GongOnAfterUpdateFromFront ¶
func (button *Button) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*Button) GongReconstructPointersFromInstances ¶
func (*Button) GongReconstructPointersFromReferences ¶
func (*Button) GongStageBranch ¶
func (*Button) GongUnstageBranch ¶
func (*Button) StagePreserveOrder ¶
StagePreserveOrder puts button to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.ButtonOrder - update stage.ButtonOrder accordingly
func (*Button) UnstageVoid ¶
UnstageVoid removes button off the model stage
type ButtonUnmarshaller ¶
type ButtonUnmarshaller struct{}
func (*ButtonUnmarshaller) Initialize ¶
func (u *ButtonUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*ButtonUnmarshaller) UnmarshallField ¶
func (u *ButtonUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type Button_WOP ¶
type Cursor ¶
func GongCopyBranchCursor ¶
func (*Cursor) GongAfterCreateFromFront ¶
func (*Cursor) GongAfterDeleteFromFront ¶
func (cursor *Cursor) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*Cursor) GongCopy ¶
func (cursor *Cursor) GongCopy() GongstructIF
func (*Cursor) GongCopyBasicFields ¶
func (*Cursor) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (Cursor) GongGetAssociationName ¶
func (*Cursor) GongGetFieldHeaders ¶
func (cursor *Cursor) GongGetFieldHeaders() (res []GongFieldHeader)
func (*Cursor) GongGetFieldValue ¶
func (cursor *Cursor) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*Cursor) GongGetGongstructName ¶
func (*Cursor) GongGetIdentifier ¶
func (*Cursor) GongGetInstanceFromOrder ¶
func (*Cursor) GongGetInstancesByOrder ¶
func (*Cursor) GongGetInstancesMapByName ¶
func (*Cursor) GongGetInstancesSet ¶
func (*Cursor) GongGetOrder ¶
func (*Cursor) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Cursor) GongGetReverseFieldOwnerName ¶
func (inst *Cursor) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*Cursor) GongGetReverseFields ¶
func (*Cursor) GongGetReverseFields() []GongReverseField
func (*Cursor) GongGetUUID ¶
func (*Cursor) GongIsStaged ¶
func (*Cursor) GongMarshallAllFields ¶
func (*Cursor) GongMarshallField ¶
func (*Cursor) GongMarshallIdentifier ¶
func (*Cursor) GongMarshallUnstaging ¶
func (*Cursor) GongNewInstance ¶
func (*Cursor) GongOnAfterUpdateFromFront ¶
func (cursor *Cursor) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*Cursor) GongReconstructPointersFromInstances ¶
func (*Cursor) GongReconstructPointersFromReferences ¶
func (*Cursor) GongStageBranch ¶
func (*Cursor) GongUnstageBranch ¶
func (*Cursor) StagePreserveOrder ¶
StagePreserveOrder puts cursor to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.CursorOrder - update stage.CursorOrder accordingly
func (*Cursor) UnstageVoid ¶
UnstageVoid removes cursor off the model stage
type CursorUnmarshaller ¶
type CursorUnmarshaller struct{}
func (*CursorUnmarshaller) Initialize ¶
func (u *CursorUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*CursorUnmarshaller) UnmarshallField ¶
func (u *CursorUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type Cursor_WOP ¶
type Direction ¶
type Direction string
func (Direction) CodeValues ¶
func (*Direction) FromCodeString ¶
func (*Direction) FromString ¶
func (*Direction) ToCodeString ¶
type ExcelizeTabulator ¶
type ExcelizeTabulator = GongExcelizeTabulator
type FavIcon ¶
You can configure the browser tab title and favicon dynamically in Angular creates one instance and it will set the browser accordingly
func GongCopyBranchFavIcon ¶
func (*FavIcon) GongAfterCreateFromFront ¶
func (*FavIcon) GongAfterDeleteFromFront ¶
func (favicon *FavIcon) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*FavIcon) GongCopy ¶
func (favicon *FavIcon) GongCopy() GongstructIF
func (*FavIcon) GongCopyBasicFields ¶
func (*FavIcon) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (FavIcon) GongGetAssociationName ¶
func (*FavIcon) GongGetFieldHeaders ¶
func (favicon *FavIcon) GongGetFieldHeaders() (res []GongFieldHeader)
func (*FavIcon) GongGetFieldValue ¶
func (favicon *FavIcon) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*FavIcon) GongGetGongstructName ¶
func (*FavIcon) GongGetIdentifier ¶
func (*FavIcon) GongGetInstanceFromOrder ¶
func (*FavIcon) GongGetInstancesByOrder ¶
func (*FavIcon) GongGetInstancesMapByName ¶
func (*FavIcon) GongGetInstancesSet ¶
func (*FavIcon) GongGetOrder ¶
func (*FavIcon) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*FavIcon) GongGetReverseFieldOwnerName ¶
func (inst *FavIcon) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*FavIcon) GongGetReverseFields ¶
func (*FavIcon) GongGetReverseFields() []GongReverseField
func (*FavIcon) GongGetUUID ¶
func (*FavIcon) GongIsStaged ¶
func (*FavIcon) GongMarshallAllFields ¶
func (*FavIcon) GongMarshallField ¶
func (*FavIcon) GongMarshallIdentifier ¶
func (*FavIcon) GongMarshallUnstaging ¶
func (*FavIcon) GongNewInstance ¶
func (*FavIcon) GongOnAfterUpdateFromFront ¶
func (favicon *FavIcon) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*FavIcon) GongReconstructPointersFromInstances ¶
func (*FavIcon) GongReconstructPointersFromReferences ¶
func (*FavIcon) GongStageBranch ¶
func (*FavIcon) GongUnstageBranch ¶
func (*FavIcon) StagePreserveOrder ¶
StagePreserveOrder puts favicon to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.FavIconOrder - update stage.FavIconOrder accordingly
func (*FavIcon) UnstageVoid ¶
UnstageVoid removes favicon off the model stage
type FavIconUnmarshaller ¶
type FavIconUnmarshaller struct{}
func (*FavIconUnmarshaller) Initialize ¶
func (u *FavIconUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*FavIconUnmarshaller) UnmarshallField ¶
func (u *FavIconUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type FavIcon_WOP ¶
type Form ¶
func GongCopyBranchForm ¶
func (*Form) GongAfterCreateFromFront ¶
func (*Form) GongAfterDeleteFromFront ¶
func (form *Form) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*Form) GongCopy ¶
func (form *Form) GongCopy() GongstructIF
func (*Form) GongCopyBasicFields ¶
func (*Form) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (Form) GongGetAssociationName ¶
func (*Form) GongGetFieldHeaders ¶
func (form *Form) GongGetFieldHeaders() (res []GongFieldHeader)
func (*Form) GongGetFieldValue ¶
func (form *Form) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*Form) GongGetGongstructName ¶
func (*Form) GongGetIdentifier ¶
func (*Form) GongGetInstanceFromOrder ¶
func (*Form) GongGetInstancesByOrder ¶
func (*Form) GongGetInstancesMapByName ¶
func (*Form) GongGetInstancesSet ¶
func (*Form) GongGetOrder ¶
func (*Form) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Form) GongGetReverseFieldOwnerName ¶
func (inst *Form) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*Form) GongGetReverseFields ¶
func (*Form) GongGetReverseFields() []GongReverseField
func (*Form) GongGetUUID ¶
func (*Form) GongIsStaged ¶
func (*Form) GongMarshallAllFields ¶
func (*Form) GongMarshallField ¶
func (*Form) GongMarshallIdentifier ¶
func (*Form) GongMarshallUnstaging ¶
func (*Form) GongNewInstance ¶
func (*Form) GongOnAfterUpdateFromFront ¶
func (form *Form) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*Form) GongReconstructPointersFromInstances ¶
func (*Form) GongReconstructPointersFromReferences ¶
func (*Form) GongStageBranch ¶
func (*Form) GongUnstageBranch ¶
func (*Form) StagePreserveOrder ¶
StagePreserveOrder puts form to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.FormOrder - update stage.FormOrder accordingly
func (*Form) UnstageVoid ¶
UnstageVoid removes form off the model stage
type FormUnmarshaller ¶
type FormUnmarshaller struct{}
func (*FormUnmarshaller) Initialize ¶
func (u *FormUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*FormUnmarshaller) UnmarshallField ¶
func (u *FormUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type GONG__ExpressionType ¶
type GONG__ExpressionType = gong_runtime.GONG__ExpressionType
swagger:ignore
type GONG__Identifier ¶
type GONG__Identifier struct {
Ident string
Type GONG__ExpressionType
}
type GongBackRepoInterface ¶
type GongCleaner ¶
type GongEnumIntPointer ¶
type GongEnumStringPointer ¶
type GongExcelizeTabulator ¶
type GongExcelizeTabulator struct {
// contains filtered or unexported fields
}
func (*GongExcelizeTabulator) AddCell ¶
func (tab *GongExcelizeTabulator) AddCell(sheetName string, rowId, columnIndex int, value string)
func (*GongExcelizeTabulator) AddRow ¶
func (tab *GongExcelizeTabulator) AddRow(sheetName string) (rowId int)
func (*GongExcelizeTabulator) AddSheet ¶
func (tab *GongExcelizeTabulator) AddSheet(sheetName string)
func (*GongExcelizeTabulator) SetExcelizeFile ¶
func (tab *GongExcelizeTabulator) SetExcelizeFile(f *excelize.File)
type GongFieldHeader ¶
type GongFieldHeader struct {
Name string
GongFieldValueType
TargetGongstructName string
}
func GetFieldsFromPointer ¶
func GetFieldsFromPointer[Type GongstructPtr]() (res []GongFieldHeader)
func GongGetFieldsFromPointer ¶
func GongGetFieldsFromPointer[Type GongstructPtr]() (res []GongFieldHeader)
GongGetFieldsFromPointer return the array of the fields
type GongFieldValue ¶
type GongFieldValue struct {
GongFieldValueType
// contains filtered or unexported fields
}
func GetFieldStringValueFromPointer ¶
func GetFieldStringValueFromPointer(instance GongstructIF, fieldName string, stage *Stage) (res GongFieldValue)
func (*GongFieldValue) GetValueBool ¶
func (gongValueField *GongFieldValue) GetValueBool() bool
func (*GongFieldValue) GetValueFloat ¶
func (gongValueField *GongFieldValue) GetValueFloat() float64
func (*GongFieldValue) GetValueInt ¶
func (gongValueField *GongFieldValue) GetValueInt() int
func (*GongFieldValue) GetValueString ¶
func (gongValueField *GongFieldValue) GetValueString() string
type GongFieldValueType ¶
type GongFieldValueType string
const ( GongFieldValueTypeInt GongFieldValueType = "GongFieldValueTypeInt" GongFieldValueTypeIntDuration GongFieldValueType = "GongFieldValueTypeIntDuration" GongFieldValueTypeFloat GongFieldValueType = "GongFieldValueTypeFloat" GongFieldValueTypeBool GongFieldValueType = "GongFieldValueTypeBool" GongFieldValueTypeString GongFieldValueType = "GongFieldValueTypeString" GongFieldValueTypeDate GongFieldValueType = "GongFieldValueTypeDate" GongFieldValueTypeBasicKind GongFieldValueType = "GongFieldValueTypeBasicKind" GongFieldValueTypePointer GongFieldValueType = "GongFieldValueTypePointer" GongFieldValueTypeSliceOfPointers GongFieldValueType = "GongFieldValueTypeSliceOfPointers" )
type GongMarshallingMode ¶
type GongMarshallingMode = gong_runtime.GongMarshallingMode
type GongModelUnmarshaller ¶
type GongModelUnmarshaller interface {
// Initialize creates the struct, stages it, and returns the pointer as 'any'
Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
// UnmarshallField sets a field's value based on the AST expression
UnmarshallField(stage *Stage, instance GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
}
GongModelUnmarshaller abstracts the logic for setting fields on a staged instance
type GongNodeIF ¶
type GongNodeIF any
type GongOnAfterCreateInterface ¶
type GongOnAfterCreateInterface[Type Gongstruct] interface { OnAfterCreate(stage *Stage, instance *Type) }
GongOnAfterCreateInterface callback when an instance is updated from the front
type GongOnAfterDeleteInterface ¶
type GongOnAfterDeleteInterface[Type Gongstruct] interface { OnAfterDelete(stage *Stage, staged, front *Type) }
GongOnAfterDeleteInterface callback when an instance is updated from the front
type GongOnAfterUpdateInterface ¶
type GongOnAfterUpdateInterface[Type Gongstruct] interface { OnAfterUpdate(stage *Stage, old, new *Type) }
GongOnAfterUpdateInterface callback when an instance is updated from the front
type GongOnInitCommitInterface ¶
type GongOnInitCommitInterface interface {
BeforeCommit(stage *Stage)
}
type GongProbeIF ¶
type GongProbeIF interface {
Refresh()
GetDataEditor() *AsSplit
GetDiagramEditor() *AsSplitArea
FillUpFormFromGongstruct(instance any, formName string)
AddNotification(date time.Time, message string)
CommitNotificationTable()
ResetNotifications()
}
for the split package, we define a ProbeIF interface (that is never implemented by the split package) otherwise, the split package cannot refer to the main gong package
type GongReverseField ¶
func GetReverseFields ¶
func GetReverseFields[Type GongstructIF]() (res []GongReverseField)
func GongGetReverseFields ¶
func GongGetReverseFields[Type GongstructIF]() (res []GongReverseField)
type GongTabulator ¶
type GongTabulator interface {
AddSheet(sheetName string)
AddRow(sheetName string) int
AddCell(sheetName string, rowId, columnIndex int, value string)
}
GongTabulator is an interface for writing to a table strings
type Gong__MouseEvent ¶
type Gong__MouseEvent struct {
ShiftKey bool
}
type Gongstruct ¶
type Gongstruct interface {
GongGetAssociationName() any
}
Gongstruct is the type parameter for generated generic function that allows - access to staged instances - navigation between staged instances by going backward association links between gongstruct - full refactoring of Gongstruct identifiers / fields
type GongstructBasicField ¶
type GongstructDiffable ¶
type GongstructEnumIntField ¶
type GongstructIF ¶
type GongstructIF interface {
GetName() string
SetName(string)
StageVoid(*Stage)
UnstageVoid(stage *Stage)
GongGetFieldHeaders() []GongFieldHeader
GongGetFieldValue(fieldName string, stage *Stage) GongFieldValue
GongGetGongstructName() string
GongGetOrder(stage *Stage) uint
GongGetReferenceIdentifier(stage *Stage) string
GongGetIdentifier(stage *Stage) string
GongCopy() GongstructIF
GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) string
GongGetUUID(stage *Stage) string
GongAfterCreateFromFront(stage *Stage)
GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
GongIsStaged(stage *Stage) bool
GongStageBranch(stage *Stage)
GongUnstageBranch(stage *Stage)
GongGetInstancesByOrder(stage *Stage) any
GongGetInstanceFromOrder(stage *Stage, order uint) any
GongGetInstancesMapByName(stage *Stage) any
GongGetInstancesSet(stage *Stage) any
GongNewInstance() any
GongGetReverseFields() []GongReverseField
}
Gongstruct is the type parameter for generated generic function that allows - access to staged instances - navigation between staged instances by going backward association links between gongstruct - full refactoring of Gongstruct identifiers / fields
func GongInitialize ¶
func GongInitialize[P interface {
GongstructIF
StagePreserveOrder(stage *Stage, order uint)
}](instance P, stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
GongInitialize initializes a staged instance, sets its name, and stages it
type GongstructPtr ¶
type GongstructPtr interface {
GongstructIF
comparable
}
type GongtructBasicField ¶
type GongtructBasicField = GongstructBasicField
type Load ¶
func GongCopyBranchLoad ¶
func (*Load) GongAfterCreateFromFront ¶
func (*Load) GongAfterDeleteFromFront ¶
func (load *Load) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*Load) GongCopy ¶
func (load *Load) GongCopy() GongstructIF
func (*Load) GongCopyBasicFields ¶
func (*Load) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (Load) GongGetAssociationName ¶
func (*Load) GongGetFieldHeaders ¶
func (load *Load) GongGetFieldHeaders() (res []GongFieldHeader)
func (*Load) GongGetFieldValue ¶
func (load *Load) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*Load) GongGetGongstructName ¶
func (*Load) GongGetIdentifier ¶
func (*Load) GongGetInstanceFromOrder ¶
func (*Load) GongGetInstancesByOrder ¶
func (*Load) GongGetInstancesMapByName ¶
func (*Load) GongGetInstancesSet ¶
func (*Load) GongGetOrder ¶
func (*Load) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Load) GongGetReverseFieldOwnerName ¶
func (inst *Load) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*Load) GongGetReverseFields ¶
func (*Load) GongGetReverseFields() []GongReverseField
func (*Load) GongGetUUID ¶
func (*Load) GongIsStaged ¶
func (*Load) GongMarshallAllFields ¶
func (*Load) GongMarshallField ¶
func (*Load) GongMarshallIdentifier ¶
func (*Load) GongMarshallUnstaging ¶
func (*Load) GongNewInstance ¶
func (*Load) GongOnAfterUpdateFromFront ¶
func (load *Load) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*Load) GongReconstructPointersFromInstances ¶
func (*Load) GongReconstructPointersFromReferences ¶
func (*Load) GongStageBranch ¶
func (*Load) GongUnstageBranch ¶
func (*Load) StagePreserveOrder ¶
StagePreserveOrder puts load to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.LoadOrder - update stage.LoadOrder accordingly
func (*Load) UnstageVoid ¶
UnstageVoid removes load off the model stage
type LoadUnmarshaller ¶
type LoadUnmarshaller struct{}
func (*LoadUnmarshaller) Initialize ¶
func (u *LoadUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*LoadUnmarshaller) UnmarshallField ¶
func (u *LoadUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type LogoOnTheLeft ¶
type LogoOnTheLeft struct {
Name string
Width int
Height int
//gong:width 600 gong:height 300
SVG string
}
LogoOnTheLeft displayed in the banner
func GongCopyBranchLogoOnTheLeft ¶
func GongCopyBranchLogoOnTheLeft(mapOrigCopy map[any]any, logoontheleftFrom *LogoOnTheLeft) (logoontheleftTo *LogoOnTheLeft)
func (*LogoOnTheLeft) GetName ¶
func (logoontheleft *LogoOnTheLeft) GetName() (res string)
for satisfaction of GongStruct interface
func (*LogoOnTheLeft) GongAfterCreateFromFront ¶
func (logoontheleft *LogoOnTheLeft) GongAfterCreateFromFront(stage *Stage)
func (*LogoOnTheLeft) GongAfterDeleteFromFront ¶
func (logoontheleft *LogoOnTheLeft) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*LogoOnTheLeft) GongCopy ¶
func (logoontheleft *LogoOnTheLeft) GongCopy() GongstructIF
func (*LogoOnTheLeft) GongCopyBasicFields ¶
func (from *LogoOnTheLeft) GongCopyBasicFields(to *LogoOnTheLeft)
func (*LogoOnTheLeft) GongDiff ¶
func (logoontheleft *LogoOnTheLeft) GongDiff(stage *Stage, logoontheleftOther *LogoOnTheLeft) (diffs []string)
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (LogoOnTheLeft) GongGetAssociationName ¶
func (LogoOnTheLeft) GongGetAssociationName() any
func (*LogoOnTheLeft) GongGetFieldHeaders ¶
func (logoontheleft *LogoOnTheLeft) GongGetFieldHeaders() (res []GongFieldHeader)
func (*LogoOnTheLeft) GongGetFieldValue ¶
func (logoontheleft *LogoOnTheLeft) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*LogoOnTheLeft) GongGetGongstructName ¶
func (logoontheleft *LogoOnTheLeft) GongGetGongstructName() string
func (*LogoOnTheLeft) GongGetIdentifier ¶
func (logoontheleft *LogoOnTheLeft) GongGetIdentifier(stage *Stage) string
func (*LogoOnTheLeft) GongGetInstanceFromOrder ¶
func (*LogoOnTheLeft) GongGetInstanceFromOrder(stage *Stage, order uint) any
func (*LogoOnTheLeft) GongGetInstancesByOrder ¶
func (*LogoOnTheLeft) GongGetInstancesByOrder(stage *Stage) any
func (*LogoOnTheLeft) GongGetInstancesMapByName ¶
func (*LogoOnTheLeft) GongGetInstancesMapByName(stage *Stage) any
func (*LogoOnTheLeft) GongGetInstancesSet ¶
func (*LogoOnTheLeft) GongGetInstancesSet(stage *Stage) any
func (*LogoOnTheLeft) GongGetOrder ¶
func (logoontheleft *LogoOnTheLeft) GongGetOrder(stage *Stage) uint
func (*LogoOnTheLeft) GongGetReferenceIdentifier ¶
func (logoontheleft *LogoOnTheLeft) GongGetReferenceIdentifier(stage *Stage) string
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*LogoOnTheLeft) GongGetReverseFieldOwnerName ¶
func (inst *LogoOnTheLeft) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*LogoOnTheLeft) GongGetReverseFields ¶
func (*LogoOnTheLeft) GongGetReverseFields() []GongReverseField
func (*LogoOnTheLeft) GongGetUUID ¶
func (logoontheleft *LogoOnTheLeft) GongGetUUID(stage *Stage) string
func (*LogoOnTheLeft) GongIsStaged ¶
func (logoontheleft *LogoOnTheLeft) GongIsStaged(stage *Stage) bool
func (*LogoOnTheLeft) GongMarshallAllFields ¶
func (logoontheleft *LogoOnTheLeft) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
func (*LogoOnTheLeft) GongMarshallField ¶
func (logoontheleft *LogoOnTheLeft) GongMarshallField(stage *Stage, fieldName string) (res string)
func (*LogoOnTheLeft) GongMarshallIdentifier ¶
func (logoontheleft *LogoOnTheLeft) GongMarshallIdentifier(stage *Stage) string
func (*LogoOnTheLeft) GongMarshallUnstaging ¶
func (logoontheleft *LogoOnTheLeft) GongMarshallUnstaging(stage *Stage) string
func (*LogoOnTheLeft) GongNewInstance ¶
func (*LogoOnTheLeft) GongNewInstance() any
func (*LogoOnTheLeft) GongOnAfterUpdateFromFront ¶
func (logoontheleft *LogoOnTheLeft) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*LogoOnTheLeft) GongReconstructPointersFromInstances ¶
func (reference *LogoOnTheLeft) GongReconstructPointersFromInstances(stage *Stage)
func (*LogoOnTheLeft) GongReconstructPointersFromReferences ¶
func (reference *LogoOnTheLeft) GongReconstructPointersFromReferences(stage *Stage, instance *LogoOnTheLeft)
func (*LogoOnTheLeft) GongStageBranch ¶
func (logoontheleft *LogoOnTheLeft) GongStageBranch(stage *Stage)
func (*LogoOnTheLeft) GongUnstageBranch ¶
func (logoontheleft *LogoOnTheLeft) GongUnstageBranch(stage *Stage)
func (*LogoOnTheLeft) SetName ¶
func (logoontheleft *LogoOnTheLeft) SetName(name string)
for satisfaction of GongStruct interface
func (*LogoOnTheLeft) Stage ¶
func (logoontheleft *LogoOnTheLeft) Stage(stage *Stage) *LogoOnTheLeft
Stage puts logoontheleft to the model stage
func (*LogoOnTheLeft) StagePreserveOrder ¶
func (logoontheleft *LogoOnTheLeft) StagePreserveOrder(stage *Stage, order uint)
StagePreserveOrder puts logoontheleft to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.LogoOnTheLeftOrder - update stage.LogoOnTheLeftOrder accordingly
func (*LogoOnTheLeft) StageVoid ¶
func (logoontheleft *LogoOnTheLeft) StageVoid(stage *Stage)
func (*LogoOnTheLeft) Unstage ¶
func (logoontheleft *LogoOnTheLeft) Unstage(stage *Stage) *LogoOnTheLeft
Unstage removes logoontheleft off the model stage
func (*LogoOnTheLeft) UnstageVoid ¶
func (logoontheleft *LogoOnTheLeft) UnstageVoid(stage *Stage)
UnstageVoid removes logoontheleft off the model stage
type LogoOnTheLeftUnmarshaller ¶
type LogoOnTheLeftUnmarshaller struct{}
func (*LogoOnTheLeftUnmarshaller) Initialize ¶
func (u *LogoOnTheLeftUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*LogoOnTheLeftUnmarshaller) UnmarshallField ¶
func (u *LogoOnTheLeftUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type LogoOnTheLeft_WOP ¶
type LogoOnTheRight ¶
type LogoOnTheRight struct {
Name string
Width int
Height int
//gong:width 600 gong:height 300
SVG string
}
LogoOnTheLeft displayed in the banner
func GongCopyBranchLogoOnTheRight ¶
func GongCopyBranchLogoOnTheRight(mapOrigCopy map[any]any, logoontherightFrom *LogoOnTheRight) (logoontherightTo *LogoOnTheRight)
func (*LogoOnTheRight) GetName ¶
func (logoontheright *LogoOnTheRight) GetName() (res string)
for satisfaction of GongStruct interface
func (*LogoOnTheRight) GongAfterCreateFromFront ¶
func (logoontheright *LogoOnTheRight) GongAfterCreateFromFront(stage *Stage)
func (*LogoOnTheRight) GongAfterDeleteFromFront ¶
func (logoontheright *LogoOnTheRight) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*LogoOnTheRight) GongCopy ¶
func (logoontheright *LogoOnTheRight) GongCopy() GongstructIF
func (*LogoOnTheRight) GongCopyBasicFields ¶
func (from *LogoOnTheRight) GongCopyBasicFields(to *LogoOnTheRight)
func (*LogoOnTheRight) GongDiff ¶
func (logoontheright *LogoOnTheRight) GongDiff(stage *Stage, logoontherightOther *LogoOnTheRight) (diffs []string)
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (LogoOnTheRight) GongGetAssociationName ¶
func (LogoOnTheRight) GongGetAssociationName() any
func (*LogoOnTheRight) GongGetFieldHeaders ¶
func (logoontheright *LogoOnTheRight) GongGetFieldHeaders() (res []GongFieldHeader)
func (*LogoOnTheRight) GongGetFieldValue ¶
func (logoontheright *LogoOnTheRight) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*LogoOnTheRight) GongGetGongstructName ¶
func (logoontheright *LogoOnTheRight) GongGetGongstructName() string
func (*LogoOnTheRight) GongGetIdentifier ¶
func (logoontheright *LogoOnTheRight) GongGetIdentifier(stage *Stage) string
func (*LogoOnTheRight) GongGetInstanceFromOrder ¶
func (*LogoOnTheRight) GongGetInstanceFromOrder(stage *Stage, order uint) any
func (*LogoOnTheRight) GongGetInstancesByOrder ¶
func (*LogoOnTheRight) GongGetInstancesByOrder(stage *Stage) any
func (*LogoOnTheRight) GongGetInstancesMapByName ¶
func (*LogoOnTheRight) GongGetInstancesMapByName(stage *Stage) any
func (*LogoOnTheRight) GongGetInstancesSet ¶
func (*LogoOnTheRight) GongGetInstancesSet(stage *Stage) any
func (*LogoOnTheRight) GongGetOrder ¶
func (logoontheright *LogoOnTheRight) GongGetOrder(stage *Stage) uint
func (*LogoOnTheRight) GongGetReferenceIdentifier ¶
func (logoontheright *LogoOnTheRight) GongGetReferenceIdentifier(stage *Stage) string
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*LogoOnTheRight) GongGetReverseFieldOwnerName ¶
func (inst *LogoOnTheRight) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*LogoOnTheRight) GongGetReverseFields ¶
func (*LogoOnTheRight) GongGetReverseFields() []GongReverseField
func (*LogoOnTheRight) GongGetUUID ¶
func (logoontheright *LogoOnTheRight) GongGetUUID(stage *Stage) string
func (*LogoOnTheRight) GongIsStaged ¶
func (logoontheright *LogoOnTheRight) GongIsStaged(stage *Stage) bool
func (*LogoOnTheRight) GongMarshallAllFields ¶
func (logoontheright *LogoOnTheRight) GongMarshallAllFields(stage *Stage) (initRes string, ptrRes string)
func (*LogoOnTheRight) GongMarshallField ¶
func (logoontheright *LogoOnTheRight) GongMarshallField(stage *Stage, fieldName string) (res string)
func (*LogoOnTheRight) GongMarshallIdentifier ¶
func (logoontheright *LogoOnTheRight) GongMarshallIdentifier(stage *Stage) string
func (*LogoOnTheRight) GongMarshallUnstaging ¶
func (logoontheright *LogoOnTheRight) GongMarshallUnstaging(stage *Stage) string
func (*LogoOnTheRight) GongNewInstance ¶
func (*LogoOnTheRight) GongNewInstance() any
func (*LogoOnTheRight) GongOnAfterUpdateFromFront ¶
func (logoontheright *LogoOnTheRight) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*LogoOnTheRight) GongReconstructPointersFromInstances ¶
func (reference *LogoOnTheRight) GongReconstructPointersFromInstances(stage *Stage)
func (*LogoOnTheRight) GongReconstructPointersFromReferences ¶
func (reference *LogoOnTheRight) GongReconstructPointersFromReferences(stage *Stage, instance *LogoOnTheRight)
func (*LogoOnTheRight) GongStageBranch ¶
func (logoontheright *LogoOnTheRight) GongStageBranch(stage *Stage)
func (*LogoOnTheRight) GongUnstageBranch ¶
func (logoontheright *LogoOnTheRight) GongUnstageBranch(stage *Stage)
func (*LogoOnTheRight) SetName ¶
func (logoontheright *LogoOnTheRight) SetName(name string)
for satisfaction of GongStruct interface
func (*LogoOnTheRight) Stage ¶
func (logoontheright *LogoOnTheRight) Stage(stage *Stage) *LogoOnTheRight
Stage puts logoontheright to the model stage
func (*LogoOnTheRight) StagePreserveOrder ¶
func (logoontheright *LogoOnTheRight) StagePreserveOrder(stage *Stage, order uint)
StagePreserveOrder puts logoontheright to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.LogoOnTheRightOrder - update stage.LogoOnTheRightOrder accordingly
func (*LogoOnTheRight) StageVoid ¶
func (logoontheright *LogoOnTheRight) StageVoid(stage *Stage)
func (*LogoOnTheRight) Unstage ¶
func (logoontheright *LogoOnTheRight) Unstage(stage *Stage) *LogoOnTheRight
Unstage removes logoontheright off the model stage
func (*LogoOnTheRight) UnstageVoid ¶
func (logoontheright *LogoOnTheRight) UnstageVoid(stage *Stage)
UnstageVoid removes logoontheright off the model stage
type LogoOnTheRightUnmarshaller ¶
type LogoOnTheRightUnmarshaller struct{}
func (*LogoOnTheRightUnmarshaller) Initialize ¶
func (u *LogoOnTheRightUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*LogoOnTheRightUnmarshaller) UnmarshallField ¶
func (u *LogoOnTheRightUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type LogoOnTheRight_WOP ¶
type Markdown ¶
func GongCopyBranchMarkdown ¶
func (*Markdown) GongAfterCreateFromFront ¶
func (*Markdown) GongAfterDeleteFromFront ¶
func (markdown *Markdown) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*Markdown) GongCopy ¶
func (markdown *Markdown) GongCopy() GongstructIF
func (*Markdown) GongCopyBasicFields ¶
func (*Markdown) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (Markdown) GongGetAssociationName ¶
func (*Markdown) GongGetFieldHeaders ¶
func (markdown *Markdown) GongGetFieldHeaders() (res []GongFieldHeader)
func (*Markdown) GongGetFieldValue ¶
func (markdown *Markdown) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*Markdown) GongGetGongstructName ¶
func (*Markdown) GongGetIdentifier ¶
func (*Markdown) GongGetInstanceFromOrder ¶
func (*Markdown) GongGetInstancesByOrder ¶
func (*Markdown) GongGetInstancesMapByName ¶
func (*Markdown) GongGetInstancesSet ¶
func (*Markdown) GongGetOrder ¶
func (*Markdown) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Markdown) GongGetReverseFieldOwnerName ¶
func (inst *Markdown) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*Markdown) GongGetReverseFields ¶
func (*Markdown) GongGetReverseFields() []GongReverseField
func (*Markdown) GongGetUUID ¶
func (*Markdown) GongIsStaged ¶
func (*Markdown) GongMarshallAllFields ¶
func (*Markdown) GongMarshallField ¶
func (*Markdown) GongMarshallIdentifier ¶
func (*Markdown) GongMarshallUnstaging ¶
func (*Markdown) GongNewInstance ¶
func (*Markdown) GongOnAfterUpdateFromFront ¶
func (markdown *Markdown) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*Markdown) GongReconstructPointersFromInstances ¶
func (*Markdown) GongReconstructPointersFromReferences ¶
func (*Markdown) GongStageBranch ¶
func (*Markdown) GongUnstageBranch ¶
func (*Markdown) StagePreserveOrder ¶
StagePreserveOrder puts markdown to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.MarkdownOrder - update stage.MarkdownOrder accordingly
func (*Markdown) UnstageVoid ¶
UnstageVoid removes markdown off the model stage
type MarkdownUnmarshaller ¶
type MarkdownUnmarshaller struct{}
func (*MarkdownUnmarshaller) Initialize ¶
func (u *MarkdownUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*MarkdownUnmarshaller) UnmarshallField ¶
func (u *MarkdownUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type Markdown_WOP ¶
type MetaPackageImport ¶
MetaPackageImport represents a package import needed by a meta/diagram file
type ModelUnmarshaller ¶
type ModelUnmarshaller = GongModelUnmarshaller
type OnAfterCreateInterface ¶
type OnAfterCreateInterface[Type Gongstruct] = GongOnAfterCreateInterface[Type]
type OnAfterDeleteInterface ¶
type OnAfterDeleteInterface[Type Gongstruct] = GongOnAfterDeleteInterface[Type]
type OnAfterUpdateInterface ¶
type OnAfterUpdateInterface[Type Gongstruct] = GongOnAfterUpdateInterface[Type]
type OnInitCommitInterface ¶
type OnInitCommitInterface = GongOnInitCommitInterface
type PointerToGongstruct ¶
type PointerToGongstruct = GongstructPtr
type PointerToGongstructEnumIntField ¶
type PointerToGongstructEnumIntField = GongEnumIntPointer
type PointerToGongstructEnumStringField ¶
type PointerToGongstructEnumStringField = GongEnumStringPointer
type ReverseField ¶
type ReverseField = GongReverseField
type Slider ¶
func GongCopyBranchSlider ¶
func (*Slider) GongAfterCreateFromFront ¶
func (*Slider) GongAfterDeleteFromFront ¶
func (slider *Slider) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*Slider) GongCopy ¶
func (slider *Slider) GongCopy() GongstructIF
func (*Slider) GongCopyBasicFields ¶
func (*Slider) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (Slider) GongGetAssociationName ¶
func (*Slider) GongGetFieldHeaders ¶
func (slider *Slider) GongGetFieldHeaders() (res []GongFieldHeader)
func (*Slider) GongGetFieldValue ¶
func (slider *Slider) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*Slider) GongGetGongstructName ¶
func (*Slider) GongGetIdentifier ¶
func (*Slider) GongGetInstanceFromOrder ¶
func (*Slider) GongGetInstancesByOrder ¶
func (*Slider) GongGetInstancesMapByName ¶
func (*Slider) GongGetInstancesSet ¶
func (*Slider) GongGetOrder ¶
func (*Slider) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Slider) GongGetReverseFieldOwnerName ¶
func (inst *Slider) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*Slider) GongGetReverseFields ¶
func (*Slider) GongGetReverseFields() []GongReverseField
func (*Slider) GongGetUUID ¶
func (*Slider) GongIsStaged ¶
func (*Slider) GongMarshallAllFields ¶
func (*Slider) GongMarshallField ¶
func (*Slider) GongMarshallIdentifier ¶
func (*Slider) GongMarshallUnstaging ¶
func (*Slider) GongNewInstance ¶
func (*Slider) GongOnAfterUpdateFromFront ¶
func (slider *Slider) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*Slider) GongReconstructPointersFromInstances ¶
func (*Slider) GongReconstructPointersFromReferences ¶
func (*Slider) GongStageBranch ¶
func (*Slider) GongUnstageBranch ¶
func (*Slider) StagePreserveOrder ¶
StagePreserveOrder puts slider to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.SliderOrder - update stage.SliderOrder accordingly
func (*Slider) UnstageVoid ¶
UnstageVoid removes slider off the model stage
type SliderUnmarshaller ¶
type SliderUnmarshaller struct{}
func (*SliderUnmarshaller) Initialize ¶
func (u *SliderUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*SliderUnmarshaller) UnmarshallField ¶
func (u *SliderUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type Slider_WOP ¶
type Split ¶
func GongCopyBranchSplit ¶
func (*Split) GongAfterCreateFromFront ¶
func (*Split) GongAfterDeleteFromFront ¶
func (split *Split) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*Split) GongCopy ¶
func (split *Split) GongCopy() GongstructIF
func (*Split) GongCopyBasicFields ¶
func (*Split) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (Split) GongGetAssociationName ¶
func (*Split) GongGetFieldHeaders ¶
func (split *Split) GongGetFieldHeaders() (res []GongFieldHeader)
func (*Split) GongGetFieldValue ¶
func (split *Split) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*Split) GongGetGongstructName ¶
func (*Split) GongGetIdentifier ¶
func (*Split) GongGetInstanceFromOrder ¶
func (*Split) GongGetInstancesByOrder ¶
func (*Split) GongGetInstancesMapByName ¶
func (*Split) GongGetInstancesSet ¶
func (*Split) GongGetOrder ¶
func (*Split) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Split) GongGetReverseFieldOwnerName ¶
func (inst *Split) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*Split) GongGetReverseFields ¶
func (*Split) GongGetReverseFields() []GongReverseField
func (*Split) GongGetUUID ¶
func (*Split) GongIsStaged ¶
func (*Split) GongMarshallAllFields ¶
func (*Split) GongMarshallField ¶
func (*Split) GongMarshallIdentifier ¶
func (*Split) GongMarshallUnstaging ¶
func (*Split) GongNewInstance ¶
func (*Split) GongOnAfterUpdateFromFront ¶
func (split *Split) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*Split) GongReconstructPointersFromInstances ¶
func (*Split) GongReconstructPointersFromReferences ¶
func (*Split) GongStageBranch ¶
func (*Split) GongUnstageBranch ¶
func (*Split) StagePreserveOrder ¶
StagePreserveOrder puts split to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.SplitOrder - update stage.SplitOrder accordingly
func (*Split) UnstageVoid ¶
UnstageVoid removes split off the model stage
type SplitUnmarshaller ¶
type SplitUnmarshaller struct{}
func (*SplitUnmarshaller) Initialize ¶
func (u *SplitUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*SplitUnmarshaller) UnmarshallField ¶
func (u *SplitUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type Stage ¶
type Stage struct {
gong_runtime.StageCore
// insertion point for definition of arrays registering instances
AsSplits map[*AsSplit]struct{}
AsSplits_instance map[*AsSplit]*AsSplit
AsSplits_mapString map[string]*AsSplit
AsSplitOrder uint
AsSplit_stagedOrder map[*AsSplit]uint
AsSplit_orderStaged map[uint]*AsSplit
AsSplits_reference map[*AsSplit]*AsSplit
AsSplits_referenceOrder map[*AsSplit]uint
// insertion point for slice of pointers maps
AsSplit_AsSplitAreas_reverseMap map[*AsSplitArea]*AsSplit
OnAfterAsSplitCreateCallback GongOnAfterCreateInterface[AsSplit]
OnAfterAsSplitUpdateCallback GongOnAfterUpdateInterface[AsSplit]
OnAfterAsSplitDeleteCallback GongOnAfterDeleteInterface[AsSplit]
AsSplitAreas map[*AsSplitArea]struct{}
AsSplitAreas_instance map[*AsSplitArea]*AsSplitArea
AsSplitAreas_mapString map[string]*AsSplitArea
AsSplitAreaOrder uint
AsSplitArea_stagedOrder map[*AsSplitArea]uint
AsSplitArea_orderStaged map[uint]*AsSplitArea
AsSplitAreas_reference map[*AsSplitArea]*AsSplitArea
AsSplitAreas_referenceOrder map[*AsSplitArea]uint
// insertion point for slice of pointers maps
OnAfterAsSplitAreaCreateCallback GongOnAfterCreateInterface[AsSplitArea]
OnAfterAsSplitAreaUpdateCallback GongOnAfterUpdateInterface[AsSplitArea]
OnAfterAsSplitAreaDeleteCallback GongOnAfterDeleteInterface[AsSplitArea]
Buttons map[*Button]struct{}
Buttons_instance map[*Button]*Button
Buttons_mapString map[string]*Button
ButtonOrder uint
Button_stagedOrder map[*Button]uint
Button_orderStaged map[uint]*Button
Buttons_reference map[*Button]*Button
Buttons_referenceOrder map[*Button]uint
// insertion point for slice of pointers maps
OnAfterButtonCreateCallback GongOnAfterCreateInterface[Button]
OnAfterButtonUpdateCallback GongOnAfterUpdateInterface[Button]
OnAfterButtonDeleteCallback GongOnAfterDeleteInterface[Button]
Cursors map[*Cursor]struct{}
Cursors_instance map[*Cursor]*Cursor
Cursors_mapString map[string]*Cursor
CursorOrder uint
Cursor_stagedOrder map[*Cursor]uint
Cursor_orderStaged map[uint]*Cursor
Cursors_reference map[*Cursor]*Cursor
Cursors_referenceOrder map[*Cursor]uint
// insertion point for slice of pointers maps
OnAfterCursorCreateCallback GongOnAfterCreateInterface[Cursor]
OnAfterCursorUpdateCallback GongOnAfterUpdateInterface[Cursor]
OnAfterCursorDeleteCallback GongOnAfterDeleteInterface[Cursor]
FavIcons map[*FavIcon]struct{}
FavIcons_instance map[*FavIcon]*FavIcon
FavIcons_mapString map[string]*FavIcon
FavIconOrder uint
FavIcon_stagedOrder map[*FavIcon]uint
FavIcon_orderStaged map[uint]*FavIcon
FavIcons_reference map[*FavIcon]*FavIcon
FavIcons_referenceOrder map[*FavIcon]uint
// insertion point for slice of pointers maps
OnAfterFavIconCreateCallback GongOnAfterCreateInterface[FavIcon]
OnAfterFavIconUpdateCallback GongOnAfterUpdateInterface[FavIcon]
OnAfterFavIconDeleteCallback GongOnAfterDeleteInterface[FavIcon]
Forms map[*Form]struct{}
Forms_instance map[*Form]*Form
Forms_mapString map[string]*Form
FormOrder uint
Form_stagedOrder map[*Form]uint
Form_orderStaged map[uint]*Form
Forms_reference map[*Form]*Form
Forms_referenceOrder map[*Form]uint
// insertion point for slice of pointers maps
OnAfterFormCreateCallback GongOnAfterCreateInterface[Form]
OnAfterFormUpdateCallback GongOnAfterUpdateInterface[Form]
OnAfterFormDeleteCallback GongOnAfterDeleteInterface[Form]
Loads map[*Load]struct{}
Loads_instance map[*Load]*Load
Loads_mapString map[string]*Load
LoadOrder uint
Load_stagedOrder map[*Load]uint
Load_orderStaged map[uint]*Load
Loads_reference map[*Load]*Load
Loads_referenceOrder map[*Load]uint
// insertion point for slice of pointers maps
OnAfterLoadCreateCallback GongOnAfterCreateInterface[Load]
OnAfterLoadUpdateCallback GongOnAfterUpdateInterface[Load]
OnAfterLoadDeleteCallback GongOnAfterDeleteInterface[Load]
LogoOnTheLefts map[*LogoOnTheLeft]struct{}
LogoOnTheLefts_instance map[*LogoOnTheLeft]*LogoOnTheLeft
LogoOnTheLefts_mapString map[string]*LogoOnTheLeft
LogoOnTheLeftOrder uint
LogoOnTheLeft_stagedOrder map[*LogoOnTheLeft]uint
LogoOnTheLeft_orderStaged map[uint]*LogoOnTheLeft
LogoOnTheLefts_reference map[*LogoOnTheLeft]*LogoOnTheLeft
LogoOnTheLefts_referenceOrder map[*LogoOnTheLeft]uint
// insertion point for slice of pointers maps
OnAfterLogoOnTheLeftCreateCallback GongOnAfterCreateInterface[LogoOnTheLeft]
OnAfterLogoOnTheLeftUpdateCallback GongOnAfterUpdateInterface[LogoOnTheLeft]
OnAfterLogoOnTheLeftDeleteCallback GongOnAfterDeleteInterface[LogoOnTheLeft]
LogoOnTheRights map[*LogoOnTheRight]struct{}
LogoOnTheRights_instance map[*LogoOnTheRight]*LogoOnTheRight
LogoOnTheRights_mapString map[string]*LogoOnTheRight
LogoOnTheRightOrder uint
LogoOnTheRight_stagedOrder map[*LogoOnTheRight]uint
LogoOnTheRight_orderStaged map[uint]*LogoOnTheRight
LogoOnTheRights_reference map[*LogoOnTheRight]*LogoOnTheRight
LogoOnTheRights_referenceOrder map[*LogoOnTheRight]uint
// insertion point for slice of pointers maps
OnAfterLogoOnTheRightCreateCallback GongOnAfterCreateInterface[LogoOnTheRight]
OnAfterLogoOnTheRightUpdateCallback GongOnAfterUpdateInterface[LogoOnTheRight]
OnAfterLogoOnTheRightDeleteCallback GongOnAfterDeleteInterface[LogoOnTheRight]
Markdowns map[*Markdown]struct{}
Markdowns_instance map[*Markdown]*Markdown
Markdowns_mapString map[string]*Markdown
MarkdownOrder uint
Markdown_stagedOrder map[*Markdown]uint
Markdown_orderStaged map[uint]*Markdown
Markdowns_reference map[*Markdown]*Markdown
Markdowns_referenceOrder map[*Markdown]uint
// insertion point for slice of pointers maps
OnAfterMarkdownCreateCallback GongOnAfterCreateInterface[Markdown]
OnAfterMarkdownUpdateCallback GongOnAfterUpdateInterface[Markdown]
OnAfterMarkdownDeleteCallback GongOnAfterDeleteInterface[Markdown]
Sliders map[*Slider]struct{}
Sliders_instance map[*Slider]*Slider
Sliders_mapString map[string]*Slider
SliderOrder uint
Slider_stagedOrder map[*Slider]uint
Slider_orderStaged map[uint]*Slider
Sliders_reference map[*Slider]*Slider
Sliders_referenceOrder map[*Slider]uint
// insertion point for slice of pointers maps
OnAfterSliderCreateCallback GongOnAfterCreateInterface[Slider]
OnAfterSliderUpdateCallback GongOnAfterUpdateInterface[Slider]
OnAfterSliderDeleteCallback GongOnAfterDeleteInterface[Slider]
Splits map[*Split]struct{}
Splits_instance map[*Split]*Split
Splits_mapString map[string]*Split
SplitOrder uint
Split_stagedOrder map[*Split]uint
Split_orderStaged map[uint]*Split
Splits_reference map[*Split]*Split
Splits_referenceOrder map[*Split]uint
// insertion point for slice of pointers maps
OnAfterSplitCreateCallback GongOnAfterCreateInterface[Split]
OnAfterSplitUpdateCallback GongOnAfterUpdateInterface[Split]
OnAfterSplitDeleteCallback GongOnAfterDeleteInterface[Split]
Svgs map[*Svg]struct{}
Svgs_instance map[*Svg]*Svg
Svgs_mapString map[string]*Svg
SvgOrder uint
Svg_stagedOrder map[*Svg]uint
Svg_orderStaged map[uint]*Svg
Svgs_reference map[*Svg]*Svg
Svgs_referenceOrder map[*Svg]uint
// insertion point for slice of pointers maps
OnAfterSvgCreateCallback GongOnAfterCreateInterface[Svg]
OnAfterSvgUpdateCallback GongOnAfterUpdateInterface[Svg]
OnAfterSvgDeleteCallback GongOnAfterDeleteInterface[Svg]
Tables map[*Table]struct{}
Tables_instance map[*Table]*Table
Tables_mapString map[string]*Table
TableOrder uint
Table_stagedOrder map[*Table]uint
Table_orderStaged map[uint]*Table
Tables_reference map[*Table]*Table
Tables_referenceOrder map[*Table]uint
// insertion point for slice of pointers maps
OnAfterTableCreateCallback GongOnAfterCreateInterface[Table]
OnAfterTableUpdateCallback GongOnAfterUpdateInterface[Table]
OnAfterTableDeleteCallback GongOnAfterDeleteInterface[Table]
Threejss map[*Threejs]struct{}
Threejss_instance map[*Threejs]*Threejs
Threejss_mapString map[string]*Threejs
ThreejsOrder uint
Threejs_stagedOrder map[*Threejs]uint
Threejs_orderStaged map[uint]*Threejs
Threejss_reference map[*Threejs]*Threejs
Threejss_referenceOrder map[*Threejs]uint
// insertion point for slice of pointers maps
OnAfterThreejsCreateCallback GongOnAfterCreateInterface[Threejs]
OnAfterThreejsUpdateCallback GongOnAfterUpdateInterface[Threejs]
OnAfterThreejsDeleteCallback GongOnAfterDeleteInterface[Threejs]
Titles map[*Title]struct{}
Titles_instance map[*Title]*Title
Titles_mapString map[string]*Title
TitleOrder uint
Title_stagedOrder map[*Title]uint
Title_orderStaged map[uint]*Title
Titles_reference map[*Title]*Title
Titles_referenceOrder map[*Title]uint
// insertion point for slice of pointers maps
OnAfterTitleCreateCallback GongOnAfterCreateInterface[Title]
OnAfterTitleUpdateCallback GongOnAfterUpdateInterface[Title]
OnAfterTitleDeleteCallback GongOnAfterDeleteInterface[Title]
Tones map[*Tone]struct{}
Tones_instance map[*Tone]*Tone
Tones_mapString map[string]*Tone
ToneOrder uint
Tone_stagedOrder map[*Tone]uint
Tone_orderStaged map[uint]*Tone
Tones_reference map[*Tone]*Tone
Tones_referenceOrder map[*Tone]uint
// insertion point for slice of pointers maps
OnAfterToneCreateCallback GongOnAfterCreateInterface[Tone]
OnAfterToneUpdateCallback GongOnAfterUpdateInterface[Tone]
OnAfterToneDeleteCallback GongOnAfterDeleteInterface[Tone]
Trees map[*Tree]struct{}
Trees_instance map[*Tree]*Tree
Trees_mapString map[string]*Tree
TreeOrder uint
Tree_stagedOrder map[*Tree]uint
Tree_orderStaged map[uint]*Tree
Trees_reference map[*Tree]*Tree
Trees_referenceOrder map[*Tree]uint
// insertion point for slice of pointers maps
OnAfterTreeCreateCallback GongOnAfterCreateInterface[Tree]
OnAfterTreeUpdateCallback GongOnAfterUpdateInterface[Tree]
OnAfterTreeDeleteCallback GongOnAfterDeleteInterface[Tree]
Views map[*View]struct{}
Views_instance map[*View]*View
Views_mapString map[string]*View
ViewOrder uint
View_stagedOrder map[*View]uint
View_orderStaged map[uint]*View
Views_reference map[*View]*View
Views_referenceOrder map[*View]uint
// insertion point for slice of pointers maps
View_RootAsSplitAreas_reverseMap map[*AsSplitArea]*View
OnAfterViewCreateCallback GongOnAfterCreateInterface[View]
OnAfterViewUpdateCallback GongOnAfterUpdateInterface[View]
OnAfterViewDeleteCallback GongOnAfterDeleteInterface[View]
Xlsxs map[*Xlsx]struct{}
Xlsxs_instance map[*Xlsx]*Xlsx
Xlsxs_mapString map[string]*Xlsx
XlsxOrder uint
Xlsx_stagedOrder map[*Xlsx]uint
Xlsx_orderStaged map[uint]*Xlsx
Xlsxs_reference map[*Xlsx]*Xlsx
Xlsxs_referenceOrder map[*Xlsx]uint
// insertion point for slice of pointers maps
OnAfterXlsxCreateCallback GongOnAfterCreateInterface[Xlsx]
OnAfterXlsxUpdateCallback GongOnAfterUpdateInterface[Xlsx]
OnAfterXlsxDeleteCallback GongOnAfterDeleteInterface[Xlsx]
BackRepo GongBackRepoInterface
// if set will be called before each commit to the back repo
OnInitCommitCallback GongOnInitCommitInterface
OnInitCommitFromFrontCallback GongOnInitCommitInterface
OnInitCommitFromBackCallback GongOnInitCommitInterface
// store the number of instance per gongstruct
Map_GongStructName_InstancesNb map[string]int
// store meta package import
MetaPackageImportPath string
MetaPackageImportAlias string
MetaPackageImports []*MetaPackageImport
// to be removed after fix of [issue](https://github.com/golang/go/issues/57559)
// map to enable docLink renaming when an identifier is renamed
Map_DocLink_Renaming map[string]GONG__Identifier
// GongUnmarshallers is the registry of all model unmarshallers
GongUnmarshallers map[string]GongModelUnmarshaller
// contains filtered or unexported fields
}
Stage enables storage of staged instances
func (*Stage) AfterCreateFromFront ¶
func (stage *Stage) AfterCreateFromFront(instance GongstructIF)
AfterCreateFromFront is the Stage method called after a create from front.
func (*Stage) AfterDeleteFromFront ¶
func (stage *Stage) AfterDeleteFromFront(staged, front GongstructIF)
AfterDeleteFromFront is the Stage method called after a delete from front.
func (*Stage) ApplyBackwardCommit ¶
ApplyBackwardCommit applies the commit before the current one
func (*Stage) ApplyForwardCommit ¶
ApplyForwardCommit applies the commit after the current one
func (*Stage) Clean ¶
Clean garbage collect unstaged instances that are referenced by staged elements
func (*Stage) CleanPointer ¶
func (stage *Stage) CleanPointer[T GongstructPtr](element *T) (modified bool)
CleanPointer is the Stage method that sets the pointer to nil if the referenced element is not staged.
func (*Stage) CleanSlice ¶
func (stage *Stage) CleanSlice[T GongstructPtr](slice *[]T) (modified bool)
CleanSlice is the Stage method that removes unstaged elements from a slice of pointers.
func (*Stage) CommitWithSuspendedCallbacks ¶
func (stage *Stage) CommitWithSuspendedCallbacks()
func (*Stage) ComputeForwardAndBackwardCommits ¶
func (stage *Stage) ComputeForwardAndBackwardCommits()
func (*Stage) ComputeInstancesNb ¶
func (stage *Stage) ComputeInstancesNb()
func (*Stage) ComputeReferenceAndOrders ¶
func (stage *Stage) ComputeReferenceAndOrders()
ComputeReferenceAndOrders will creates a deep copy of each of the staged elements
func (*Stage) ComputeReverseMaps ¶
func (stage *Stage) ComputeReverseMaps()
ComputeReverseMaps computes the reverse map, for all intances, for all slice to pointers field Its complexity is in O(n)O(p) where p is the number of pointers
func (*Stage) Diff ¶
func (stage *Stage) Diff( a GongstructIF, fieldName string, lenOld, lenNew int, equal func(i, j int) bool, getNewIdentifier func(j int) string, ) (ops string)
Diff is the Stage method that returns the sequence of operations to transform oldSlice into newSlice.
func (*Stage) GetFieldStringValueFromPointer ¶
func (stage *Stage) GetFieldStringValueFromPointer(instance GongstructIF, fieldName string) (res GongFieldValue)
func (*Stage) GetInstanceFromOrder ¶
func (stage *Stage) GetInstanceFromOrder[Type GongstructPtr](order uint) (res Type)
GetInstanceFromOrder is the Stage method returning a gongstruct instance from its order.
func (*Stage) GetInstances ¶
func (stage *Stage) GetInstances() (res []GongstructIF)
func (*Stage) GetInstancesByOrder ¶
func (stage *Stage) GetInstancesByOrder[T GongstructPtr]() (res []T)
GetInstancesByOrder is the Stage method returning a slice of generic pointers to gongstructs ordered by their order in the stage.
func (*Stage) GetInstancesMapByName ¶
func (stage *Stage) GetInstancesMapByName[Type GongstructIF]() map[string]Type
GetInstancesMapByName is the Stage method returning a map of staged instances by their name.
func (*Stage) GetInstancesSet ¶
func (stage *Stage) GetInstancesSet[Type GongstructPtr]() *map[Type]struct{}
GetInstancesSet is the Stage method returning the set of staged instances (pointer-type constraint).
func (*Stage) GetInstancesSorted ¶
func (stage *Stage) GetInstancesSorted[T GongstructPtr]() (sortedSlice []T)
GetInstancesSorted is the Stage method returning sorted instances of a gongstruct.
func (*Stage) GetOrder ¶
func (stage *Stage) GetOrder(instance GongstructIF) uint
GetOrder is the Stage method returning the order of a gongstruct instance.
func (*Stage) GetPointerReverseMap ¶
func (stage *Stage) GetPointerReverseMap[Start, End Gongstruct](fieldname string) map[*End][]*Start
GetPointerReverseMap allows backtrack navigation of any Start.Fieldname associations (0..1) that is a pointer from one staged Gongstruct (type Start) instances to another (type End)
The function provides a map with keys as instances of End and values to arrays of *Start the map is construed by iterating over all Start instances and populationg keys with End instances and values with slice of Start instances GetPointerReverseMap is the Stage method for backtrack navigation of pointer associations.
func (*Stage) GetProbeFormStageName ¶
func (*Stage) GetProbeIF ¶
func (stage *Stage) GetProbeIF() GongProbeIF
func (*Stage) GetProbeLoadStageName ¶
func (*Stage) GetProbeNavigationTreeSidebarStageName ¶
func (*Stage) GetProbeNotificationTableStageName ¶
func (*Stage) GetProbeSplitStageName ¶
func (*Stage) GetProbeTableStageName ¶
func (*Stage) GetProbeTreeSidebarStageName ¶
func (*Stage) GetSliceOfPointersReverseMap ¶
func (stage *Stage) GetSliceOfPointersReverseMap[Start, End Gongstruct](fieldname string) map[*End][]*Start
GetSliceOfPointersReverseMap is the Stage method for backtrack navigation of slice-of-pointers associations.
func (*Stage) GongNewInstance ¶
func (stage *Stage) GongNewInstance[Type GongstructPtr]() (res Type)
func (*Stage) IsStaged ¶
func (stage *Stage) IsStaged(instance GongstructIF) (ok bool)
IsStaged is the Stage method checking if a gongstruct instance is staged.
func (*Stage) Marshall ¶
Marshall marshall the stage content into the file as an instanciation into a stage
func (*Stage) MarshallFile ¶
MarshallFile marshall the stage content into a file as an instanciation into a stage according to the marshalling policy of the stage.
In GongMarshallingAppendCommit mode, it will append the last commit to the file. In other modes, it will rewrite the entire file.
func (*Stage) MarshallToString ¶
MarshallToString marshall the stage content into a string
func (*Stage) NewInstance ¶
func (stage *Stage) NewInstance[Type GongstructPtr]() (res Type)
func (*Stage) OnAfterUpdateFromFront ¶
func (stage *Stage) OnAfterUpdateFromFront(old, new GongstructIF)
OnAfterUpdateFromFront is the Stage method called after an update from front.
func (*Stage) ParseAstEmbeddedFile ¶
ParseAstEmbeddedFile parses the Go source code from an embedded file
func (*Stage) ParseAstFile ¶
ParseAstFile Parse pathToFile and stages all instances declared in the file
func (*Stage) ParseAstFileFromAst ¶
func (stage *Stage) ParseAstFileFromAst(inFile *ast.File, fset *token.FileSet, preserveOrder bool) error
ParseAstFileFromAst traverses the AST and stages instances across stage and its sub-stages
func (*Stage) ParseAstString ¶
ParseAstString parses the Go source code from a string
func (*Stage) RegisterAfterCommit ¶
RegisterAfterCommit adds a hook that runs after the commit succeeds
func (*Stage) RegisterBeforeCommit ¶
RegisterBeforeCommit adds a hook that runs before the commit happens
func (*Stage) ResetHard ¶
func (stage *Stage) ResetHard()
ResetHard removes the more recent commitsBehind forward/backward Commits from the stage
func (*Stage) ResetMapStrings ¶
func (stage *Stage) ResetMapStrings()
func (*Stage) Restore ¶
Restore resets Stage & BackRepo and restores their content from the restore files in dirPath
func (*Stage) RestoreXL ¶
Restore resets Stage & BackRepo and restores their content from the restore files in dirPath
func (*Stage) SerializeExcelize ¶
func (stage *Stage) SerializeExcelize(f *excelize.File, name string, instances []GongstructIF, fields []GongFieldHeader, addIDs bool)
SerializeExcelize is the Stage method for Excel serialization with optional IDs.
func (*Stage) SerializeExcelizePointer ¶
func (stage *Stage) SerializeExcelizePointer[Type GongstructPtr](f *excelize.File)
SerializeExcelizePointer is the Stage method for Excel serialization.
func (*Stage) SerializeExcelizePointer2 ¶
func (stage *Stage) SerializeExcelizePointer2[Type GongstructPtr](f *excelize.File, addIDs bool)
SerializeExcelizePointer2 is the Stage method for Excel serialization with optional IDs.
func (*Stage) SerializeStage ¶
func (*Stage) SerializeStage2 ¶
func (*Stage) SerializeStageAsBytes ¶
SerializeStageAsBytes serializes the stage to a pure in-memory Excel file and returns the bytes.
func (*Stage) SetOrchestratorOnAfterUpdate ¶
func (stage *Stage) SetOrchestratorOnAfterUpdate[Type Gongstruct]()
SetOrchestratorOnAfterUpdate is the Stage method for setting orchestrators.
func (*Stage) SetProbeIF ¶
func (stage *Stage) SetProbeIF(probeIF GongProbeIF)
func (*Stage) Squash ¶
func (stage *Stage) Squash()
Squash removes all commits and marshals the stage as a single commit
func (*Stage) StageBranch ¶
func (stage *Stage) StageBranch(instance GongstructIF)
StageBranch is the Stage method that stages instance and applies StageBranch recursively.
func (*Stage) UnstageBranch ¶
func (stage *Stage) UnstageBranch(instance GongstructIF)
UnstageBranch stages instance and apply UnstageBranch on all gongstruct instances that are referenced by pointers or slices of pointers of the insance
the algorithm stops along the course of graph if a vertex is already staged UnstageBranch is the Stage method that unstages instance and applies UnstageBranch recursively.
type Svg ¶
func (*Svg) GongAfterCreateFromFront ¶
func (*Svg) GongAfterDeleteFromFront ¶
func (svg *Svg) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*Svg) GongCopy ¶
func (svg *Svg) GongCopy() GongstructIF
func (*Svg) GongCopyBasicFields ¶
func (*Svg) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (Svg) GongGetAssociationName ¶
func (*Svg) GongGetFieldHeaders ¶
func (svg *Svg) GongGetFieldHeaders() (res []GongFieldHeader)
func (*Svg) GongGetFieldValue ¶
func (svg *Svg) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*Svg) GongGetGongstructName ¶
func (*Svg) GongGetIdentifier ¶
func (*Svg) GongGetInstanceFromOrder ¶
func (*Svg) GongGetInstancesByOrder ¶
func (*Svg) GongGetInstancesMapByName ¶
func (*Svg) GongGetInstancesSet ¶
func (*Svg) GongGetOrder ¶
func (*Svg) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Svg) GongGetReverseFieldOwnerName ¶
func (inst *Svg) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*Svg) GongGetReverseFields ¶
func (*Svg) GongGetReverseFields() []GongReverseField
func (*Svg) GongGetUUID ¶
func (*Svg) GongIsStaged ¶
func (*Svg) GongMarshallAllFields ¶
func (*Svg) GongMarshallField ¶
func (*Svg) GongMarshallIdentifier ¶
func (*Svg) GongMarshallUnstaging ¶
func (*Svg) GongNewInstance ¶
func (*Svg) GongOnAfterUpdateFromFront ¶
func (svg *Svg) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*Svg) GongReconstructPointersFromInstances ¶
func (*Svg) GongReconstructPointersFromReferences ¶
func (*Svg) GongStageBranch ¶
func (*Svg) GongUnstageBranch ¶
func (*Svg) StagePreserveOrder ¶
StagePreserveOrder puts svg to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.SvgOrder - update stage.SvgOrder accordingly
func (*Svg) UnstageVoid ¶
UnstageVoid removes svg off the model stage
type SvgUnmarshaller ¶
type SvgUnmarshaller struct{}
func (*SvgUnmarshaller) Initialize ¶
func (u *SvgUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*SvgUnmarshaller) UnmarshallField ¶
func (u *SvgUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type Table ¶
func GongCopyBranchTable ¶
func (*Table) GongAfterCreateFromFront ¶
func (*Table) GongAfterDeleteFromFront ¶
func (table *Table) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*Table) GongCopy ¶
func (table *Table) GongCopy() GongstructIF
func (*Table) GongCopyBasicFields ¶
func (*Table) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (Table) GongGetAssociationName ¶
func (*Table) GongGetFieldHeaders ¶
func (table *Table) GongGetFieldHeaders() (res []GongFieldHeader)
func (*Table) GongGetFieldValue ¶
func (table *Table) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*Table) GongGetGongstructName ¶
func (*Table) GongGetIdentifier ¶
func (*Table) GongGetInstanceFromOrder ¶
func (*Table) GongGetInstancesByOrder ¶
func (*Table) GongGetInstancesMapByName ¶
func (*Table) GongGetInstancesSet ¶
func (*Table) GongGetOrder ¶
func (*Table) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Table) GongGetReverseFieldOwnerName ¶
func (inst *Table) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*Table) GongGetReverseFields ¶
func (*Table) GongGetReverseFields() []GongReverseField
func (*Table) GongGetUUID ¶
func (*Table) GongIsStaged ¶
func (*Table) GongMarshallAllFields ¶
func (*Table) GongMarshallField ¶
func (*Table) GongMarshallIdentifier ¶
func (*Table) GongMarshallUnstaging ¶
func (*Table) GongNewInstance ¶
func (*Table) GongOnAfterUpdateFromFront ¶
func (table *Table) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*Table) GongReconstructPointersFromInstances ¶
func (*Table) GongReconstructPointersFromReferences ¶
func (*Table) GongStageBranch ¶
func (*Table) GongUnstageBranch ¶
func (*Table) StagePreserveOrder ¶
StagePreserveOrder puts table to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.TableOrder - update stage.TableOrder accordingly
func (*Table) UnstageVoid ¶
UnstageVoid removes table off the model stage
type TableUnmarshaller ¶
type TableUnmarshaller struct{}
func (*TableUnmarshaller) Initialize ¶
func (u *TableUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*TableUnmarshaller) UnmarshallField ¶
func (u *TableUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type Tabulator ¶
type Tabulator = GongTabulator
type Threejs ¶
func GongCopyBranchThreejs ¶
func (*Threejs) GongAfterCreateFromFront ¶
func (*Threejs) GongAfterDeleteFromFront ¶
func (threejs *Threejs) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*Threejs) GongCopy ¶
func (threejs *Threejs) GongCopy() GongstructIF
func (*Threejs) GongCopyBasicFields ¶
func (*Threejs) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (Threejs) GongGetAssociationName ¶
func (*Threejs) GongGetFieldHeaders ¶
func (threejs *Threejs) GongGetFieldHeaders() (res []GongFieldHeader)
func (*Threejs) GongGetFieldValue ¶
func (threejs *Threejs) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*Threejs) GongGetGongstructName ¶
func (*Threejs) GongGetIdentifier ¶
func (*Threejs) GongGetInstanceFromOrder ¶
func (*Threejs) GongGetInstancesByOrder ¶
func (*Threejs) GongGetInstancesMapByName ¶
func (*Threejs) GongGetInstancesSet ¶
func (*Threejs) GongGetOrder ¶
func (*Threejs) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Threejs) GongGetReverseFieldOwnerName ¶
func (inst *Threejs) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*Threejs) GongGetReverseFields ¶
func (*Threejs) GongGetReverseFields() []GongReverseField
func (*Threejs) GongGetUUID ¶
func (*Threejs) GongIsStaged ¶
func (*Threejs) GongMarshallAllFields ¶
func (*Threejs) GongMarshallField ¶
func (*Threejs) GongMarshallIdentifier ¶
func (*Threejs) GongMarshallUnstaging ¶
func (*Threejs) GongNewInstance ¶
func (*Threejs) GongOnAfterUpdateFromFront ¶
func (threejs *Threejs) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*Threejs) GongReconstructPointersFromInstances ¶
func (*Threejs) GongReconstructPointersFromReferences ¶
func (*Threejs) GongStageBranch ¶
func (*Threejs) GongUnstageBranch ¶
func (*Threejs) StagePreserveOrder ¶
StagePreserveOrder puts threejs to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.ThreejsOrder - update stage.ThreejsOrder accordingly
func (*Threejs) UnstageVoid ¶
UnstageVoid removes threejs off the model stage
type ThreejsUnmarshaller ¶
type ThreejsUnmarshaller struct{}
func (*ThreejsUnmarshaller) Initialize ¶
func (u *ThreejsUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*ThreejsUnmarshaller) UnmarshallField ¶
func (u *ThreejsUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type Threejs_WOP ¶
type Title ¶
type Title struct {
Name string
}
You can configure the browser tab title and favicon dynamically in Angular
func GongCopyBranchTitle ¶
func (*Title) GongAfterCreateFromFront ¶
func (*Title) GongAfterDeleteFromFront ¶
func (title *Title) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*Title) GongCopy ¶
func (title *Title) GongCopy() GongstructIF
func (*Title) GongCopyBasicFields ¶
func (*Title) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (Title) GongGetAssociationName ¶
func (*Title) GongGetFieldHeaders ¶
func (title *Title) GongGetFieldHeaders() (res []GongFieldHeader)
func (*Title) GongGetFieldValue ¶
func (title *Title) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*Title) GongGetGongstructName ¶
func (*Title) GongGetIdentifier ¶
func (*Title) GongGetInstanceFromOrder ¶
func (*Title) GongGetInstancesByOrder ¶
func (*Title) GongGetInstancesMapByName ¶
func (*Title) GongGetInstancesSet ¶
func (*Title) GongGetOrder ¶
func (*Title) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Title) GongGetReverseFieldOwnerName ¶
func (inst *Title) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*Title) GongGetReverseFields ¶
func (*Title) GongGetReverseFields() []GongReverseField
func (*Title) GongGetUUID ¶
func (*Title) GongIsStaged ¶
func (*Title) GongMarshallAllFields ¶
func (*Title) GongMarshallField ¶
func (*Title) GongMarshallIdentifier ¶
func (*Title) GongMarshallUnstaging ¶
func (*Title) GongNewInstance ¶
func (*Title) GongOnAfterUpdateFromFront ¶
func (title *Title) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*Title) GongReconstructPointersFromInstances ¶
func (*Title) GongReconstructPointersFromReferences ¶
func (*Title) GongStageBranch ¶
func (*Title) GongUnstageBranch ¶
func (*Title) StagePreserveOrder ¶
StagePreserveOrder puts title to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.TitleOrder - update stage.TitleOrder accordingly
func (*Title) UnstageVoid ¶
UnstageVoid removes title off the model stage
type TitleUnmarshaller ¶
type TitleUnmarshaller struct{}
func (*TitleUnmarshaller) Initialize ¶
func (u *TitleUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*TitleUnmarshaller) UnmarshallField ¶
func (u *TitleUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type Tone ¶
func GongCopyBranchTone ¶
func (*Tone) GongAfterCreateFromFront ¶
func (*Tone) GongAfterDeleteFromFront ¶
func (tone *Tone) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*Tone) GongCopy ¶
func (tone *Tone) GongCopy() GongstructIF
func (*Tone) GongCopyBasicFields ¶
func (*Tone) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (Tone) GongGetAssociationName ¶
func (*Tone) GongGetFieldHeaders ¶
func (tone *Tone) GongGetFieldHeaders() (res []GongFieldHeader)
func (*Tone) GongGetFieldValue ¶
func (tone *Tone) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*Tone) GongGetGongstructName ¶
func (*Tone) GongGetIdentifier ¶
func (*Tone) GongGetInstanceFromOrder ¶
func (*Tone) GongGetInstancesByOrder ¶
func (*Tone) GongGetInstancesMapByName ¶
func (*Tone) GongGetInstancesSet ¶
func (*Tone) GongGetOrder ¶
func (*Tone) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Tone) GongGetReverseFieldOwnerName ¶
func (inst *Tone) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*Tone) GongGetReverseFields ¶
func (*Tone) GongGetReverseFields() []GongReverseField
func (*Tone) GongGetUUID ¶
func (*Tone) GongIsStaged ¶
func (*Tone) GongMarshallAllFields ¶
func (*Tone) GongMarshallField ¶
func (*Tone) GongMarshallIdentifier ¶
func (*Tone) GongMarshallUnstaging ¶
func (*Tone) GongNewInstance ¶
func (*Tone) GongOnAfterUpdateFromFront ¶
func (tone *Tone) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*Tone) GongReconstructPointersFromInstances ¶
func (*Tone) GongReconstructPointersFromReferences ¶
func (*Tone) GongStageBranch ¶
func (*Tone) GongUnstageBranch ¶
func (*Tone) StagePreserveOrder ¶
StagePreserveOrder puts tone to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.ToneOrder - update stage.ToneOrder accordingly
func (*Tone) UnstageVoid ¶
UnstageVoid removes tone off the model stage
type ToneUnmarshaller ¶
type ToneUnmarshaller struct{}
func (*ToneUnmarshaller) Initialize ¶
func (u *ToneUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*ToneUnmarshaller) UnmarshallField ¶
func (u *ToneUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type Tree ¶
func GongCopyBranchTree ¶
func (*Tree) GongAfterCreateFromFront ¶
func (*Tree) GongAfterDeleteFromFront ¶
func (tree *Tree) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*Tree) GongCopy ¶
func (tree *Tree) GongCopy() GongstructIF
func (*Tree) GongCopyBasicFields ¶
func (*Tree) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (Tree) GongGetAssociationName ¶
func (*Tree) GongGetFieldHeaders ¶
func (tree *Tree) GongGetFieldHeaders() (res []GongFieldHeader)
func (*Tree) GongGetFieldValue ¶
func (tree *Tree) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*Tree) GongGetGongstructName ¶
func (*Tree) GongGetIdentifier ¶
func (*Tree) GongGetInstanceFromOrder ¶
func (*Tree) GongGetInstancesByOrder ¶
func (*Tree) GongGetInstancesMapByName ¶
func (*Tree) GongGetInstancesSet ¶
func (*Tree) GongGetOrder ¶
func (*Tree) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Tree) GongGetReverseFieldOwnerName ¶
func (inst *Tree) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*Tree) GongGetReverseFields ¶
func (*Tree) GongGetReverseFields() []GongReverseField
func (*Tree) GongGetUUID ¶
func (*Tree) GongIsStaged ¶
func (*Tree) GongMarshallAllFields ¶
func (*Tree) GongMarshallField ¶
func (*Tree) GongMarshallIdentifier ¶
func (*Tree) GongMarshallUnstaging ¶
func (*Tree) GongNewInstance ¶
func (*Tree) GongOnAfterUpdateFromFront ¶
func (tree *Tree) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*Tree) GongReconstructPointersFromInstances ¶
func (*Tree) GongReconstructPointersFromReferences ¶
func (*Tree) GongStageBranch ¶
func (*Tree) GongUnstageBranch ¶
func (*Tree) StagePreserveOrder ¶
StagePreserveOrder puts tree to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.TreeOrder - update stage.TreeOrder accordingly
func (*Tree) UnstageVoid ¶
UnstageVoid removes tree off the model stage
type TreeUnmarshaller ¶
type TreeUnmarshaller struct{}
func (*TreeUnmarshaller) Initialize ¶
func (u *TreeUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*TreeUnmarshaller) UnmarshallField ¶
func (u *TreeUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type View ¶
type View struct {
Name string
ShowViewName bool // by default, a standalone views wont display the
RootAsSplitAreas []*AsSplitArea
IsSelectedView bool
// Direction the initial direction for the split dividing of the view. Vertical if ""
Direction Direction
// will be displayed in a vertical manner, with the first element at the top and the last element at the bottom
IsSecondaryView bool
IsSizeInPixel bool
IsWithCustomGutterSize bool
GutterSize float64
OnClick func()
}
View is the top structuring eleement of the split component
There can be many instancied views The one with models.IsSelectedView set to true will be displayed (if more than one view has this field to true, the behavior is not specified)
func GongCopyBranchView ¶
func (*View) GongAfterCreateFromFront ¶
func (*View) GongAfterDeleteFromFront ¶
func (view *View) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*View) GongCopy ¶
func (view *View) GongCopy() GongstructIF
func (*View) GongCopyBasicFields ¶
func (*View) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (View) GongGetAssociationName ¶
func (*View) GongGetFieldHeaders ¶
func (view *View) GongGetFieldHeaders() (res []GongFieldHeader)
func (*View) GongGetFieldValue ¶
func (view *View) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*View) GongGetGongstructName ¶
func (*View) GongGetIdentifier ¶
func (*View) GongGetInstanceFromOrder ¶
func (*View) GongGetInstancesByOrder ¶
func (*View) GongGetInstancesMapByName ¶
func (*View) GongGetInstancesSet ¶
func (*View) GongGetOrder ¶
func (*View) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*View) GongGetReverseFieldOwnerName ¶
func (inst *View) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*View) GongGetReverseFields ¶
func (*View) GongGetReverseFields() []GongReverseField
func (*View) GongGetUUID ¶
func (*View) GongIsStaged ¶
func (*View) GongMarshallAllFields ¶
func (*View) GongMarshallField ¶
func (*View) GongMarshallIdentifier ¶
func (*View) GongMarshallUnstaging ¶
func (*View) GongNewInstance ¶
func (*View) GongOnAfterUpdateFromFront ¶
func (view *View) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*View) GongReconstructPointersFromInstances ¶
func (*View) GongReconstructPointersFromReferences ¶
func (*View) GongStageBranch ¶
func (*View) GongUnstageBranch ¶
func (*View) OnAfterUpdate ¶
OnAfterUpdate is called when there is an update to the view
func (*View) StagePreserveOrder ¶
StagePreserveOrder puts view to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.ViewOrder - update stage.ViewOrder accordingly
func (*View) UnstageVoid ¶
UnstageVoid removes view off the model stage
type ViewOrchestrator ¶
type ViewOrchestrator struct {
}
insertion point ViewOrchestrator
func (*ViewOrchestrator) OnAfterUpdate ¶
func (orchestrator *ViewOrchestrator) OnAfterUpdate( gongsvgStage *Stage, stagedView, backRepoView *View)
type ViewUnmarshaller ¶
type ViewUnmarshaller struct{}
func (*ViewUnmarshaller) Initialize ¶
func (u *ViewUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*ViewUnmarshaller) UnmarshallField ¶
func (u *ViewUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
type Xlsx ¶
func GongCopyBranchXlsx ¶
func (*Xlsx) GongAfterCreateFromFront ¶
func (*Xlsx) GongAfterDeleteFromFront ¶
func (xlsx *Xlsx) GongAfterDeleteFromFront(stage *Stage, front GongstructIF)
func (*Xlsx) GongCopy ¶
func (xlsx *Xlsx) GongCopy() GongstructIF
func (*Xlsx) GongCopyBasicFields ¶
func (*Xlsx) GongDiff ¶
GongDiff computes the diff between the instance and another instance of same gong struct type and returns the list of differences as strings
func (Xlsx) GongGetAssociationName ¶
func (*Xlsx) GongGetFieldHeaders ¶
func (xlsx *Xlsx) GongGetFieldHeaders() (res []GongFieldHeader)
func (*Xlsx) GongGetFieldValue ¶
func (xlsx *Xlsx) GongGetFieldValue(fieldName string, stage *Stage) (res GongFieldValue)
func (*Xlsx) GongGetGongstructName ¶
func (*Xlsx) GongGetIdentifier ¶
func (*Xlsx) GongGetInstanceFromOrder ¶
func (*Xlsx) GongGetInstancesByOrder ¶
func (*Xlsx) GongGetInstancesMapByName ¶
func (*Xlsx) GongGetInstancesSet ¶
func (*Xlsx) GongGetOrder ¶
func (*Xlsx) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Xlsx) GongGetReverseFieldOwnerName ¶
func (inst *Xlsx) GongGetReverseFieldOwnerName(stage *Stage, reverseField *GongReverseField) (res string)
func (*Xlsx) GongGetReverseFields ¶
func (*Xlsx) GongGetReverseFields() []GongReverseField
func (*Xlsx) GongGetUUID ¶
func (*Xlsx) GongIsStaged ¶
func (*Xlsx) GongMarshallAllFields ¶
func (*Xlsx) GongMarshallField ¶
func (*Xlsx) GongMarshallIdentifier ¶
func (*Xlsx) GongMarshallUnstaging ¶
func (*Xlsx) GongNewInstance ¶
func (*Xlsx) GongOnAfterUpdateFromFront ¶
func (xlsx *Xlsx) GongOnAfterUpdateFromFront(stage *Stage, front GongstructIF)
func (*Xlsx) GongReconstructPointersFromInstances ¶
func (*Xlsx) GongReconstructPointersFromReferences ¶
func (*Xlsx) GongStageBranch ¶
func (*Xlsx) GongUnstageBranch ¶
func (*Xlsx) StagePreserveOrder ¶
StagePreserveOrder puts xlsx to the model stage, and if the astrtuct was not staged before:
- force the order if the order is equal or greater than the stage.XlsxOrder - update stage.XlsxOrder accordingly
func (*Xlsx) UnstageVoid ¶
UnstageVoid removes xlsx off the model stage
type XlsxUnmarshaller ¶
type XlsxUnmarshaller struct{}
func (*XlsxUnmarshaller) Initialize ¶
func (u *XlsxUnmarshaller) Initialize(stage *Stage, identifier string, instanceName string, preserveOrder bool) (GongstructIF, error)
func (*XlsxUnmarshaller) UnmarshallField ¶
func (u *XlsxUnmarshaller) UnmarshallField(stage *Stage, i GongstructIF, fieldName string, valueExpr ast.Expr, identifierMap map[string]GongstructIF) error
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
generated code - do not edit Package diagrams implements uml diagrams for documenting the split stack.
|
generated code - do not edit Package diagrams implements uml diagrams for documenting the split stack. |
|
generated code - do not edit
|
generated code - do not edit |
|
cmd/probe
command
generated code - do not edit
|
generated code - do not edit |