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
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) T
- func GongCleanSlice[T PointerToGongstruct](stage *Stage, slice []T) []T
- func GongExtractBool(expr ast.Expr) bool
- 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 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)
- 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 ParseAstEmbeddedFile2(stage *Stage, directory embed.FS, pathToFile string) error
- func ParseAstFile(stage *Stage, pathToFile string, preserveOrder bool) error
- func ParseAstFile2(stage *Stage, pathToFile string, preserveOrder bool) error
- func ParseAstFileFromAst(stage *Stage, inFile *ast.File, fset *token.FileSet, preserveOrder bool) error
- func ParseAstFileFromAst2(stage *Stage, inFile *ast.File, fset *token.FileSet, preserveOrder bool) error
- func ReplaceOldDeclarationsInFile(pathToFile string) 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 UnmarshallGongstructStaging(stage *Stage, cmap *ast.CommentMap, assignStmt *ast.AssignStmt, ...) (instance any, identifier string, gongstructName string, fieldName 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)
- 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 (assplit *AsSplit) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (assplitarea *AsSplitArea) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (button *Button) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (cursor *Cursor) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (favicon *FavIcon) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (form *Form) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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 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)
- 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 (load *Load) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (logoontheleft *LogoOnTheLeft) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (logoontheright *LogoOnTheRight) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (markdown *Markdown) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (slider *Slider) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (split *Split) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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) Backup(dirPath string)
- func (stage *Stage) BackupXL(dirPath string)
- func (stage *Stage) Checkout()
- func (stage *Stage) Clean()
- func (stage *Stage) Commit()
- func (stage *Stage) CommitWithSuspendedCallbacks()
- func (stage *Stage) ComputeDifference()
- func (stage *Stage) ComputeInstancesNb()
- func (stage *Stage) ComputeReference()
- func (stage *Stage) ComputeReverseMaps()
- func (stage *Stage) GetDigramsEmbededDir() embed.FS
- 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) IsDeltaMode() 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) 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) Reset()
- func (stage *Stage) ResetCommits()
- 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) 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)
- 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 (svg *Svg) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (table *Table) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (title *Title) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (tone *Tone) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (tree *Tree) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (view *View) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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)
- 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 (xlsx *Xlsx) GongGetReferenceOrder(stage *Stage) uint
- 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) (initializerStatements string, pointersInitializesStatements 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 (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 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 ProbeFormSuffix = ":form of the probe"
const ProbeNotificationTableSuffix = ":notification table of the probe"
const ProbeSplitSuffix = ":probe of the probe"
const ProbeTableSuffix = ":table of the probe"
const ProbeTreeSidebarSuffix = ":sidebar of the probe"
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) T
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) []T
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 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 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)
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 specified by pathToFile within the provided embed.FS directory and stages instances declared in the file using the provided Stage.
Parameters:
stage: The staging area to populate. directory: The embedded filesystem containing the file. pathToFile: The path to the Go source file within the embedded filesystem.
Returns:
An error if reading or parsing the file fails, or if ParseAstFileFromAst fails.
func ParseAstEmbeddedFile2 ¶
ParseAstEmbeddedFile parses the Go source code from an embedded file
func ParseAstFile ¶
ParseAstFile Parse pathToFile and stages all instances declared in the file
func ParseAstFile2 ¶
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
ParseAstFile Parse pathToFile and stages all instances declared in the file
func ParseAstFileFromAst2 ¶
func ParseAstFileFromAst2(stage *Stage, inFile *ast.File, fset *token.FileSet, preserveOrder bool) error
ParseAstFileFromAst traverses the AST and stages instances using the Unmarshaller registry
func ReplaceOldDeclarationsInFile ¶
ReplaceOldDeclarationsInFile replaces specific text in a file at the given path.
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 UnmarshallGongstructStaging ¶
func UnmarshallGongstructStaging(stage *Stage, cmap *ast.CommentMap, assignStmt *ast.AssignStmt, astCoordinate_ string, preserveOrder bool) ( instance any, identifier string, gongstructName string, fieldName string)
UnmarshallGoStaging unmarshall a go assign statement
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) GongGetReferenceOrder ¶
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 ¶
func (assplit *AsSplit) GongMarshallAllFields(stage *Stage) (initializerStatements string, pointersInitializesStatements string)
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) 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)
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) GongGetReferenceOrder ¶
func (assplitarea *AsSplitArea) GongGetReferenceOrder(stage *Stage) uint
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) (initializerStatements string, pointersInitializesStatements 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) 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, 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, 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) GongGetReferenceOrder ¶
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) 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, 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) GongGetReferenceOrder ¶
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) 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, 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) GongGetReferenceOrder ¶
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) 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, 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) GongGetReferenceOrder ¶
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) 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, 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" GongFieldValueTypeFloat GongFieldValueType = "GongFieldValueTypeFloat" GongFieldValueTypeBool GongFieldValueType = "GongFieldValueTypeBool" GongFieldValueTypeString GongFieldValueType = "GongFieldValueTypeString" GongFieldValueTypeBasicKind GongFieldValueType = "GongFieldValueTypeBasicKind" GongFieldValueTypePointer GongFieldValueType = "GongFieldValueTypePointer" GongFieldValueTypeSliceOfPointers GongFieldValueType = "GongFieldValueTypeSliceOfPointers" )
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)
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) GongGetReferenceOrder ¶
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) 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, 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)
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) GongGetReferenceOrder ¶
func (logoontheleft *LogoOnTheLeft) GongGetReferenceOrder(stage *Stage) uint
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) (initializerStatements string, pointersInitializesStatements 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) 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, 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)
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) GongGetReferenceOrder ¶
func (logoontheright *LogoOnTheRight) GongGetReferenceOrder(stage *Stage) uint
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) (initializerStatements string, pointersInitializesStatements 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) 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, 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) GongGetReferenceOrder ¶
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) 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, 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, 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) GongGetReferenceOrder ¶
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) 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, 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) GongGetReferenceOrder ¶
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) 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, 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_reference map[*AsSplit]*AsSplit
AsSplits_referenceOrder map[*AsSplit]uint // diff Unstage needs the reference order
AsSplits_mapString map[string]*AsSplit
// 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_reference map[*AsSplitArea]*AsSplitArea
AsSplitAreas_referenceOrder map[*AsSplitArea]uint // diff Unstage needs the reference order
AsSplitAreas_mapString map[string]*AsSplitArea
// insertion point for slice of pointers maps
OnAfterAsSplitAreaCreateCallback OnAfterCreateInterface[AsSplitArea]
OnAfterAsSplitAreaUpdateCallback OnAfterUpdateInterface[AsSplitArea]
OnAfterAsSplitAreaDeleteCallback OnAfterDeleteInterface[AsSplitArea]
OnAfterAsSplitAreaReadCallback OnAfterReadInterface[AsSplitArea]
Buttons map[*Button]struct{}
Buttons_reference map[*Button]*Button
Buttons_referenceOrder map[*Button]uint // diff Unstage needs the reference order
Buttons_mapString map[string]*Button
// insertion point for slice of pointers maps
OnAfterButtonCreateCallback OnAfterCreateInterface[Button]
OnAfterButtonUpdateCallback OnAfterUpdateInterface[Button]
OnAfterButtonDeleteCallback OnAfterDeleteInterface[Button]
OnAfterButtonReadCallback OnAfterReadInterface[Button]
Cursors map[*Cursor]struct{}
Cursors_reference map[*Cursor]*Cursor
Cursors_referenceOrder map[*Cursor]uint // diff Unstage needs the reference order
Cursors_mapString map[string]*Cursor
// insertion point for slice of pointers maps
OnAfterCursorCreateCallback OnAfterCreateInterface[Cursor]
OnAfterCursorUpdateCallback OnAfterUpdateInterface[Cursor]
OnAfterCursorDeleteCallback OnAfterDeleteInterface[Cursor]
OnAfterCursorReadCallback OnAfterReadInterface[Cursor]
FavIcons map[*FavIcon]struct{}
FavIcons_reference map[*FavIcon]*FavIcon
FavIcons_referenceOrder map[*FavIcon]uint // diff Unstage needs the reference order
FavIcons_mapString map[string]*FavIcon
// insertion point for slice of pointers maps
OnAfterFavIconCreateCallback OnAfterCreateInterface[FavIcon]
OnAfterFavIconUpdateCallback OnAfterUpdateInterface[FavIcon]
OnAfterFavIconDeleteCallback OnAfterDeleteInterface[FavIcon]
OnAfterFavIconReadCallback OnAfterReadInterface[FavIcon]
Forms map[*Form]struct{}
Forms_reference map[*Form]*Form
Forms_referenceOrder map[*Form]uint // diff Unstage needs the reference order
Forms_mapString map[string]*Form
// insertion point for slice of pointers maps
OnAfterFormCreateCallback OnAfterCreateInterface[Form]
OnAfterFormUpdateCallback OnAfterUpdateInterface[Form]
OnAfterFormDeleteCallback OnAfterDeleteInterface[Form]
OnAfterFormReadCallback OnAfterReadInterface[Form]
Loads map[*Load]struct{}
Loads_reference map[*Load]*Load
Loads_referenceOrder map[*Load]uint // diff Unstage needs the reference order
Loads_mapString map[string]*Load
// insertion point for slice of pointers maps
OnAfterLoadCreateCallback OnAfterCreateInterface[Load]
OnAfterLoadUpdateCallback OnAfterUpdateInterface[Load]
OnAfterLoadDeleteCallback OnAfterDeleteInterface[Load]
OnAfterLoadReadCallback OnAfterReadInterface[Load]
LogoOnTheLefts map[*LogoOnTheLeft]struct{}
LogoOnTheLefts_reference map[*LogoOnTheLeft]*LogoOnTheLeft
LogoOnTheLefts_referenceOrder map[*LogoOnTheLeft]uint // diff Unstage needs the reference order
LogoOnTheLefts_mapString map[string]*LogoOnTheLeft
// insertion point for slice of pointers maps
OnAfterLogoOnTheLeftCreateCallback OnAfterCreateInterface[LogoOnTheLeft]
OnAfterLogoOnTheLeftUpdateCallback OnAfterUpdateInterface[LogoOnTheLeft]
OnAfterLogoOnTheLeftDeleteCallback OnAfterDeleteInterface[LogoOnTheLeft]
OnAfterLogoOnTheLeftReadCallback OnAfterReadInterface[LogoOnTheLeft]
LogoOnTheRights map[*LogoOnTheRight]struct{}
LogoOnTheRights_reference map[*LogoOnTheRight]*LogoOnTheRight
LogoOnTheRights_referenceOrder map[*LogoOnTheRight]uint // diff Unstage needs the reference order
LogoOnTheRights_mapString map[string]*LogoOnTheRight
// insertion point for slice of pointers maps
OnAfterLogoOnTheRightCreateCallback OnAfterCreateInterface[LogoOnTheRight]
OnAfterLogoOnTheRightUpdateCallback OnAfterUpdateInterface[LogoOnTheRight]
OnAfterLogoOnTheRightDeleteCallback OnAfterDeleteInterface[LogoOnTheRight]
OnAfterLogoOnTheRightReadCallback OnAfterReadInterface[LogoOnTheRight]
Markdowns map[*Markdown]struct{}
Markdowns_reference map[*Markdown]*Markdown
Markdowns_referenceOrder map[*Markdown]uint // diff Unstage needs the reference order
Markdowns_mapString map[string]*Markdown
// insertion point for slice of pointers maps
OnAfterMarkdownCreateCallback OnAfterCreateInterface[Markdown]
OnAfterMarkdownUpdateCallback OnAfterUpdateInterface[Markdown]
OnAfterMarkdownDeleteCallback OnAfterDeleteInterface[Markdown]
OnAfterMarkdownReadCallback OnAfterReadInterface[Markdown]
Sliders map[*Slider]struct{}
Sliders_reference map[*Slider]*Slider
Sliders_referenceOrder map[*Slider]uint // diff Unstage needs the reference order
Sliders_mapString map[string]*Slider
// insertion point for slice of pointers maps
OnAfterSliderCreateCallback OnAfterCreateInterface[Slider]
OnAfterSliderUpdateCallback OnAfterUpdateInterface[Slider]
OnAfterSliderDeleteCallback OnAfterDeleteInterface[Slider]
OnAfterSliderReadCallback OnAfterReadInterface[Slider]
Splits map[*Split]struct{}
Splits_reference map[*Split]*Split
Splits_referenceOrder map[*Split]uint // diff Unstage needs the reference order
Splits_mapString map[string]*Split
// insertion point for slice of pointers maps
OnAfterSplitCreateCallback OnAfterCreateInterface[Split]
OnAfterSplitUpdateCallback OnAfterUpdateInterface[Split]
OnAfterSplitDeleteCallback OnAfterDeleteInterface[Split]
OnAfterSplitReadCallback OnAfterReadInterface[Split]
Svgs map[*Svg]struct{}
Svgs_reference map[*Svg]*Svg
Svgs_referenceOrder map[*Svg]uint // diff Unstage needs the reference order
Svgs_mapString map[string]*Svg
// insertion point for slice of pointers maps
OnAfterSvgCreateCallback OnAfterCreateInterface[Svg]
OnAfterSvgUpdateCallback OnAfterUpdateInterface[Svg]
OnAfterSvgDeleteCallback OnAfterDeleteInterface[Svg]
OnAfterSvgReadCallback OnAfterReadInterface[Svg]
Tables map[*Table]struct{}
Tables_reference map[*Table]*Table
Tables_referenceOrder map[*Table]uint // diff Unstage needs the reference order
Tables_mapString map[string]*Table
// insertion point for slice of pointers maps
OnAfterTableCreateCallback OnAfterCreateInterface[Table]
OnAfterTableUpdateCallback OnAfterUpdateInterface[Table]
OnAfterTableDeleteCallback OnAfterDeleteInterface[Table]
OnAfterTableReadCallback OnAfterReadInterface[Table]
Titles map[*Title]struct{}
Titles_reference map[*Title]*Title
Titles_referenceOrder map[*Title]uint // diff Unstage needs the reference order
Titles_mapString map[string]*Title
// insertion point for slice of pointers maps
OnAfterTitleCreateCallback OnAfterCreateInterface[Title]
OnAfterTitleUpdateCallback OnAfterUpdateInterface[Title]
OnAfterTitleDeleteCallback OnAfterDeleteInterface[Title]
OnAfterTitleReadCallback OnAfterReadInterface[Title]
Tones map[*Tone]struct{}
Tones_reference map[*Tone]*Tone
Tones_referenceOrder map[*Tone]uint // diff Unstage needs the reference order
Tones_mapString map[string]*Tone
// insertion point for slice of pointers maps
OnAfterToneCreateCallback OnAfterCreateInterface[Tone]
OnAfterToneUpdateCallback OnAfterUpdateInterface[Tone]
OnAfterToneDeleteCallback OnAfterDeleteInterface[Tone]
OnAfterToneReadCallback OnAfterReadInterface[Tone]
Trees map[*Tree]struct{}
Trees_reference map[*Tree]*Tree
Trees_referenceOrder map[*Tree]uint // diff Unstage needs the reference order
Trees_mapString map[string]*Tree
// insertion point for slice of pointers maps
OnAfterTreeCreateCallback OnAfterCreateInterface[Tree]
OnAfterTreeUpdateCallback OnAfterUpdateInterface[Tree]
OnAfterTreeDeleteCallback OnAfterDeleteInterface[Tree]
OnAfterTreeReadCallback OnAfterReadInterface[Tree]
Views map[*View]struct{}
Views_reference map[*View]*View
Views_referenceOrder map[*View]uint // diff Unstage needs the reference order
Views_mapString map[string]*View
// 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_reference map[*Xlsx]*Xlsx
Xlsxs_referenceOrder map[*Xlsx]uint // diff Unstage needs the reference order
Xlsxs_mapString map[string]*Xlsx
// 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
// store the stage order of each instance in order to
// preserve this order when serializing them
// insertion point for order fields declaration
AsSplitOrder uint
AsSplitMap_Staged_Order map[*AsSplit]uint
AsSplitAreaOrder uint
AsSplitAreaMap_Staged_Order map[*AsSplitArea]uint
ButtonOrder uint
ButtonMap_Staged_Order map[*Button]uint
CursorOrder uint
CursorMap_Staged_Order map[*Cursor]uint
FavIconOrder uint
FavIconMap_Staged_Order map[*FavIcon]uint
FormOrder uint
FormMap_Staged_Order map[*Form]uint
LoadOrder uint
LoadMap_Staged_Order map[*Load]uint
LogoOnTheLeftOrder uint
LogoOnTheLeftMap_Staged_Order map[*LogoOnTheLeft]uint
LogoOnTheRightOrder uint
LogoOnTheRightMap_Staged_Order map[*LogoOnTheRight]uint
MarkdownOrder uint
MarkdownMap_Staged_Order map[*Markdown]uint
SliderOrder uint
SliderMap_Staged_Order map[*Slider]uint
SplitOrder uint
SplitMap_Staged_Order map[*Split]uint
SvgOrder uint
SvgMap_Staged_Order map[*Svg]uint
TableOrder uint
TableMap_Staged_Order map[*Table]uint
TitleOrder uint
TitleMap_Staged_Order map[*Title]uint
ToneOrder uint
ToneMap_Staged_Order map[*Tone]uint
TreeOrder uint
TreeMap_Staged_Order map[*Tree]uint
ViewOrder uint
ViewMap_Staged_Order map[*View]uint
XlsxOrder uint
XlsxMap_Staged_Order map[*Xlsx]uint
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) Clean ¶
func (stage *Stage) Clean()
Clean garbage collect unstaged instances that are referenced by staged elements
func (*Stage) CommitWithSuspendedCallbacks ¶
func (stage *Stage) CommitWithSuspendedCallbacks()
func (*Stage) ComputeDifference ¶
func (stage *Stage) ComputeDifference()
func (*Stage) ComputeInstancesNb ¶
func (stage *Stage) ComputeInstancesNb()
func (*Stage) ComputeReference ¶
func (stage *Stage) ComputeReference()
ComputeReference 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) GetDigramsEmbededDir ¶
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) IsDeltaMode ¶
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) ResetCommits ¶
func (stage *Stage) ResetCommits()
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) GongGetReferenceOrder ¶
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) 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, 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) GongGetReferenceOrder ¶
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) 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, 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) GongGetReferenceOrder ¶
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) 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, 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) GongGetReferenceOrder ¶
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) 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, 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) GongGetReferenceOrder ¶
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) 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, 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
}
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) GongGetReferenceOrder ¶
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) 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, 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) GongGetReferenceOrder ¶
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) 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, 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