package
0.0.0-20250122020235-60a53e6af8ad
Repository: https://github.com/fullstack-lang/gongxsd.git
Documentation: pkg.go.dev
# Functions
AfterCreateFromFront is called after a create from front.
AfterDeleteFromFront is called after a delete from front.
AfterReadFromFront is called after a Read from front.
AfterUpdateFromFront is called after a update from front.
No description provided by the author
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.
insertion point for stage branch per struct.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Generate process the xsd
- all Named Complex Type => Gongstruct - all Elements with inlined ComplexType => Gongstruct.
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.
GetFields return the array of the fields.
GetFieldsFromPointer return the array of the fields.
No description provided by the author
No description provided by the author
No description provided by the author
GetGongstructInstancesMap returns the map of staged GongstructType instances it is usefull because it allows refactoring of gong struct identifier.
GetGongstructInstancesSet returns the set staged GongstructType instances it is usefull because it allows refactoring of gongstruct identifier.
GetGongstructInstancesSetFromPointerType returns the set staged GongstructType instances it is usefull because it allows refactoring of gongstruct identifier.
GetGongstructName returns the name of the Gongstruct this can be usefull if one want program robust to refactoring.
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.
GetPointerToGongstructName returns the name of the Gongstruct this can be usefull if one want program robust to refactoring.
No description provided by the author
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.
GongGetMap returns the map of staged GongstructType instances it is usefull because it allows refactoring of gong struct identifier.
GongGetSet returns the set staged GongstructType instances it is usefull because it allows refactoring of gong struct identifier.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseAstFile Parse pathToFile and stages all instances declared in the file.
ParseAstFile Parse pathToFile and stages all instances declared in the file.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PrefixLines prefixes each line of the input string with "// ".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReplaceOldDeclarationsInFile replaces specific text in a file at the given path.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SetCallbackAfterUpdateFromFront is a function to set up callback that is robust to refactoring.
No description provided by the author
No description provided by the author
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.
No description provided by the author
UnmarshallGoStaging unmarshall a go assign statement.
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.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
insertion point.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ModelGroup is a construct that allows for the specification of complex structures within an XML document.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StageStruct enables storage of staged instances swagger:ignore.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
swagger:ignore.
No description provided by the author
No description provided by the author
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.
No description provided by the author
No description provided by the author
GongStructInterface is the interface met by GongStructs It allows runtime reflexion of instances (without the hassle of the "reflect" package).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OnAfterCreateInterface callback when an instance is updated from the front.
OnAfterDeleteInterface callback when an instance is updated from the front.
OnAfterReadInterface callback when an instance is updated from the front.
OnAfterUpdateInterface callback when an instance is updated from the front.
No description provided by the author
No description provided by the author
Particle in XSD is a component that defines the structure of XML content.
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.
No description provided by the author
No description provided by the author
Tabulator is an interface for writing to a table strings.
# Type aliases
swagger:ignore.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author