Documentation
¶
Overview ¶
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
generated code - do not edit
Index ¶
- Constants
- func AfterCreateFromFront[Type Gongstruct](stage *Stage, instance *Type)
- func AfterDeleteFromFront[Type Gongstruct](stage *Stage, staged, front *Type)
- func AfterReadFromFront[Type Gongstruct](stage *Stage, instance *Type)
- func CompareGongstructByName[T PointerToGongstruct](a, b T) int
- func CopyBranch[Type Gongstruct](from *Type) (to *Type)
- func Diff[T1, T2 PointerToGongstruct](stage *Stage, a, b T1, fieldName string, oldSlice, newSlice []T2) (ops string)
- func ExtractMiddleUint(input string) (uint, error)
- func GetAssociationName[Type Gongstruct]() *Type
- func GetGongstrucsSorted[T PointerToGongstruct](stage *Stage) (sortedSlice []T)
- func GetGongstructInstancesMap[Type Gongstruct](stage *Stage) *map[string]*Type
- func GetGongstructInstancesSet[Type Gongstruct](stage *Stage) *map[*Type]struct{}
- func GetGongstructInstancesSetFromPointerType[Type PointerToGongstruct](stage *Stage) *map[Type]struct{}
- func GetGongstructNameFromPointer(instance GongstructIF) (res string)
- func GetNamedStructInstances[T PointerToGongstruct](set map[T]struct{}, order map[T]uint) (res []string)
- func GetOrder[Type Gongstruct](stage *Stage, instance *Type) uint
- func GetOrderPointerGongstruct[Type PointerToGongstruct](stage *Stage, instance Type) uint
- func GetPointerReverseMap[Start, End Gongstruct](fieldname string, stage *Stage) map[*End][]*Start
- func GetPointerToGongstructName[Type GongstructIF]() (res string)
- func GetSliceOfPointersReverseMap[Start, End Gongstruct](fieldname string, stage *Stage) map[*End][]*Start
- func GetStructInstancesByOrder[T PointerToGongstruct](set map[T]struct{}, order map[T]uint) (res []T)
- func GetStructInstancesByOrderAuto[T PointerToGongstruct](stage *Stage) (res []T)
- func GongCleanPointer[T PointerToGongstruct](stage *Stage, element *T) (modified bool)
- func GongCleanSlice[T PointerToGongstruct](stage *Stage, slice *[]T) (modified bool)
- func GongExtractBool(expr ast.Expr) bool
- func GongExtractExpr(expr ast.Expr) any
- func GongExtractFloat(expr ast.Expr) float64
- func GongExtractInt(expr ast.Expr) int
- func GongExtractString(expr ast.Expr) string
- func GongGetMap[Type GongstructIF](stage *Stage) map[string]Type
- func GongGetSet[Type GongstructSet](stage *Stage) *Type
- func GongParseAstString(stage *Stage, blob string, preserveOrder bool) error
- func GongUnmarshallEnum[T interface{ ... }](ptr T, valueExpr ast.Expr)
- func GongUnmarshallPointer[T PointerToGongstruct](ptr *T, valueExpr ast.Expr, identifierMap map[string]GongstructIF)
- func GongUnmarshallSliceOfPointers[T PointerToGongstruct](slice *[]T, valueExpr ast.Expr, identifierMap map[string]GongstructIF) (err error)
- func IntToLetters(number int32) (letters string)
- func IsStaged[Type Gongstruct](stage *Stage, instance *Type) (ok bool)
- func IsStagedPointerToGongstruct[Type PointerToGongstruct](stage *Stage, instance Type) (ok bool)
- func OnAfterUpdateFromFront[Type Gongstruct](stage *Stage, old, new *Type)
- func ParseAstEmbeddedFile(stage *Stage, directory embed.FS, pathToFile string) error
- func ParseAstFile(stage *Stage, pathToFile string, preserveOrder bool) error
- func ParseAstFileFromAst(stage *Stage, inFile *ast.File, fset *token.FileSet, preserveOrder bool) error
- func SerializeExcelizePointerToGongstruct[Type PointerToGongstruct](stage *Stage, f *excelize.File)
- func SerializeExcelizePointerToGongstruct2[Type PointerToGongstruct](stage *Stage, f *excelize.File, addIDs bool)
- func SerializeStage(stage *Stage, filename string)
- func SerializeStage2(stage *Stage, filename string, addIDs bool)
- func SetCallbackAfterCreateFromFront[Type Gongstruct](stage *Stage, callback OnAfterCreateInterface[Type])
- func SetCallbackAfterDeleteFromFront[Type Gongstruct](stage *Stage, callback OnAfterDeleteInterface[Type])
- func SetCallbackAfterReadFromFront[Type Gongstruct](stage *Stage, callback OnAfterReadInterface[Type])
- func SetCallbackAfterUpdateFromFront[Type Gongstruct](stage *Stage, callback OnAfterUpdateInterface[Type])
- func SetFieldStringValueFromPointer(instance GongstructIF, fieldName string, value GongFieldValue, stage *Stage) error
- func SetOrchestratorOnAfterUpdate[Type Gongstruct](stage *Stage)
- func SortGongstructSetByName[T PointerToGongstruct](set map[T]struct{}) (sortedSlice []T)
- func StageBranch[Type Gongstruct](stage *Stage, instance *Type)
- func ToRawStringLiteral(s string) string
- func UnstageBranch[Type Gongstruct](stage *Stage, instance *Type)
- type AllModelsStructCreateInterface
- type AllModelsStructDeleteInterface
- type AsSplit
- func (assplit *AsSplit) Checkout(stage *Stage) *AsSplit
- func (assplit *AsSplit) Commit(stage *Stage) *AsSplit
- func (assplit *AsSplit) CommitVoid(stage *Stage)
- func (from *AsSplit) CopyBasicFields(to *AsSplit)
- func (assplit *AsSplit) GetName() (res string)
- func (assplit *AsSplit) GongClean(stage *Stage) (modified bool)
- func (assplit *AsSplit) GongCopy() GongstructIF
- func (assplit *AsSplit) GongDiff(stage *Stage, assplitOther *AsSplit) (diffs []string)
- 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 *AsSplit) GongGetOrder(stage *Stage) uint
- func (assplit *AsSplit) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *AsSplit) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *AsSplit) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (assplit *AsSplit) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *AsSplit) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *AsSplit) GongReconstructPointersFromReferences(stage *Stage, instance *AsSplit)
- func (assplit *AsSplit) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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) Checkout(stage *Stage) *AsSplitArea
- func (assplitarea *AsSplitArea) Commit(stage *Stage) *AsSplitArea
- func (assplitarea *AsSplitArea) CommitVoid(stage *Stage)
- func (from *AsSplitArea) CopyBasicFields(to *AsSplitArea)
- func (assplitarea *AsSplitArea) GetName() (res string)
- func (assplitarea *AsSplitArea) GongClean(stage *Stage) (modified bool)
- func (assplitarea *AsSplitArea) GongCopy() GongstructIF
- func (assplitarea *AsSplitArea) GongDiff(stage *Stage, assplitareaOther *AsSplitArea) (diffs []string)
- 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 *AsSplitArea) GongGetOrder(stage *Stage) uint
- func (assplitarea *AsSplitArea) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *AsSplitArea) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *AsSplitArea) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (assplitarea *AsSplitArea) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *AsSplitArea) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *AsSplitArea) GongReconstructPointersFromReferences(stage *Stage, instance *AsSplitArea)
- func (assplitarea *AsSplitArea) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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) Checkout(stage *Stage) *Button
- func (button *Button) Commit(stage *Stage) *Button
- func (button *Button) CommitVoid(stage *Stage)
- func (from *Button) CopyBasicFields(to *Button)
- func (button *Button) GetName() (res string)
- func (button *Button) GongClean(stage *Stage) (modified bool)
- func (button *Button) GongCopy() GongstructIF
- func (button *Button) GongDiff(stage *Stage, buttonOther *Button) (diffs []string)
- 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 *Button) GongGetOrder(stage *Stage) uint
- func (button *Button) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Button) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *Button) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (button *Button) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *Button) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Button) GongReconstructPointersFromReferences(stage *Stage, instance *Button)
- func (button *Button) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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) Checkout(stage *Stage) *Cursor
- func (cursor *Cursor) Commit(stage *Stage) *Cursor
- func (cursor *Cursor) CommitVoid(stage *Stage)
- func (from *Cursor) CopyBasicFields(to *Cursor)
- func (cursor *Cursor) GetName() (res string)
- func (cursor *Cursor) GongClean(stage *Stage) (modified bool)
- func (cursor *Cursor) GongCopy() GongstructIF
- func (cursor *Cursor) GongDiff(stage *Stage, cursorOther *Cursor) (diffs []string)
- 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 *Cursor) GongGetOrder(stage *Stage) uint
- func (cursor *Cursor) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Cursor) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *Cursor) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (cursor *Cursor) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *Cursor) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Cursor) GongReconstructPointersFromReferences(stage *Stage, instance *Cursor)
- func (cursor *Cursor) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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) Checkout(stage *Stage) *FavIcon
- func (favicon *FavIcon) Commit(stage *Stage) *FavIcon
- func (favicon *FavIcon) CommitVoid(stage *Stage)
- func (from *FavIcon) CopyBasicFields(to *FavIcon)
- func (favicon *FavIcon) GetName() (res string)
- func (favicon *FavIcon) GongClean(stage *Stage) (modified bool)
- func (favicon *FavIcon) GongCopy() GongstructIF
- func (favicon *FavIcon) GongDiff(stage *Stage, faviconOther *FavIcon) (diffs []string)
- 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 *FavIcon) GongGetOrder(stage *Stage) uint
- func (favicon *FavIcon) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *FavIcon) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *FavIcon) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (favicon *FavIcon) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *FavIcon) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *FavIcon) GongReconstructPointersFromReferences(stage *Stage, instance *FavIcon)
- func (favicon *FavIcon) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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) Checkout(stage *Stage) *Form
- func (form *Form) Commit(stage *Stage) *Form
- func (form *Form) CommitVoid(stage *Stage)
- func (from *Form) CopyBasicFields(to *Form)
- func (form *Form) GetName() (res string)
- func (form *Form) GongClean(stage *Stage) (modified bool)
- func (form *Form) GongCopy() GongstructIF
- func (form *Form) GongDiff(stage *Stage, formOther *Form) (diffs []string)
- 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 *Form) GongGetOrder(stage *Stage) uint
- func (form *Form) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Form) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *Form) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (form *Form) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *Form) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Form) GongReconstructPointersFromReferences(stage *Stage, instance *Form)
- func (form *Form) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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 GongFieldHeader
- type GongFieldValue
- type GongFieldValueType
- type GongNodeIF
- type GongStructInterface
- type Gong__MouseEvent
- type Gongstruct
- type GongstructEnumIntField
- type GongstructEnumStringField
- type GongstructIF
- type GongstructMapString
- type GongstructSet
- type GongtructBasicField
- type Load
- func (load *Load) Checkout(stage *Stage) *Load
- func (load *Load) Commit(stage *Stage) *Load
- func (load *Load) CommitVoid(stage *Stage)
- func (from *Load) CopyBasicFields(to *Load)
- func (load *Load) GetName() (res string)
- func (load *Load) GongClean(stage *Stage) (modified bool)
- func (load *Load) GongCopy() GongstructIF
- func (load *Load) GongDiff(stage *Stage, loadOther *Load) (diffs []string)
- 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 *Load) GongGetOrder(stage *Stage) uint
- func (load *Load) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Load) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *Load) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (load *Load) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *Load) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Load) GongReconstructPointersFromReferences(stage *Stage, instance *Load)
- func (load *Load) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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) Checkout(stage *Stage) *LogoOnTheLeft
- func (logoontheleft *LogoOnTheLeft) Commit(stage *Stage) *LogoOnTheLeft
- func (logoontheleft *LogoOnTheLeft) CommitVoid(stage *Stage)
- func (from *LogoOnTheLeft) CopyBasicFields(to *LogoOnTheLeft)
- func (logoontheleft *LogoOnTheLeft) GetName() (res string)
- func (logoontheleft *LogoOnTheLeft) GongClean(stage *Stage) (modified bool)
- func (logoontheleft *LogoOnTheLeft) GongCopy() GongstructIF
- func (logoontheleft *LogoOnTheLeft) GongDiff(stage *Stage, logoontheleftOther *LogoOnTheLeft) (diffs []string)
- 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 *LogoOnTheLeft) GongGetOrder(stage *Stage) uint
- func (logoontheleft *LogoOnTheLeft) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *LogoOnTheLeft) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *LogoOnTheLeft) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (logoontheleft *LogoOnTheLeft) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *LogoOnTheLeft) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *LogoOnTheLeft) GongReconstructPointersFromReferences(stage *Stage, instance *LogoOnTheLeft)
- func (logoontheleft *LogoOnTheLeft) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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) Checkout(stage *Stage) *LogoOnTheRight
- func (logoontheright *LogoOnTheRight) Commit(stage *Stage) *LogoOnTheRight
- func (logoontheright *LogoOnTheRight) CommitVoid(stage *Stage)
- func (from *LogoOnTheRight) CopyBasicFields(to *LogoOnTheRight)
- func (logoontheright *LogoOnTheRight) GetName() (res string)
- func (logoontheright *LogoOnTheRight) GongClean(stage *Stage) (modified bool)
- func (logoontheright *LogoOnTheRight) GongCopy() GongstructIF
- func (logoontheright *LogoOnTheRight) GongDiff(stage *Stage, logoontherightOther *LogoOnTheRight) (diffs []string)
- 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 *LogoOnTheRight) GongGetOrder(stage *Stage) uint
- func (logoontheright *LogoOnTheRight) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *LogoOnTheRight) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *LogoOnTheRight) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (logoontheright *LogoOnTheRight) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *LogoOnTheRight) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *LogoOnTheRight) GongReconstructPointersFromReferences(stage *Stage, instance *LogoOnTheRight)
- func (logoontheright *LogoOnTheRight) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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) Checkout(stage *Stage) *Markdown
- func (markdown *Markdown) Commit(stage *Stage) *Markdown
- func (markdown *Markdown) CommitVoid(stage *Stage)
- func (from *Markdown) CopyBasicFields(to *Markdown)
- func (markdown *Markdown) GetName() (res string)
- func (markdown *Markdown) GongClean(stage *Stage) (modified bool)
- func (markdown *Markdown) GongCopy() GongstructIF
- func (markdown *Markdown) GongDiff(stage *Stage, markdownOther *Markdown) (diffs []string)
- 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 *Markdown) GongGetOrder(stage *Stage) uint
- func (markdown *Markdown) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Markdown) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *Markdown) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (markdown *Markdown) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *Markdown) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Markdown) GongReconstructPointersFromReferences(stage *Stage, instance *Markdown)
- func (markdown *Markdown) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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 ModelUnmarshaller
- type NamedStruct
- type OnAfterCreateInterface
- type OnAfterDeleteInterface
- type OnAfterReadInterface
- type OnAfterUpdateInterface
- type OnInitCommitInterface
- type PointerToGongstruct
- type PointerToGongstructEnumIntField
- type PointerToGongstructEnumStringField
- type ProbeIF
- type ReverseField
- type Slider
- func (slider *Slider) Checkout(stage *Stage) *Slider
- func (slider *Slider) Commit(stage *Stage) *Slider
- func (slider *Slider) CommitVoid(stage *Stage)
- func (from *Slider) CopyBasicFields(to *Slider)
- func (slider *Slider) GetName() (res string)
- func (slider *Slider) GongClean(stage *Stage) (modified bool)
- func (slider *Slider) GongCopy() GongstructIF
- func (slider *Slider) GongDiff(stage *Stage, sliderOther *Slider) (diffs []string)
- 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 *Slider) GongGetOrder(stage *Stage) uint
- func (slider *Slider) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Slider) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *Slider) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (slider *Slider) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *Slider) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Slider) GongReconstructPointersFromReferences(stage *Stage, instance *Slider)
- func (slider *Slider) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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) Checkout(stage *Stage) *Split
- func (split *Split) Commit(stage *Stage) *Split
- func (split *Split) CommitVoid(stage *Stage)
- func (from *Split) CopyBasicFields(to *Split)
- func (split *Split) GetName() (res string)
- func (split *Split) GongClean(stage *Stage) (modified bool)
- func (split *Split) GongCopy() GongstructIF
- func (split *Split) GongDiff(stage *Stage, splitOther *Split) (diffs []string)
- 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 *Split) GongGetOrder(stage *Stage) uint
- func (split *Split) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Split) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *Split) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (split *Split) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *Split) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Split) GongReconstructPointersFromReferences(stage *Stage, instance *Split)
- func (split *Split) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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) 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) Commit()
- func (stage *Stage) CommitWithSuspendedCallbacks()
- func (stage *Stage) ComputeForwardAndBackwardCommits()
- func (stage *Stage) ComputeInstancesNb()
- func (stage *Stage) ComputeReferenceAndOrders()
- func (stage *Stage) ComputeReverseMaps()
- func (stage *Stage) GetBackwardCommits() []string
- func (stage *Stage) GetCommitsBehind() int
- func (stage *Stage) GetDigramsEmbededDir() embed.FS
- func (stage *Stage) GetForwardCommits() []string
- func (stage *Stage) GetInstances() (res []GongstructIF)
- func (stage *Stage) GetMap_GongStructName_InstancesNb() map[string]int
- func (stage *Stage) GetModelsEmbededDir() embed.FS
- func (stage *Stage) GetName() string
- func (stage *Stage) GetNamedStructNamesByOrder(namedStructName string) (res []string)
- func (stage *Stage) GetNamedStructsNames() (res []string)
- func (stage *Stage) GetProbeFormStageName() string
- func (stage *Stage) GetProbeIF() ProbeIF
- func (stage *Stage) GetProbeNotificationTableStageName() string
- func (stage *Stage) GetProbeSplitStageName() string
- func (stage *Stage) GetProbeTableStageName() string
- func (stage *Stage) GetProbeTreeSidebarStageName() string
- func (stage *Stage) GetType() string
- func (stage *Stage) IsInDeltaMode() bool
- func (stage *Stage) IsStagedAsSplit(assplit *AsSplit) (ok bool)
- func (stage *Stage) IsStagedAsSplitArea(assplitarea *AsSplitArea) (ok bool)
- func (stage *Stage) IsStagedButton(button *Button) (ok bool)
- func (stage *Stage) IsStagedCursor(cursor *Cursor) (ok bool)
- func (stage *Stage) IsStagedFavIcon(favicon *FavIcon) (ok bool)
- func (stage *Stage) IsStagedForm(form *Form) (ok bool)
- func (stage *Stage) IsStagedLoad(load *Load) (ok bool)
- func (stage *Stage) IsStagedLogoOnTheLeft(logoontheleft *LogoOnTheLeft) (ok bool)
- func (stage *Stage) IsStagedLogoOnTheRight(logoontheright *LogoOnTheRight) (ok bool)
- func (stage *Stage) IsStagedMarkdown(markdown *Markdown) (ok bool)
- func (stage *Stage) IsStagedSlider(slider *Slider) (ok bool)
- func (stage *Stage) IsStagedSplit(split *Split) (ok bool)
- func (stage *Stage) IsStagedSvg(svg *Svg) (ok bool)
- func (stage *Stage) IsStagedTable(table *Table) (ok bool)
- func (stage *Stage) IsStagedTitle(title *Title) (ok bool)
- func (stage *Stage) IsStagedTone(tone *Tone) (ok bool)
- func (stage *Stage) IsStagedTree(tree *Tree) (ok bool)
- func (stage *Stage) IsStagedView(view *View) (ok bool)
- func (stage *Stage) IsStagedXlsx(xlsx *Xlsx) (ok bool)
- func (stage *Stage) Lock()
- func (stage *Stage) Marshall(file *os.File, modelsPackageName, packageName string)
- func (stage *Stage) MarshallToString(modelsPackageName, packageName string) (res string, err error)
- func (stage *Stage) Nil()
- func (stage *Stage) Orphans()
- func (stage *Stage) RLock()
- func (stage *Stage) RUnlock()
- 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) SetDeltaMode(inDeltaMode bool)
- func (stage *Stage) SetProbeIF(probeIF ProbeIF)
- func (stage *Stage) StageBranchAsSplit(assplit *AsSplit)
- func (stage *Stage) StageBranchAsSplitArea(assplitarea *AsSplitArea)
- func (stage *Stage) StageBranchButton(button *Button)
- func (stage *Stage) StageBranchCursor(cursor *Cursor)
- func (stage *Stage) StageBranchFavIcon(favicon *FavIcon)
- func (stage *Stage) StageBranchForm(form *Form)
- func (stage *Stage) StageBranchLoad(load *Load)
- func (stage *Stage) StageBranchLogoOnTheLeft(logoontheleft *LogoOnTheLeft)
- func (stage *Stage) StageBranchLogoOnTheRight(logoontheright *LogoOnTheRight)
- func (stage *Stage) StageBranchMarkdown(markdown *Markdown)
- func (stage *Stage) StageBranchSlider(slider *Slider)
- func (stage *Stage) StageBranchSplit(split *Split)
- func (stage *Stage) StageBranchSvg(svg *Svg)
- func (stage *Stage) StageBranchTable(table *Table)
- func (stage *Stage) StageBranchTitle(title *Title)
- func (stage *Stage) StageBranchTone(tone *Tone)
- func (stage *Stage) StageBranchTree(tree *Tree)
- func (stage *Stage) StageBranchView(view *View)
- func (stage *Stage) StageBranchXlsx(xlsx *Xlsx)
- func (stage *Stage) Unlock()
- func (stage *Stage) Unstage()
- func (stage *Stage) UnstageBranchAsSplit(assplit *AsSplit)
- func (stage *Stage) UnstageBranchAsSplitArea(assplitarea *AsSplitArea)
- func (stage *Stage) UnstageBranchButton(button *Button)
- func (stage *Stage) UnstageBranchCursor(cursor *Cursor)
- func (stage *Stage) UnstageBranchFavIcon(favicon *FavIcon)
- func (stage *Stage) UnstageBranchForm(form *Form)
- func (stage *Stage) UnstageBranchLoad(load *Load)
- func (stage *Stage) UnstageBranchLogoOnTheLeft(logoontheleft *LogoOnTheLeft)
- func (stage *Stage) UnstageBranchLogoOnTheRight(logoontheright *LogoOnTheRight)
- func (stage *Stage) UnstageBranchMarkdown(markdown *Markdown)
- func (stage *Stage) UnstageBranchSlider(slider *Slider)
- func (stage *Stage) UnstageBranchSplit(split *Split)
- func (stage *Stage) UnstageBranchSvg(svg *Svg)
- func (stage *Stage) UnstageBranchTable(table *Table)
- func (stage *Stage) UnstageBranchTitle(title *Title)
- func (stage *Stage) UnstageBranchTone(tone *Tone)
- func (stage *Stage) UnstageBranchTree(tree *Tree)
- func (stage *Stage) UnstageBranchView(view *View)
- func (stage *Stage) UnstageBranchXlsx(xlsx *Xlsx)
- type Svg
- func (svg *Svg) Checkout(stage *Stage) *Svg
- func (svg *Svg) Commit(stage *Stage) *Svg
- func (svg *Svg) CommitVoid(stage *Stage)
- func (from *Svg) CopyBasicFields(to *Svg)
- func (svg *Svg) GetName() (res string)
- func (svg *Svg) GongClean(stage *Stage) (modified bool)
- func (svg *Svg) GongCopy() GongstructIF
- func (svg *Svg) GongDiff(stage *Stage, svgOther *Svg) (diffs []string)
- 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 *Svg) GongGetOrder(stage *Stage) uint
- func (svg *Svg) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Svg) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *Svg) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (svg *Svg) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *Svg) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Svg) GongReconstructPointersFromReferences(stage *Stage, instance *Svg)
- func (svg *Svg) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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) Checkout(stage *Stage) *Table
- func (table *Table) Commit(stage *Stage) *Table
- func (table *Table) CommitVoid(stage *Stage)
- func (from *Table) CopyBasicFields(to *Table)
- func (table *Table) GetName() (res string)
- func (table *Table) GongClean(stage *Stage) (modified bool)
- func (table *Table) GongCopy() GongstructIF
- func (table *Table) GongDiff(stage *Stage, tableOther *Table) (diffs []string)
- 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 *Table) GongGetOrder(stage *Stage) uint
- func (table *Table) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Table) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *Table) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (table *Table) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *Table) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Table) GongReconstructPointersFromReferences(stage *Stage, instance *Table)
- func (table *Table) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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 Title
- func (title *Title) Checkout(stage *Stage) *Title
- func (title *Title) Commit(stage *Stage) *Title
- func (title *Title) CommitVoid(stage *Stage)
- func (from *Title) CopyBasicFields(to *Title)
- func (title *Title) GetName() (res string)
- func (title *Title) GongClean(stage *Stage) (modified bool)
- func (title *Title) GongCopy() GongstructIF
- func (title *Title) GongDiff(stage *Stage, titleOther *Title) (diffs []string)
- 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 *Title) GongGetOrder(stage *Stage) uint
- func (title *Title) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Title) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *Title) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (title *Title) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *Title) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Title) GongReconstructPointersFromReferences(stage *Stage, instance *Title)
- func (title *Title) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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) Checkout(stage *Stage) *Tone
- func (tone *Tone) Commit(stage *Stage) *Tone
- func (tone *Tone) CommitVoid(stage *Stage)
- func (from *Tone) CopyBasicFields(to *Tone)
- func (tone *Tone) GetName() (res string)
- func (tone *Tone) GongClean(stage *Stage) (modified bool)
- func (tone *Tone) GongCopy() GongstructIF
- func (tone *Tone) GongDiff(stage *Stage, toneOther *Tone) (diffs []string)
- 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 *Tone) GongGetOrder(stage *Stage) uint
- func (tone *Tone) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Tone) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *Tone) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (tone *Tone) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *Tone) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Tone) GongReconstructPointersFromReferences(stage *Stage, instance *Tone)
- func (tone *Tone) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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) Checkout(stage *Stage) *Tree
- func (tree *Tree) Commit(stage *Stage) *Tree
- func (tree *Tree) CommitVoid(stage *Stage)
- func (from *Tree) CopyBasicFields(to *Tree)
- func (tree *Tree) GetName() (res string)
- func (tree *Tree) GongClean(stage *Stage) (modified bool)
- func (tree *Tree) GongCopy() GongstructIF
- func (tree *Tree) GongDiff(stage *Stage, treeOther *Tree) (diffs []string)
- 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 *Tree) GongGetOrder(stage *Stage) uint
- func (tree *Tree) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Tree) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *Tree) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (tree *Tree) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *Tree) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Tree) GongReconstructPointersFromReferences(stage *Stage, instance *Tree)
- func (tree *Tree) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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) Checkout(stage *Stage) *View
- func (view *View) Commit(stage *Stage) *View
- func (view *View) CommitVoid(stage *Stage)
- func (from *View) CopyBasicFields(to *View)
- func (view *View) GetName() (res string)
- func (view *View) GongClean(stage *Stage) (modified bool)
- func (view *View) GongCopy() GongstructIF
- func (view *View) GongDiff(stage *Stage, viewOther *View) (diffs []string)
- 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 *View) GongGetOrder(stage *Stage) uint
- func (view *View) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *View) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *View) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (view *View) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *View) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *View) GongReconstructPointersFromReferences(stage *Stage, instance *View)
- func (view *View) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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 ViewUnmarshaller
- type View_WOP
- type Xlsx
- func (xlsx *Xlsx) Checkout(stage *Stage) *Xlsx
- func (xlsx *Xlsx) Commit(stage *Stage) *Xlsx
- func (xlsx *Xlsx) CommitVoid(stage *Stage)
- func (from *Xlsx) CopyBasicFields(to *Xlsx)
- func (xlsx *Xlsx) GetName() (res string)
- func (xlsx *Xlsx) GongClean(stage *Stage) (modified bool)
- func (xlsx *Xlsx) GongCopy() GongstructIF
- func (xlsx *Xlsx) GongDiff(stage *Stage, xlsxOther *Xlsx) (diffs []string)
- 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 *Xlsx) GongGetOrder(stage *Stage) uint
- func (xlsx *Xlsx) GongGetReferenceIdentifier(stage *Stage) string
- func (inst *Xlsx) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
- func (inst *Xlsx) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
- 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) (decl string)
- func (xlsx *Xlsx) GongMarshallUnstaging(stage *Stage) (decl string)
- func (reference *Xlsx) GongReconstructPointersFromInstances(stage *Stage)
- func (reference *Xlsx) GongReconstructPointersFromReferences(stage *Stage, instance *Xlsx)
- func (xlsx *Xlsx) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
- 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 ( ProbeTreeSidebarSuffix = ":sidebar of the probe" ProbeTableSuffix = ":table of the probe" ProbeNotificationTableSuffix = ":notification table of the probe" ProbeFormSuffix = ":form of the probe" ProbeSplitSuffix = ":probe of the probe" )
const ( // it is possible to go apply the nbCommitsBackward forward commits GongNavigationModeNavigating gongStageNavigationMode = "Navigating" )
const GongIdentifiersDecls = `
{{Identifier}} := (&models.{{GeneratedStructName}}{Name: {{GeneratedFieldNameValue}}}).Stage(stage)`
const GongUnstageStmt = `
{{Identifier}}.Unstage(stage)`
const IdentifiersDeclsWithoutNameInit = `
{{Identifier}} := (&models.{{GeneratedStructName}}{}).Stage(stage)`
previous version does not hanldle embedded structs (https://github.com/golang/go/issues/9859) simpler version but the name of the instance cannot be human read before the fields initialization
const MetaFieldStructInitStatement = `
{{Identifier}}.{{GeneratedFieldName}} = ` + `{{GeneratedFieldNameValue}}`
const NumberInitStatement = `
{{Identifier}}.{{GeneratedFieldName}} = {{GeneratedFieldNameValue}}`
const PointerFieldInitStatement = `
{{Identifier}}.{{GeneratedFieldName}} = {{GeneratedFieldNameValue}}`
const SliceOfPointersFieldInitStatement = `
{{Identifier}}.{{GeneratedFieldName}} = append({{Identifier}}.{{GeneratedFieldName}}, {{GeneratedFieldNameValue}})`
const StringEnumInitStatement = `
{{Identifier}}.{{GeneratedFieldName}} = {{GeneratedFieldNameValue}}`
const StringInitStatement = `
{{Identifier}}.{{GeneratedFieldName}} = {{GeneratedFieldNameValue}}`
const TimeInitStatement = `` /* 129-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func AfterCreateFromFront ¶
func AfterCreateFromFront[Type Gongstruct](stage *Stage, instance *Type)
AfterCreateFromFront is called after a create from front
func AfterDeleteFromFront ¶
func AfterDeleteFromFront[Type Gongstruct](stage *Stage, staged, front *Type)
AfterDeleteFromFront is called after a delete from front
func AfterReadFromFront ¶
func AfterReadFromFront[Type Gongstruct](stage *Stage, instance *Type)
AfterReadFromFront is called after a Read from front
func CompareGongstructByName ¶
func CompareGongstructByName[T PointerToGongstruct](a, b T) int
func CopyBranch ¶
func CopyBranch[Type Gongstruct](from *Type) (to *Type)
CopyBranch stages instance and apply CopyBranch 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 Diff ¶
func Diff[T1, T2 PointerToGongstruct](stage *Stage, a, b T1, fieldName string, oldSlice, newSlice []T2) (ops string)
Diff returns the sequence of operations to transform oldSlice into newSlice. It requires type T to be comparable (e.g., pointers, ints, strings).
func ExtractMiddleUint ¶
ExtractMiddleUint takes a formatted string and returns the extracted integer.
func GetAssociationName ¶
func GetAssociationName[Type Gongstruct]() *Type
GetAssociationName 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 GetGongstrucsSorted ¶
func GetGongstrucsSorted[T PointerToGongstruct](stage *Stage) (sortedSlice []T)
func GetGongstructInstancesMap ¶
func GetGongstructInstancesMap[Type Gongstruct](stage *Stage) *map[string]*Type
GetGongstructInstancesMap returns the map of staged GongstructType instances it is usefull because it allows refactoring of gongstruct identifier
func GetGongstructInstancesSet ¶
func GetGongstructInstancesSet[Type Gongstruct](stage *Stage) *map[*Type]struct{}
GetGongstructInstancesSet returns the set staged GongstructType instances it is usefull because it allows refactoring of gongstruct identifier
func GetGongstructInstancesSetFromPointerType ¶
func GetGongstructInstancesSetFromPointerType[Type PointerToGongstruct](stage *Stage) *map[Type]struct{}
GetGongstructInstancesSetFromPointerType returns the set staged GongstructType instances it is usefull because it allows refactoring of gongstruct identifier
func GetGongstructNameFromPointer ¶
func GetGongstructNameFromPointer(instance GongstructIF) (res string)
func GetNamedStructInstances ¶
func GetNamedStructInstances[T PointerToGongstruct](set map[T]struct{}, order map[T]uint) (res []string)
func GetOrder ¶
func GetOrder[Type Gongstruct](stage *Stage, instance *Type) uint
func GetOrderPointerGongstruct ¶
func GetOrderPointerGongstruct[Type PointerToGongstruct](stage *Stage, instance Type) uint
func GetPointerReverseMap ¶
func GetPointerReverseMap[Start, End Gongstruct](fieldname string, stage *Stage) 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
func GetPointerToGongstructName ¶
func GetPointerToGongstructName[Type GongstructIF]() (res string)
GetPointerToGongstructName returns the name of the Gongstruct this can be usefull if one want program robust to refactoring
func GetSliceOfPointersReverseMap ¶
func GetSliceOfPointersReverseMap[Start, End Gongstruct](fieldname string, stage *Stage) map[*End][]*Start
GetSliceOfPointersReverseMap allows backtrack navigation of any Start.Fieldname associations (0..N) between one staged Gongstruct instances and many others
The function provides a map with keys as instances of End and values to *Start instances the map is construed by iterating over all Start instances and populating keys with End instances and values with the Start instances
func GetStructInstancesByOrder ¶
func GetStructInstancesByOrder[T PointerToGongstruct](set map[T]struct{}, order map[T]uint) (res []T)
func GetStructInstancesByOrderAuto ¶
func GetStructInstancesByOrderAuto[T PointerToGongstruct](stage *Stage) (res []T)
func GongCleanPointer ¶
func GongCleanPointer[T PointerToGongstruct](stage *Stage, element *T) (modified bool)
GongCleanPointer sets the pointer to nil if the referenced element is not staged. T must be a pointer to a struct that implements PointerToGongstruct.
func GongCleanSlice ¶
func GongCleanSlice[T PointerToGongstruct](stage *Stage, slice *[]T) (modified bool)
GongCleanSlice removes unstaged elements from a slice of pointers of type T. T must be a pointer to a struct that implements PointerToGongstruct.
func GongExtractBool ¶
func GongExtractExpr ¶
func GongExtractFloat ¶
func GongExtractInt ¶
func GongExtractString ¶
func GongGetMap ¶
func GongGetMap[Type GongstructIF](stage *Stage) map[string]Type
GongGetMap returns the map of staged Gonstruct instance by their name Can be usefull if names are unique
func GongGetSet ¶
func GongGetSet[Type GongstructSet](stage *Stage) *Type
GongGetSet returns the set staged GongstructType instances it is usefull because it allows refactoring of gong struct identifier
func GongParseAstString ¶
GongParseAstString parses the Go source code from a string
func GongUnmarshallEnum ¶
GongUnmarshallEnum handles assignment of enum fields (via SelectorExpr or String fallback)
func GongUnmarshallPointer ¶
func GongUnmarshallPointer[T PointerToGongstruct]( ptr *T, valueExpr ast.Expr, identifierMap map[string]GongstructIF)
GongUnmarshallPointer handles assignment of a single pointer field
func GongUnmarshallSliceOfPointers ¶
func GongUnmarshallSliceOfPointers[T PointerToGongstruct]( slice *[]T, valueExpr ast.Expr, identifierMap map[string]GongstructIF) (err error)
GongUnmarshallSliceOfPointers handles append, slices.Delete, and slices.Insert for slice fields
func IntToLetters ¶
func IsStaged ¶
func IsStaged[Type Gongstruct](stage *Stage, instance *Type) (ok bool)
func IsStagedPointerToGongstruct ¶
func IsStagedPointerToGongstruct[Type PointerToGongstruct](stage *Stage, instance Type) (ok bool)
func OnAfterUpdateFromFront ¶
func OnAfterUpdateFromFront[Type Gongstruct](stage *Stage, old, new *Type)
OnAfterUpdateFromFront is called after a update from front
func ParseAstEmbeddedFile ¶
ParseAstEmbeddedFile parses the Go source code from an embedded file
func ParseAstFile ¶
ParseAstFile Parse pathToFile and stages all instances declared in the file
func ParseAstFileFromAst ¶
func ParseAstFileFromAst(stage *Stage, inFile *ast.File, fset *token.FileSet, preserveOrder bool) error
ParseAstFileFromAst traverses the AST and stages instances using the Unmarshaller registry
func SerializeExcelizePointerToGongstruct ¶
func SerializeExcelizePointerToGongstruct[Type PointerToGongstruct](stage *Stage, f *excelize.File)
func SerializeExcelizePointerToGongstruct2 ¶
func SerializeExcelizePointerToGongstruct2[Type PointerToGongstruct](stage *Stage, f *excelize.File, addIDs bool)
func SerializeStage ¶
func SerializeStage2 ¶
func SetCallbackAfterCreateFromFront ¶
func SetCallbackAfterCreateFromFront[Type Gongstruct](stage *Stage, callback OnAfterCreateInterface[Type])
func SetCallbackAfterDeleteFromFront ¶
func SetCallbackAfterDeleteFromFront[Type Gongstruct](stage *Stage, callback OnAfterDeleteInterface[Type])
func SetCallbackAfterReadFromFront ¶
func SetCallbackAfterReadFromFront[Type Gongstruct](stage *Stage, callback OnAfterReadInterface[Type])
func SetCallbackAfterUpdateFromFront ¶
func SetCallbackAfterUpdateFromFront[Type Gongstruct](stage *Stage, callback OnAfterUpdateInterface[Type])
SetCallbackAfterUpdateFromFront is a function to set up callback that is robust to refactoring
func SetFieldStringValueFromPointer ¶
func SetFieldStringValueFromPointer(instance GongstructIF, fieldName string, value GongFieldValue, stage *Stage) error
func SetOrchestratorOnAfterUpdate ¶
func SetOrchestratorOnAfterUpdate[Type Gongstruct](stage *Stage)
func SortGongstructSetByName ¶
func SortGongstructSetByName[T PointerToGongstruct](set map[T]struct{}) (sortedSlice []T)
func StageBranch ¶
func StageBranch[Type Gongstruct](stage *Stage, instance *Type)
StageBranch stages instance and apply StageBranch 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 ToRawStringLiteral ¶
ToRawStringLiteral formats a string into safe Go source code, using backticks to preserve newlines and readability.
func UnstageBranch ¶
func UnstageBranch[Type Gongstruct](stage *Stage, instance *Type)
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
Types ¶
type AllModelsStructCreateInterface ¶
type AllModelsStructCreateInterface interface {
CreateORMAsSplit(AsSplit *AsSplit)
CreateORMAsSplitArea(AsSplitArea *AsSplitArea)
CreateORMButton(Button *Button)
CreateORMCursor(Cursor *Cursor)
CreateORMFavIcon(FavIcon *FavIcon)
CreateORMForm(Form *Form)
CreateORMLoad(Load *Load)
CreateORMLogoOnTheLeft(LogoOnTheLeft *LogoOnTheLeft)
CreateORMLogoOnTheRight(LogoOnTheRight *LogoOnTheRight)
CreateORMMarkdown(Markdown *Markdown)
CreateORMSlider(Slider *Slider)
CreateORMSplit(Split *Split)
CreateORMSvg(Svg *Svg)
CreateORMTable(Table *Table)
CreateORMTitle(Title *Title)
CreateORMTone(Tone *Tone)
CreateORMTree(Tree *Tree)
CreateORMView(View *View)
CreateORMXlsx(Xlsx *Xlsx)
}
swagger:ignore
type AllModelsStructDeleteInterface ¶
type AllModelsStructDeleteInterface interface {
DeleteORMAsSplit(AsSplit *AsSplit)
DeleteORMAsSplitArea(AsSplitArea *AsSplitArea)
DeleteORMButton(Button *Button)
DeleteORMCursor(Cursor *Cursor)
DeleteORMFavIcon(FavIcon *FavIcon)
DeleteORMForm(Form *Form)
DeleteORMLoad(Load *Load)
DeleteORMLogoOnTheLeft(LogoOnTheLeft *LogoOnTheLeft)
DeleteORMLogoOnTheRight(LogoOnTheRight *LogoOnTheRight)
DeleteORMMarkdown(Markdown *Markdown)
DeleteORMSlider(Slider *Slider)
DeleteORMSplit(Split *Split)
DeleteORMSvg(Svg *Svg)
DeleteORMTable(Table *Table)
DeleteORMTitle(Title *Title)
DeleteORMTone(Tone *Tone)
DeleteORMTree(Tree *Tree)
DeleteORMView(View *View)
DeleteORMXlsx(Xlsx *Xlsx)
}
type AsSplit ¶
type AsSplit struct {
Name string
Direction Direction
AsSplitAreas []*AsSplitArea
}
func CopyBranchAsSplit ¶
insertion point for stage branch per struct
func (*AsSplit) CommitVoid ¶
func (*AsSplit) CopyBasicFields ¶
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) 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) 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) 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) GongGetReverseFieldOwner ¶
func (inst *AsSplit) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
insertion point
func (*AsSplit) GongGetReverseFieldOwnerName ¶
func (inst *AsSplit) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
insertion point
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) GongReconstructPointersFromInstances ¶
insertion point for pointer reconstruction from instances
func (*AsSplit) GongReconstructPointersFromReferences ¶
insertion point for pointer reconstruction from references
func (*AsSplit) GongSetFieldValue ¶
func (assplit *AsSplit) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
insertion point for generic set gongstruct field value
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
Xlsx *Xlsx
HasDiv bool
DivStyle string // in case of div, the div style
}
func CopyBranchAsSplitArea ¶
func CopyBranchAsSplitArea(mapOrigCopy map[any]any, assplitareaFrom *AsSplitArea) (assplitareaTo *AsSplitArea)
func (*AsSplitArea) Checkout ¶
func (assplitarea *AsSplitArea) Checkout(stage *Stage) *AsSplitArea
Checkout assplitarea to the back repo (if it is already staged)
func (*AsSplitArea) Commit ¶
func (assplitarea *AsSplitArea) Commit(stage *Stage) *AsSplitArea
commit assplitarea to the back repo (if it is already staged)
func (*AsSplitArea) CommitVoid ¶
func (assplitarea *AsSplitArea) CommitVoid(stage *Stage)
func (*AsSplitArea) CopyBasicFields ¶
func (from *AsSplitArea) CopyBasicFields(to *AsSplitArea)
func (*AsSplitArea) GetName ¶
func (assplitarea *AsSplitArea) GetName() (res string)
for satisfaction of GongStruct interface
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) 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) 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) 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) GongGetReverseFieldOwner ¶
func (inst *AsSplitArea) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*AsSplitArea) GongGetReverseFieldOwnerName ¶
func (inst *AsSplitArea) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
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) (decl string)
func (*AsSplitArea) GongMarshallUnstaging ¶
func (assplitarea *AsSplitArea) GongMarshallUnstaging(stage *Stage) (decl string)
func (*AsSplitArea) GongReconstructPointersFromInstances ¶
func (reference *AsSplitArea) GongReconstructPointersFromInstances(stage *Stage)
func (*AsSplitArea) GongReconstructPointersFromReferences ¶
func (reference *AsSplitArea) GongReconstructPointersFromReferences(stage *Stage, instance *AsSplitArea)
func (*AsSplitArea) GongSetFieldValue ¶
func (assplitarea *AsSplitArea) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 BackRepoInterface ¶
type BackRepoInterface interface {
Commit(stage *Stage)
Checkout(stage *Stage)
Backup(stage *Stage, dirPath string)
Restore(stage *Stage, dirPath string)
BackupXL(stage *Stage, dirPath string)
RestoreXL(stage *Stage, dirPath string)
// insertion point for Commit and Checkout signatures
CommitAsSplit(assplit *AsSplit)
CheckoutAsSplit(assplit *AsSplit)
CommitAsSplitArea(assplitarea *AsSplitArea)
CheckoutAsSplitArea(assplitarea *AsSplitArea)
CommitButton(button *Button)
CheckoutButton(button *Button)
CommitCursor(cursor *Cursor)
CheckoutCursor(cursor *Cursor)
CommitFavIcon(favicon *FavIcon)
CheckoutFavIcon(favicon *FavIcon)
CommitForm(form *Form)
CheckoutForm(form *Form)
CommitLoad(load *Load)
CheckoutLoad(load *Load)
CommitLogoOnTheLeft(logoontheleft *LogoOnTheLeft)
CheckoutLogoOnTheLeft(logoontheleft *LogoOnTheLeft)
CommitLogoOnTheRight(logoontheright *LogoOnTheRight)
CheckoutLogoOnTheRight(logoontheright *LogoOnTheRight)
CommitMarkdown(markdown *Markdown)
CheckoutMarkdown(markdown *Markdown)
CommitSlider(slider *Slider)
CheckoutSlider(slider *Slider)
CommitSplit(split *Split)
CheckoutSplit(split *Split)
CommitSvg(svg *Svg)
CheckoutSvg(svg *Svg)
CommitTable(table *Table)
CheckoutTable(table *Table)
CommitTitle(title *Title)
CheckoutTitle(title *Title)
CommitTone(tone *Tone)
CheckoutTone(tone *Tone)
CommitTree(tree *Tree)
CheckoutTree(tree *Tree)
CommitView(view *View)
CheckoutView(view *View)
CommitXlsx(xlsx *Xlsx)
CheckoutXlsx(xlsx *Xlsx)
GetLastCommitFromBackNb() uint
GetLastPushFromFrontNb() uint
}
type Button ¶
func CopyBranchButton ¶
func (*Button) CommitVoid ¶
func (*Button) CopyBasicFields ¶
func (*Button) GongCopy ¶
func (button *Button) GongCopy() GongstructIF
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) 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) GongGetOrder ¶
func (*Button) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Button) GongGetReverseFieldOwner ¶
func (inst *Button) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*Button) GongGetReverseFieldOwnerName ¶
func (inst *Button) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
func (*Button) GongMarshallAllFields ¶
func (*Button) GongMarshallField ¶
func (*Button) GongMarshallIdentifier ¶
func (*Button) GongMarshallUnstaging ¶
func (*Button) GongReconstructPointersFromInstances ¶
func (*Button) GongReconstructPointersFromReferences ¶
func (*Button) GongSetFieldValue ¶
func (button *Button) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 CopyBranchCursor ¶
func (*Cursor) CommitVoid ¶
func (*Cursor) CopyBasicFields ¶
func (*Cursor) GongCopy ¶
func (cursor *Cursor) GongCopy() GongstructIF
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) 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) GongGetOrder ¶
func (*Cursor) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Cursor) GongGetReverseFieldOwner ¶
func (inst *Cursor) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*Cursor) GongGetReverseFieldOwnerName ¶
func (inst *Cursor) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
func (*Cursor) GongMarshallAllFields ¶
func (*Cursor) GongMarshallField ¶
func (*Cursor) GongMarshallIdentifier ¶
func (*Cursor) GongMarshallUnstaging ¶
func (*Cursor) GongReconstructPointersFromInstances ¶
func (*Cursor) GongReconstructPointersFromReferences ¶
func (*Cursor) GongSetFieldValue ¶
func (cursor *Cursor) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 struct {
// contains filtered or unexported fields
}
func (*ExcelizeTabulator) AddCell ¶
func (tab *ExcelizeTabulator) AddCell(sheetName string, rowId, columnIndex int, value string)
func (*ExcelizeTabulator) AddRow ¶
func (tab *ExcelizeTabulator) AddRow(sheetName string) (rowId int)
func (*ExcelizeTabulator) AddSheet ¶
func (tab *ExcelizeTabulator) AddSheet(sheetName string)
func (*ExcelizeTabulator) SetExcelizeFile ¶
func (tab *ExcelizeTabulator) SetExcelizeFile(f *excelize.File)
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 CopyBranchFavIcon ¶
func (*FavIcon) CommitVoid ¶
func (*FavIcon) CopyBasicFields ¶
func (*FavIcon) GongCopy ¶
func (favicon *FavIcon) GongCopy() GongstructIF
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) 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) GongGetOrder ¶
func (*FavIcon) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*FavIcon) GongGetReverseFieldOwner ¶
func (inst *FavIcon) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*FavIcon) GongGetReverseFieldOwnerName ¶
func (inst *FavIcon) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
func (*FavIcon) GongMarshallAllFields ¶
func (*FavIcon) GongMarshallField ¶
func (*FavIcon) GongMarshallIdentifier ¶
func (*FavIcon) GongMarshallUnstaging ¶
func (*FavIcon) GongReconstructPointersFromInstances ¶
func (*FavIcon) GongReconstructPointersFromReferences ¶
func (*FavIcon) GongSetFieldValue ¶
func (favicon *FavIcon) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 (*Form) CommitVoid ¶
func (*Form) CopyBasicFields ¶
func (*Form) GongCopy ¶
func (form *Form) GongCopy() GongstructIF
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) 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) GongGetOrder ¶
func (*Form) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Form) GongGetReverseFieldOwner ¶
func (inst *Form) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*Form) GongGetReverseFieldOwnerName ¶
func (inst *Form) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
func (*Form) GongMarshallAllFields ¶
func (*Form) GongMarshallField ¶
func (*Form) GongMarshallIdentifier ¶
func (*Form) GongMarshallUnstaging ¶
func (*Form) GongReconstructPointersFromInstances ¶
func (*Form) GongReconstructPointersFromReferences ¶
func (*Form) GongSetFieldValue ¶
func (form *Form) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 string
swagger:ignore
const ( GONG__STRUCT_INSTANCE GONG__ExpressionType = "STRUCT_INSTANCE" GONG__FIELD_OR_CONST_VALUE GONG__ExpressionType = "FIELD_OR_CONST_VALUE" GONG__FIELD_VALUE GONG__ExpressionType = "FIELD_VALUE" GONG__ENUM_CAST_INT GONG__ExpressionType = "ENUM_CAST_INT" GONG__ENUM_CAST_STRING GONG__ExpressionType = "ENUM_CAST_STRING" GONG__IDENTIFIER_CONST GONG__ExpressionType = "IDENTIFIER_CONST" )
type GONG__Identifier ¶
type GONG__Identifier struct {
Ident string
Type GONG__ExpressionType
}
type GongFieldHeader ¶
type GongFieldHeader struct {
Name string
GongFieldValueType
TargetGongstructName string
}
func GetFieldsFromPointer ¶
func GetFieldsFromPointer[Type PointerToGongstruct]() (res []GongFieldHeader)
GetFieldsFromPointer 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" GongFieldValueTypeBasicKind GongFieldValueType = "GongFieldValueTypeBasicKind" GongFieldValueTypePointer GongFieldValueType = "GongFieldValueTypePointer" GongFieldValueTypeSliceOfPointers GongFieldValueType = "GongFieldValueTypeSliceOfPointers" )
type GongNodeIF ¶
type GongNodeIF interface {
}
type GongStructInterface ¶
type GongStructInterface interface {
GetName() (res string)
// GetID() (res int)
// GetFields() (res []string)
// GetFieldStringValue(fieldName string) (res string)
GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
GongGetGongstructName() string
}
GongStructInterface is the interface met by GongStructs It allows runtime reflexion of instances (without the hassle of the "reflect" package)
type Gong__MouseEvent ¶
type Gong__MouseEvent struct {
ShiftKey bool
}
type Gongstruct ¶
type Gongstruct interface{}
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 GongstructEnumIntField ¶
type GongstructIF ¶
type GongstructIF interface {
GetName() string
SetName(string)
CommitVoid(*Stage)
StageVoid(*Stage)
UnstageVoid(stage *Stage)
GongGetFieldHeaders() []GongFieldHeader
GongClean(stage *Stage) (modified bool)
GongGetFieldValue(fieldName string, stage *Stage) GongFieldValue
GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
GongGetGongstructName() string
GongGetOrder(stage *Stage) uint
GongGetReferenceIdentifier(stage *Stage) string
GongGetIdentifier(stage *Stage) string
GongCopy() GongstructIF
GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) string
GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) GongstructIF
}
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 GongstructMapString ¶
type GongstructSet ¶
type GongtructBasicField ¶
type Load ¶
func (*Load) CommitVoid ¶
func (*Load) CopyBasicFields ¶
func (*Load) GongCopy ¶
func (load *Load) GongCopy() GongstructIF
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) 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) GongGetOrder ¶
func (*Load) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Load) GongGetReverseFieldOwner ¶
func (inst *Load) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*Load) GongGetReverseFieldOwnerName ¶
func (inst *Load) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
func (*Load) GongMarshallAllFields ¶
func (*Load) GongMarshallField ¶
func (*Load) GongMarshallIdentifier ¶
func (*Load) GongMarshallUnstaging ¶
func (*Load) GongReconstructPointersFromInstances ¶
func (*Load) GongReconstructPointersFromReferences ¶
func (*Load) GongSetFieldValue ¶
func (load *Load) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 CopyBranchLogoOnTheLeft ¶
func CopyBranchLogoOnTheLeft(mapOrigCopy map[any]any, logoontheleftFrom *LogoOnTheLeft) (logoontheleftTo *LogoOnTheLeft)
func (*LogoOnTheLeft) Checkout ¶
func (logoontheleft *LogoOnTheLeft) Checkout(stage *Stage) *LogoOnTheLeft
Checkout logoontheleft to the back repo (if it is already staged)
func (*LogoOnTheLeft) Commit ¶
func (logoontheleft *LogoOnTheLeft) Commit(stage *Stage) *LogoOnTheLeft
commit logoontheleft to the back repo (if it is already staged)
func (*LogoOnTheLeft) CommitVoid ¶
func (logoontheleft *LogoOnTheLeft) CommitVoid(stage *Stage)
func (*LogoOnTheLeft) CopyBasicFields ¶
func (from *LogoOnTheLeft) CopyBasicFields(to *LogoOnTheLeft)
func (*LogoOnTheLeft) GetName ¶
func (logoontheleft *LogoOnTheLeft) GetName() (res string)
for satisfaction of GongStruct interface
func (*LogoOnTheLeft) GongClean ¶
func (logoontheleft *LogoOnTheLeft) GongClean(stage *Stage) (modified bool)
Clean garbage collect unstaged instances that are referenced by LogoOnTheLeft
func (*LogoOnTheLeft) GongCopy ¶
func (logoontheleft *LogoOnTheLeft) GongCopy() GongstructIF
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) 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) 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) GongGetReverseFieldOwner ¶
func (inst *LogoOnTheLeft) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*LogoOnTheLeft) GongGetReverseFieldOwnerName ¶
func (inst *LogoOnTheLeft) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
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) (decl string)
func (*LogoOnTheLeft) GongMarshallUnstaging ¶
func (logoontheleft *LogoOnTheLeft) GongMarshallUnstaging(stage *Stage) (decl string)
func (*LogoOnTheLeft) GongReconstructPointersFromInstances ¶
func (reference *LogoOnTheLeft) GongReconstructPointersFromInstances(stage *Stage)
func (*LogoOnTheLeft) GongReconstructPointersFromReferences ¶
func (reference *LogoOnTheLeft) GongReconstructPointersFromReferences(stage *Stage, instance *LogoOnTheLeft)
func (*LogoOnTheLeft) GongSetFieldValue ¶
func (logoontheleft *LogoOnTheLeft) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 CopyBranchLogoOnTheRight ¶
func CopyBranchLogoOnTheRight(mapOrigCopy map[any]any, logoontherightFrom *LogoOnTheRight) (logoontherightTo *LogoOnTheRight)
func (*LogoOnTheRight) Checkout ¶
func (logoontheright *LogoOnTheRight) Checkout(stage *Stage) *LogoOnTheRight
Checkout logoontheright to the back repo (if it is already staged)
func (*LogoOnTheRight) Commit ¶
func (logoontheright *LogoOnTheRight) Commit(stage *Stage) *LogoOnTheRight
commit logoontheright to the back repo (if it is already staged)
func (*LogoOnTheRight) CommitVoid ¶
func (logoontheright *LogoOnTheRight) CommitVoid(stage *Stage)
func (*LogoOnTheRight) CopyBasicFields ¶
func (from *LogoOnTheRight) CopyBasicFields(to *LogoOnTheRight)
func (*LogoOnTheRight) GetName ¶
func (logoontheright *LogoOnTheRight) GetName() (res string)
for satisfaction of GongStruct interface
func (*LogoOnTheRight) GongClean ¶
func (logoontheright *LogoOnTheRight) GongClean(stage *Stage) (modified bool)
Clean garbage collect unstaged instances that are referenced by LogoOnTheRight
func (*LogoOnTheRight) GongCopy ¶
func (logoontheright *LogoOnTheRight) GongCopy() GongstructIF
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) 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) 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) GongGetReverseFieldOwner ¶
func (inst *LogoOnTheRight) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*LogoOnTheRight) GongGetReverseFieldOwnerName ¶
func (inst *LogoOnTheRight) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
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) (decl string)
func (*LogoOnTheRight) GongMarshallUnstaging ¶
func (logoontheright *LogoOnTheRight) GongMarshallUnstaging(stage *Stage) (decl string)
func (*LogoOnTheRight) GongReconstructPointersFromInstances ¶
func (reference *LogoOnTheRight) GongReconstructPointersFromInstances(stage *Stage)
func (*LogoOnTheRight) GongReconstructPointersFromReferences ¶
func (reference *LogoOnTheRight) GongReconstructPointersFromReferences(stage *Stage, instance *LogoOnTheRight)
func (*LogoOnTheRight) GongSetFieldValue ¶
func (logoontheright *LogoOnTheRight) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 CopyBranchMarkdown ¶
func (*Markdown) CommitVoid ¶
func (*Markdown) CopyBasicFields ¶
func (*Markdown) GongClean ¶
Clean garbage collect unstaged instances that are referenced by Markdown
func (*Markdown) GongCopy ¶
func (markdown *Markdown) GongCopy() GongstructIF
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) 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) GongGetOrder ¶
func (*Markdown) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Markdown) GongGetReverseFieldOwner ¶
func (inst *Markdown) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*Markdown) GongGetReverseFieldOwnerName ¶
func (inst *Markdown) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
func (*Markdown) GongMarshallAllFields ¶
func (*Markdown) GongMarshallField ¶
func (*Markdown) GongMarshallIdentifier ¶
func (*Markdown) GongMarshallUnstaging ¶
func (*Markdown) GongReconstructPointersFromInstances ¶
func (*Markdown) GongReconstructPointersFromReferences ¶
func (*Markdown) GongSetFieldValue ¶
func (markdown *Markdown) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 ModelUnmarshaller ¶
type ModelUnmarshaller 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
}
ModelUnmarshaller abstracts the logic for setting fields on a staged instance
type NamedStruct ¶
type NamedStruct struct {
// contains filtered or unexported fields
}
func (*NamedStruct) GetName ¶
func (namedStruct *NamedStruct) GetName() string
type OnAfterCreateInterface ¶
type OnAfterCreateInterface[Type Gongstruct] interface { OnAfterCreate(stage *Stage, instance *Type) }
OnAfterCreateInterface callback when an instance is updated from the front
type OnAfterDeleteInterface ¶
type OnAfterDeleteInterface[Type Gongstruct] interface { OnAfterDelete(stage *Stage, staged, front *Type) }
OnAfterDeleteInterface callback when an instance is updated from the front
type OnAfterReadInterface ¶
type OnAfterReadInterface[Type Gongstruct] interface { OnAfterRead(stage *Stage, instance *Type) }
OnAfterReadInterface callback when an instance is updated from the front
type OnAfterUpdateInterface ¶
type OnAfterUpdateInterface[Type Gongstruct] interface { OnAfterUpdate(stage *Stage, old, new *Type) }
OnAfterUpdateInterface callback when an instance is updated from the front
type OnInitCommitInterface ¶
type OnInitCommitInterface interface {
BeforeCommit(stage *Stage)
}
type PointerToGongstruct ¶
type PointerToGongstruct interface {
GongstructIF
comparable
}
type ProbeIF ¶
type ProbeIF 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 otherwise, the split package cannot refer to the main gong package
type ReverseField ¶
func GetReverseFields ¶
func GetReverseFields[Type GongstructIF]() (res []ReverseField)
type Slider ¶
func CopyBranchSlider ¶
func (*Slider) CommitVoid ¶
func (*Slider) CopyBasicFields ¶
func (*Slider) GongCopy ¶
func (slider *Slider) GongCopy() GongstructIF
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) 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) GongGetOrder ¶
func (*Slider) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Slider) GongGetReverseFieldOwner ¶
func (inst *Slider) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*Slider) GongGetReverseFieldOwnerName ¶
func (inst *Slider) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
func (*Slider) GongMarshallAllFields ¶
func (*Slider) GongMarshallField ¶
func (*Slider) GongMarshallIdentifier ¶
func (*Slider) GongMarshallUnstaging ¶
func (*Slider) GongReconstructPointersFromInstances ¶
func (*Slider) GongReconstructPointersFromReferences ¶
func (*Slider) GongSetFieldValue ¶
func (slider *Slider) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 CopyBranchSplit ¶
func (*Split) CommitVoid ¶
func (*Split) CopyBasicFields ¶
func (*Split) GongCopy ¶
func (split *Split) GongCopy() GongstructIF
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) 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) GongGetOrder ¶
func (*Split) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Split) GongGetReverseFieldOwner ¶
func (inst *Split) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*Split) GongGetReverseFieldOwnerName ¶
func (inst *Split) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
func (*Split) GongMarshallAllFields ¶
func (*Split) GongMarshallField ¶
func (*Split) GongMarshallIdentifier ¶
func (*Split) GongMarshallUnstaging ¶
func (*Split) GongReconstructPointersFromInstances ¶
func (*Split) GongReconstructPointersFromReferences ¶
func (*Split) GongSetFieldValue ¶
func (split *Split) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 {
// 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
AsSplits_reference map[*AsSplit]*AsSplit
AsSplits_referenceOrder map[*AsSplit]uint
// insertion point for slice of pointers maps
AsSplit_AsSplitAreas_reverseMap map[*AsSplitArea]*AsSplit
OnAfterAsSplitCreateCallback OnAfterCreateInterface[AsSplit]
OnAfterAsSplitUpdateCallback OnAfterUpdateInterface[AsSplit]
OnAfterAsSplitDeleteCallback OnAfterDeleteInterface[AsSplit]
OnAfterAsSplitReadCallback OnAfterReadInterface[AsSplit]
AsSplitAreas map[*AsSplitArea]struct{}
AsSplitAreas_instance map[*AsSplitArea]*AsSplitArea
AsSplitAreas_mapString map[string]*AsSplitArea
AsSplitAreaOrder uint
AsSplitArea_stagedOrder map[*AsSplitArea]uint
AsSplitAreas_reference map[*AsSplitArea]*AsSplitArea
AsSplitAreas_referenceOrder map[*AsSplitArea]uint
// insertion point for slice of pointers maps
OnAfterAsSplitAreaCreateCallback OnAfterCreateInterface[AsSplitArea]
OnAfterAsSplitAreaUpdateCallback OnAfterUpdateInterface[AsSplitArea]
OnAfterAsSplitAreaDeleteCallback OnAfterDeleteInterface[AsSplitArea]
OnAfterAsSplitAreaReadCallback OnAfterReadInterface[AsSplitArea]
Buttons map[*Button]struct{}
Buttons_instance map[*Button]*Button
Buttons_mapString map[string]*Button
ButtonOrder uint
Button_stagedOrder map[*Button]uint
Buttons_reference map[*Button]*Button
Buttons_referenceOrder map[*Button]uint
// insertion point for slice of pointers maps
OnAfterButtonCreateCallback OnAfterCreateInterface[Button]
OnAfterButtonUpdateCallback OnAfterUpdateInterface[Button]
OnAfterButtonDeleteCallback OnAfterDeleteInterface[Button]
OnAfterButtonReadCallback OnAfterReadInterface[Button]
Cursors map[*Cursor]struct{}
Cursors_instance map[*Cursor]*Cursor
Cursors_mapString map[string]*Cursor
CursorOrder uint
Cursor_stagedOrder map[*Cursor]uint
Cursors_reference map[*Cursor]*Cursor
Cursors_referenceOrder map[*Cursor]uint
// insertion point for slice of pointers maps
OnAfterCursorCreateCallback OnAfterCreateInterface[Cursor]
OnAfterCursorUpdateCallback OnAfterUpdateInterface[Cursor]
OnAfterCursorDeleteCallback OnAfterDeleteInterface[Cursor]
OnAfterCursorReadCallback OnAfterReadInterface[Cursor]
FavIcons map[*FavIcon]struct{}
FavIcons_instance map[*FavIcon]*FavIcon
FavIcons_mapString map[string]*FavIcon
FavIconOrder uint
FavIcon_stagedOrder map[*FavIcon]uint
FavIcons_reference map[*FavIcon]*FavIcon
FavIcons_referenceOrder map[*FavIcon]uint
// insertion point for slice of pointers maps
OnAfterFavIconCreateCallback OnAfterCreateInterface[FavIcon]
OnAfterFavIconUpdateCallback OnAfterUpdateInterface[FavIcon]
OnAfterFavIconDeleteCallback OnAfterDeleteInterface[FavIcon]
OnAfterFavIconReadCallback OnAfterReadInterface[FavIcon]
Forms map[*Form]struct{}
Forms_instance map[*Form]*Form
Forms_mapString map[string]*Form
FormOrder uint
Form_stagedOrder map[*Form]uint
Forms_reference map[*Form]*Form
Forms_referenceOrder map[*Form]uint
// insertion point for slice of pointers maps
OnAfterFormCreateCallback OnAfterCreateInterface[Form]
OnAfterFormUpdateCallback OnAfterUpdateInterface[Form]
OnAfterFormDeleteCallback OnAfterDeleteInterface[Form]
OnAfterFormReadCallback OnAfterReadInterface[Form]
Loads map[*Load]struct{}
Loads_instance map[*Load]*Load
Loads_mapString map[string]*Load
LoadOrder uint
Load_stagedOrder map[*Load]uint
Loads_reference map[*Load]*Load
Loads_referenceOrder map[*Load]uint
// insertion point for slice of pointers maps
OnAfterLoadCreateCallback OnAfterCreateInterface[Load]
OnAfterLoadUpdateCallback OnAfterUpdateInterface[Load]
OnAfterLoadDeleteCallback OnAfterDeleteInterface[Load]
OnAfterLoadReadCallback OnAfterReadInterface[Load]
LogoOnTheLefts map[*LogoOnTheLeft]struct{}
LogoOnTheLefts_instance map[*LogoOnTheLeft]*LogoOnTheLeft
LogoOnTheLefts_mapString map[string]*LogoOnTheLeft
LogoOnTheLeftOrder uint
LogoOnTheLeft_stagedOrder map[*LogoOnTheLeft]uint
LogoOnTheLefts_reference map[*LogoOnTheLeft]*LogoOnTheLeft
LogoOnTheLefts_referenceOrder map[*LogoOnTheLeft]uint
// insertion point for slice of pointers maps
OnAfterLogoOnTheLeftCreateCallback OnAfterCreateInterface[LogoOnTheLeft]
OnAfterLogoOnTheLeftUpdateCallback OnAfterUpdateInterface[LogoOnTheLeft]
OnAfterLogoOnTheLeftDeleteCallback OnAfterDeleteInterface[LogoOnTheLeft]
OnAfterLogoOnTheLeftReadCallback OnAfterReadInterface[LogoOnTheLeft]
LogoOnTheRights map[*LogoOnTheRight]struct{}
LogoOnTheRights_instance map[*LogoOnTheRight]*LogoOnTheRight
LogoOnTheRights_mapString map[string]*LogoOnTheRight
LogoOnTheRightOrder uint
LogoOnTheRight_stagedOrder map[*LogoOnTheRight]uint
LogoOnTheRights_reference map[*LogoOnTheRight]*LogoOnTheRight
LogoOnTheRights_referenceOrder map[*LogoOnTheRight]uint
// insertion point for slice of pointers maps
OnAfterLogoOnTheRightCreateCallback OnAfterCreateInterface[LogoOnTheRight]
OnAfterLogoOnTheRightUpdateCallback OnAfterUpdateInterface[LogoOnTheRight]
OnAfterLogoOnTheRightDeleteCallback OnAfterDeleteInterface[LogoOnTheRight]
OnAfterLogoOnTheRightReadCallback OnAfterReadInterface[LogoOnTheRight]
Markdowns map[*Markdown]struct{}
Markdowns_instance map[*Markdown]*Markdown
Markdowns_mapString map[string]*Markdown
MarkdownOrder uint
Markdown_stagedOrder map[*Markdown]uint
Markdowns_reference map[*Markdown]*Markdown
Markdowns_referenceOrder map[*Markdown]uint
// insertion point for slice of pointers maps
OnAfterMarkdownCreateCallback OnAfterCreateInterface[Markdown]
OnAfterMarkdownUpdateCallback OnAfterUpdateInterface[Markdown]
OnAfterMarkdownDeleteCallback OnAfterDeleteInterface[Markdown]
OnAfterMarkdownReadCallback OnAfterReadInterface[Markdown]
Sliders map[*Slider]struct{}
Sliders_instance map[*Slider]*Slider
Sliders_mapString map[string]*Slider
SliderOrder uint
Slider_stagedOrder map[*Slider]uint
Sliders_reference map[*Slider]*Slider
Sliders_referenceOrder map[*Slider]uint
// insertion point for slice of pointers maps
OnAfterSliderCreateCallback OnAfterCreateInterface[Slider]
OnAfterSliderUpdateCallback OnAfterUpdateInterface[Slider]
OnAfterSliderDeleteCallback OnAfterDeleteInterface[Slider]
OnAfterSliderReadCallback OnAfterReadInterface[Slider]
Splits map[*Split]struct{}
Splits_instance map[*Split]*Split
Splits_mapString map[string]*Split
SplitOrder uint
Split_stagedOrder map[*Split]uint
Splits_reference map[*Split]*Split
Splits_referenceOrder map[*Split]uint
// insertion point for slice of pointers maps
OnAfterSplitCreateCallback OnAfterCreateInterface[Split]
OnAfterSplitUpdateCallback OnAfterUpdateInterface[Split]
OnAfterSplitDeleteCallback OnAfterDeleteInterface[Split]
OnAfterSplitReadCallback OnAfterReadInterface[Split]
Svgs map[*Svg]struct{}
Svgs_instance map[*Svg]*Svg
Svgs_mapString map[string]*Svg
SvgOrder uint
Svg_stagedOrder map[*Svg]uint
Svgs_reference map[*Svg]*Svg
Svgs_referenceOrder map[*Svg]uint
// insertion point for slice of pointers maps
OnAfterSvgCreateCallback OnAfterCreateInterface[Svg]
OnAfterSvgUpdateCallback OnAfterUpdateInterface[Svg]
OnAfterSvgDeleteCallback OnAfterDeleteInterface[Svg]
OnAfterSvgReadCallback OnAfterReadInterface[Svg]
Tables map[*Table]struct{}
Tables_instance map[*Table]*Table
Tables_mapString map[string]*Table
TableOrder uint
Table_stagedOrder map[*Table]uint
Tables_reference map[*Table]*Table
Tables_referenceOrder map[*Table]uint
// insertion point for slice of pointers maps
OnAfterTableCreateCallback OnAfterCreateInterface[Table]
OnAfterTableUpdateCallback OnAfterUpdateInterface[Table]
OnAfterTableDeleteCallback OnAfterDeleteInterface[Table]
OnAfterTableReadCallback OnAfterReadInterface[Table]
Titles map[*Title]struct{}
Titles_instance map[*Title]*Title
Titles_mapString map[string]*Title
TitleOrder uint
Title_stagedOrder map[*Title]uint
Titles_reference map[*Title]*Title
Titles_referenceOrder map[*Title]uint
// insertion point for slice of pointers maps
OnAfterTitleCreateCallback OnAfterCreateInterface[Title]
OnAfterTitleUpdateCallback OnAfterUpdateInterface[Title]
OnAfterTitleDeleteCallback OnAfterDeleteInterface[Title]
OnAfterTitleReadCallback OnAfterReadInterface[Title]
Tones map[*Tone]struct{}
Tones_instance map[*Tone]*Tone
Tones_mapString map[string]*Tone
ToneOrder uint
Tone_stagedOrder map[*Tone]uint
Tones_reference map[*Tone]*Tone
Tones_referenceOrder map[*Tone]uint
// insertion point for slice of pointers maps
OnAfterToneCreateCallback OnAfterCreateInterface[Tone]
OnAfterToneUpdateCallback OnAfterUpdateInterface[Tone]
OnAfterToneDeleteCallback OnAfterDeleteInterface[Tone]
OnAfterToneReadCallback OnAfterReadInterface[Tone]
Trees map[*Tree]struct{}
Trees_instance map[*Tree]*Tree
Trees_mapString map[string]*Tree
TreeOrder uint
Tree_stagedOrder map[*Tree]uint
Trees_reference map[*Tree]*Tree
Trees_referenceOrder map[*Tree]uint
// insertion point for slice of pointers maps
OnAfterTreeCreateCallback OnAfterCreateInterface[Tree]
OnAfterTreeUpdateCallback OnAfterUpdateInterface[Tree]
OnAfterTreeDeleteCallback OnAfterDeleteInterface[Tree]
OnAfterTreeReadCallback OnAfterReadInterface[Tree]
Views map[*View]struct{}
Views_instance map[*View]*View
Views_mapString map[string]*View
ViewOrder uint
View_stagedOrder map[*View]uint
Views_reference map[*View]*View
Views_referenceOrder map[*View]uint
// insertion point for slice of pointers maps
View_RootAsSplitAreas_reverseMap map[*AsSplitArea]*View
OnAfterViewCreateCallback OnAfterCreateInterface[View]
OnAfterViewUpdateCallback OnAfterUpdateInterface[View]
OnAfterViewDeleteCallback OnAfterDeleteInterface[View]
OnAfterViewReadCallback OnAfterReadInterface[View]
Xlsxs map[*Xlsx]struct{}
Xlsxs_instance map[*Xlsx]*Xlsx
Xlsxs_mapString map[string]*Xlsx
XlsxOrder uint
Xlsx_stagedOrder map[*Xlsx]uint
Xlsxs_reference map[*Xlsx]*Xlsx
Xlsxs_referenceOrder map[*Xlsx]uint
// insertion point for slice of pointers maps
OnAfterXlsxCreateCallback OnAfterCreateInterface[Xlsx]
OnAfterXlsxUpdateCallback OnAfterUpdateInterface[Xlsx]
OnAfterXlsxDeleteCallback OnAfterDeleteInterface[Xlsx]
OnAfterXlsxReadCallback OnAfterReadInterface[Xlsx]
AllModelsStructCreateCallback AllModelsStructCreateInterface
AllModelsStructDeleteCallback AllModelsStructDeleteInterface
BackRepo BackRepoInterface
// if set will be called before each commit to the back repo
OnInitCommitCallback OnInitCommitInterface
OnInitCommitFromFrontCallback OnInitCommitInterface
OnInitCommitFromBackCallback OnInitCommitInterface
// store the number of instance per gongstruct
Map_GongStructName_InstancesNb map[string]int
// store meta package import
MetaPackageImportPath string
MetaPackageImportAlias string
// 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
NamedStructs []*NamedStruct
// GongUnmarshallers is the registry of all model unmarshallers
GongUnmarshallers map[string]ModelUnmarshaller
// contains filtered or unexported fields
}
Stage enables storage of staged instances
func (*Stage) ApplyBackwardCommit ¶
ApplyBackwardCommit applies the commit before the current one
func (*Stage) ApplyForwardCommit ¶
func (*Stage) Clean ¶
Clean garbage collect unstaged instances that are referenced by staged elements
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) GetBackwardCommits ¶
func (*Stage) GetCommitsBehind ¶
func (*Stage) GetDigramsEmbededDir ¶
func (*Stage) GetForwardCommits ¶
func (*Stage) GetInstances ¶
func (stage *Stage) GetInstances() (res []GongstructIF)
func (*Stage) GetMap_GongStructName_InstancesNb ¶
func (*Stage) GetModelsEmbededDir ¶
func (*Stage) GetNamedStructNamesByOrder ¶
func (*Stage) GetNamedStructsNames ¶
GetNamedStructs implements models.ProbebStage.
func (*Stage) GetProbeFormStageName ¶
func (*Stage) GetProbeIF ¶
func (*Stage) GetProbeNotificationTableStageName ¶
func (*Stage) GetProbeSplitStageName ¶
func (*Stage) GetProbeTableStageName ¶
func (*Stage) GetProbeTreeSidebarStageName ¶
func (*Stage) IsInDeltaMode ¶
func (*Stage) IsStagedAsSplit ¶
insertion point for stage per struct
func (*Stage) IsStagedAsSplitArea ¶
func (stage *Stage) IsStagedAsSplitArea(assplitarea *AsSplitArea) (ok bool)
func (*Stage) IsStagedButton ¶
func (*Stage) IsStagedCursor ¶
func (*Stage) IsStagedFavIcon ¶
func (*Stage) IsStagedForm ¶
func (*Stage) IsStagedLoad ¶
func (*Stage) IsStagedLogoOnTheLeft ¶
func (stage *Stage) IsStagedLogoOnTheLeft(logoontheleft *LogoOnTheLeft) (ok bool)
func (*Stage) IsStagedLogoOnTheRight ¶
func (stage *Stage) IsStagedLogoOnTheRight(logoontheright *LogoOnTheRight) (ok bool)
func (*Stage) IsStagedMarkdown ¶
func (*Stage) IsStagedSlider ¶
func (*Stage) IsStagedSplit ¶
func (*Stage) IsStagedSvg ¶
func (*Stage) IsStagedTable ¶
func (*Stage) IsStagedTitle ¶
func (*Stage) IsStagedTone ¶
func (*Stage) IsStagedTree ¶
func (*Stage) IsStagedView ¶
func (*Stage) IsStagedXlsx ¶
func (*Stage) Marshall ¶
Marshall marshall the stage content into the file as an instanciation into a stage
func (*Stage) MarshallToString ¶
MarshallToString marshall the stage content into 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) SetDeltaMode ¶
func (*Stage) SetProbeIF ¶
func (*Stage) StageBranchAsSplit ¶
insertion point for stage branch per struct
func (*Stage) StageBranchAsSplitArea ¶
func (stage *Stage) StageBranchAsSplitArea(assplitarea *AsSplitArea)
func (*Stage) StageBranchButton ¶
func (*Stage) StageBranchCursor ¶
func (*Stage) StageBranchFavIcon ¶
func (*Stage) StageBranchForm ¶
func (*Stage) StageBranchLoad ¶
func (*Stage) StageBranchLogoOnTheLeft ¶
func (stage *Stage) StageBranchLogoOnTheLeft(logoontheleft *LogoOnTheLeft)
func (*Stage) StageBranchLogoOnTheRight ¶
func (stage *Stage) StageBranchLogoOnTheRight(logoontheright *LogoOnTheRight)
func (*Stage) StageBranchMarkdown ¶
func (*Stage) StageBranchSlider ¶
func (*Stage) StageBranchSplit ¶
func (*Stage) StageBranchSvg ¶
func (*Stage) StageBranchTable ¶
func (*Stage) StageBranchTitle ¶
func (*Stage) StageBranchTone ¶
func (*Stage) StageBranchTree ¶
func (*Stage) StageBranchView ¶
func (*Stage) StageBranchXlsx ¶
func (*Stage) UnstageBranchAsSplit ¶
insertion point for unstage branch per struct
func (*Stage) UnstageBranchAsSplitArea ¶
func (stage *Stage) UnstageBranchAsSplitArea(assplitarea *AsSplitArea)
func (*Stage) UnstageBranchButton ¶
func (*Stage) UnstageBranchCursor ¶
func (*Stage) UnstageBranchFavIcon ¶
func (*Stage) UnstageBranchForm ¶
func (*Stage) UnstageBranchLoad ¶
func (*Stage) UnstageBranchLogoOnTheLeft ¶
func (stage *Stage) UnstageBranchLogoOnTheLeft(logoontheleft *LogoOnTheLeft)
func (*Stage) UnstageBranchLogoOnTheRight ¶
func (stage *Stage) UnstageBranchLogoOnTheRight(logoontheright *LogoOnTheRight)
func (*Stage) UnstageBranchMarkdown ¶
func (*Stage) UnstageBranchSlider ¶
func (*Stage) UnstageBranchSplit ¶
func (*Stage) UnstageBranchSvg ¶
func (*Stage) UnstageBranchTable ¶
func (*Stage) UnstageBranchTitle ¶
func (*Stage) UnstageBranchTone ¶
func (*Stage) UnstageBranchTree ¶
func (*Stage) UnstageBranchView ¶
func (*Stage) UnstageBranchXlsx ¶
type Svg ¶
func (*Svg) CommitVoid ¶
func (*Svg) CopyBasicFields ¶
func (*Svg) GongCopy ¶
func (svg *Svg) GongCopy() GongstructIF
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) 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) GongGetOrder ¶
func (*Svg) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Svg) GongGetReverseFieldOwner ¶
func (inst *Svg) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*Svg) GongGetReverseFieldOwnerName ¶
func (inst *Svg) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
func (*Svg) GongMarshallAllFields ¶
func (*Svg) GongMarshallField ¶
func (*Svg) GongMarshallIdentifier ¶
func (*Svg) GongMarshallUnstaging ¶
func (*Svg) GongReconstructPointersFromInstances ¶
func (*Svg) GongReconstructPointersFromReferences ¶
func (*Svg) GongSetFieldValue ¶
func (svg *Svg) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 CopyBranchTable ¶
func (*Table) CommitVoid ¶
func (*Table) CopyBasicFields ¶
func (*Table) GongCopy ¶
func (table *Table) GongCopy() GongstructIF
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) 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) GongGetOrder ¶
func (*Table) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Table) GongGetReverseFieldOwner ¶
func (inst *Table) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*Table) GongGetReverseFieldOwnerName ¶
func (inst *Table) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
func (*Table) GongMarshallAllFields ¶
func (*Table) GongMarshallField ¶
func (*Table) GongMarshallIdentifier ¶
func (*Table) GongMarshallUnstaging ¶
func (*Table) GongReconstructPointersFromInstances ¶
func (*Table) GongReconstructPointersFromReferences ¶
func (*Table) GongSetFieldValue ¶
func (table *Table) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 interface {
AddSheet(sheetName string)
AddRow(sheetName string) int
AddCell(sheetName string, rowId, columnIndex int, value string)
}
Tabulator is an interface for writing to a table strings
type Title ¶
type Title struct {
Name string
}
You can configure the browser tab title and favicon dynamically in Angular
func CopyBranchTitle ¶
func (*Title) CommitVoid ¶
func (*Title) CopyBasicFields ¶
func (*Title) GongCopy ¶
func (title *Title) GongCopy() GongstructIF
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) 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) GongGetOrder ¶
func (*Title) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Title) GongGetReverseFieldOwner ¶
func (inst *Title) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*Title) GongGetReverseFieldOwnerName ¶
func (inst *Title) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
func (*Title) GongMarshallAllFields ¶
func (*Title) GongMarshallField ¶
func (*Title) GongMarshallIdentifier ¶
func (*Title) GongMarshallUnstaging ¶
func (*Title) GongReconstructPointersFromInstances ¶
func (*Title) GongReconstructPointersFromReferences ¶
func (*Title) GongSetFieldValue ¶
func (title *Title) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 (*Tone) CommitVoid ¶
func (*Tone) CopyBasicFields ¶
func (*Tone) GongCopy ¶
func (tone *Tone) GongCopy() GongstructIF
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) 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) GongGetOrder ¶
func (*Tone) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Tone) GongGetReverseFieldOwner ¶
func (inst *Tone) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*Tone) GongGetReverseFieldOwnerName ¶
func (inst *Tone) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
func (*Tone) GongMarshallAllFields ¶
func (*Tone) GongMarshallField ¶
func (*Tone) GongMarshallIdentifier ¶
func (*Tone) GongMarshallUnstaging ¶
func (*Tone) GongReconstructPointersFromInstances ¶
func (*Tone) GongReconstructPointersFromReferences ¶
func (*Tone) GongSetFieldValue ¶
func (tone *Tone) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 (*Tree) CommitVoid ¶
func (*Tree) CopyBasicFields ¶
func (*Tree) GongCopy ¶
func (tree *Tree) GongCopy() GongstructIF
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) 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) GongGetOrder ¶
func (*Tree) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Tree) GongGetReverseFieldOwner ¶
func (inst *Tree) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*Tree) GongGetReverseFieldOwnerName ¶
func (inst *Tree) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
func (*Tree) GongMarshallAllFields ¶
func (*Tree) GongMarshallField ¶
func (*Tree) GongMarshallIdentifier ¶
func (*Tree) GongMarshallUnstaging ¶
func (*Tree) GongReconstructPointersFromInstances ¶
func (*Tree) GongReconstructPointersFromReferences ¶
func (*Tree) GongSetFieldValue ¶
func (tree *Tree) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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
IsSecondatyView bool
}
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 (*View) CommitVoid ¶
func (*View) CopyBasicFields ¶
func (*View) GongCopy ¶
func (view *View) GongCopy() GongstructIF
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) 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) GongGetOrder ¶
func (*View) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*View) GongGetReverseFieldOwner ¶
func (inst *View) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*View) GongGetReverseFieldOwnerName ¶
func (inst *View) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
func (*View) GongMarshallAllFields ¶
func (*View) GongMarshallField ¶
func (*View) GongMarshallIdentifier ¶
func (*View) GongMarshallUnstaging ¶
func (*View) GongReconstructPointersFromInstances ¶
func (*View) GongReconstructPointersFromReferences ¶
func (*View) GongSetFieldValue ¶
func (view *View) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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 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 (*Xlsx) CommitVoid ¶
func (*Xlsx) CopyBasicFields ¶
func (*Xlsx) GongCopy ¶
func (xlsx *Xlsx) GongCopy() GongstructIF
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) 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) GongGetOrder ¶
func (*Xlsx) GongGetReferenceIdentifier ¶
GongGetReferenceIdentifier returns an identifier when it was staged (it may have been unstaged since)
func (*Xlsx) GongGetReverseFieldOwner ¶
func (inst *Xlsx) GongGetReverseFieldOwner(stage *Stage, reverseField *ReverseField) (res GongstructIF)
func (*Xlsx) GongGetReverseFieldOwnerName ¶
func (inst *Xlsx) GongGetReverseFieldOwnerName(stage *Stage, reverseField *ReverseField) (res string)
func (*Xlsx) GongMarshallAllFields ¶
func (*Xlsx) GongMarshallField ¶
func (*Xlsx) GongMarshallIdentifier ¶
func (*Xlsx) GongMarshallUnstaging ¶
func (*Xlsx) GongReconstructPointersFromInstances ¶
func (*Xlsx) GongReconstructPointersFromReferences ¶
func (*Xlsx) GongSetFieldValue ¶
func (xlsx *Xlsx) GongSetFieldValue(fieldName string, value GongFieldValue, stage *Stage) error
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