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.
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
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
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
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
EvictInOtherSlices allows for adherance between the gong association model and go.
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
ParseAstFile Parse pathToFile and stages all instances declared in the file.
ParseAstFile Parse pathToFile and stages all instances declared in the file.
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.
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
# Structs
A_ALTERNATIVE_ID Named source within outer element "ALTERNATIVE-ID".
No description provided by the author
A_ATTRIBUTE_DEFINITION_BOOLEAN_REF Named source within outer element "DEFINITION".
No description provided by the author
A_ATTRIBUTE_DEFINITION_DATE_REF Named source within outer element "DEFINITION".
No description provided by the author
A_ATTRIBUTE_DEFINITION_ENUMERATION_REF Named source within outer element "DEFINITION".
No description provided by the author
A_ATTRIBUTE_DEFINITION_INTEGER_REF Named source within outer element "DEFINITION".
No description provided by the author
A_ATTRIBUTE_DEFINITION_REAL_REF Named source within outer element "DEFINITION".
No description provided by the author
A_ATTRIBUTE_DEFINITION_STRING_REF Named source within outer element "DEFINITION".
No description provided by the author
A_ATTRIBUTE_DEFINITION_XHTML_REF Named source within outer element "DEFINITION".
No description provided by the author
A_ATTRIBUTE_VALUE_BOOLEAN Named source within outer element "DEFAULT-VALUE".
No description provided by the author
A_ATTRIBUTE_VALUE_DATE Named source within outer element "DEFAULT-VALUE".
No description provided by the author
A_ATTRIBUTE_VALUE_ENUMERATION Named source within outer element "DEFAULT-VALUE".
No description provided by the author
A_ATTRIBUTE_VALUE_INTEGER Named source within outer element "DEFAULT-VALUE".
No description provided by the author
A_ATTRIBUTE_VALUE_REAL Named source within outer element "DEFAULT-VALUE".
No description provided by the author
A_ATTRIBUTE_VALUE_STRING Named source within outer element "DEFAULT-VALUE".
No description provided by the author
A_ATTRIBUTE_VALUE_XHTML Named source within outer element "DEFAULT-VALUE".
A_ATTRIBUTE_VALUE_XHTML_1 Named source within outer element "VALUES".
No description provided by the author
No description provided by the author
A_CHILDREN Named source within outer element "CHILDREN".
No description provided by the author
A_CORE_CONTENT Named source within outer element "CORE-CONTENT".
No description provided by the author
A_DATATYPE_DEFINITION_BOOLEAN_REF Named source within outer element "TYPE".
No description provided by the author
A_DATATYPE_DEFINITION_DATE_REF Named source within outer element "TYPE".
No description provided by the author
A_DATATYPE_DEFINITION_ENUMERATION_REF Named source within outer element "TYPE".
No description provided by the author
A_DATATYPE_DEFINITION_INTEGER_REF Named source within outer element "TYPE".
No description provided by the author
A_DATATYPE_DEFINITION_REAL_REF Named source within outer element "TYPE".
No description provided by the author
A_DATATYPE_DEFINITION_STRING_REF Named source within outer element "TYPE".
No description provided by the author
A_DATATYPE_DEFINITION_XHTML_REF Named source within outer element "TYPE".
No description provided by the author
A_DATATYPES Named source within outer element "DATATYPES".
No description provided by the author
A_EDITABLE_ATTS Named source within outer element "EDITABLE-ATTS".
No description provided by the author
A_ENUM_VALUE_REF Named source within outer element "VALUES".
No description provided by the author
A_OBJECT Named source within outer element "OBJECT".
No description provided by the author
A_PROPERTIES Named source within outer element "PROPERTIES".
No description provided by the author
A_RELATION_GROUP_TYPE_REF Named source within outer element "TYPE".
No description provided by the author
A_SOURCE_1 Named source within outer element "TARGET".
No description provided by the author
A_SOURCE_SPECIFICATION_1 Named source within outer element "TARGET-SPECIFICATION".
No description provided by the author
A_SPEC_ATTRIBUTES Named source within outer element "SPEC-ATTRIBUTES".
No description provided by the author
A_SPEC_OBJECT_TYPE_REF Named source within outer element "TYPE".
No description provided by the author
A_SPEC_OBJECTS Named source within outer element "SPEC-OBJECTS".
No description provided by the author
A_SPEC_RELATION_GROUPS Named source within outer element "SPEC-RELATION-GROUPS".
No description provided by the author
A_SPEC_RELATION_REF Named source within outer element "SPEC-RELATIONS".
No description provided by the author
A_SPEC_RELATION_TYPE_REF Named source within outer element "TYPE".
No description provided by the author
A_SPEC_RELATIONS Named source within outer element "SPEC-RELATIONS".
No description provided by the author
A_SPEC_TYPES Named source within outer element "SPEC-TYPES".
No description provided by the author
A_SPECIFICATION_TYPE_REF Named source within outer element "TYPE".
No description provided by the author
A_SPECIFICATIONS Named source within outer element "SPECIFICATIONS".
No description provided by the author
A_SPECIFIED_VALUES Named source within outer element "SPECIFIED-VALUES".
No description provided by the author
A_THE_HEADER Named source within outer element "THE-HEADER".
No description provided by the author
A_TOOL_EXTENSIONS Named source within outer element "TOOL-EXTENSIONS".
No description provided by the author
ALTERNATIVE_ID Named source named complex type "ALTERNATIVE-ID".
insertion point.
ATTRIBUTE_DEFINITION_BOOLEAN Named source named complex type "ATTRIBUTE-DEFINITION-BOOLEAN".
No description provided by the author
ATTRIBUTE_DEFINITION_DATE Named source named complex type "ATTRIBUTE-DEFINITION-DATE".
No description provided by the author
ATTRIBUTE_DEFINITION_ENUMERATION Named source named complex type "ATTRIBUTE-DEFINITION-ENUMERATION".
No description provided by the author
ATTRIBUTE_DEFINITION_INTEGER Named source named complex type "ATTRIBUTE-DEFINITION-INTEGER".
No description provided by the author
ATTRIBUTE_DEFINITION_REAL Named source named complex type "ATTRIBUTE-DEFINITION-REAL".
No description provided by the author
ATTRIBUTE_DEFINITION_STRING Named source named complex type "ATTRIBUTE-DEFINITION-STRING".
No description provided by the author
ATTRIBUTE_DEFINITION_XHTML Named source named complex type "ATTRIBUTE-DEFINITION-XHTML".
No description provided by the author
ATTRIBUTE_VALUE_BOOLEAN Named source named complex type "ATTRIBUTE-VALUE-BOOLEAN".
No description provided by the author
ATTRIBUTE_VALUE_DATE Named source named complex type "ATTRIBUTE-VALUE-DATE".
No description provided by the author
ATTRIBUTE_VALUE_ENUMERATION Named source named complex type "ATTRIBUTE-VALUE-ENUMERATION".
No description provided by the author
ATTRIBUTE_VALUE_INTEGER Named source named complex type "ATTRIBUTE-VALUE-INTEGER".
No description provided by the author
ATTRIBUTE_VALUE_REAL Named source named complex type "ATTRIBUTE-VALUE-REAL".
No description provided by the author
ATTRIBUTE_VALUE_STRING Named source named complex type "ATTRIBUTE-VALUE-STRING".
No description provided by the author
ATTRIBUTE_VALUE_XHTML Named source named complex type "ATTRIBUTE-VALUE-XHTML".
No description provided by the author
DATATYPE_DEFINITION_BOOLEAN Named source named complex type "DATATYPE-DEFINITION-BOOLEAN".
No description provided by the author
DATATYPE_DEFINITION_DATE Named source named complex type "DATATYPE-DEFINITION-DATE".
No description provided by the author
DATATYPE_DEFINITION_ENUMERATION Named source named complex type "DATATYPE-DEFINITION-ENUMERATION".
No description provided by the author
DATATYPE_DEFINITION_INTEGER Named source named complex type "DATATYPE-DEFINITION-INTEGER".
No description provided by the author
DATATYPE_DEFINITION_REAL Named source named complex type "DATATYPE-DEFINITION-REAL".
No description provided by the author
DATATYPE_DEFINITION_STRING Named source named complex type "DATATYPE-DEFINITION-STRING".
No description provided by the author
DATATYPE_DEFINITION_XHTML Named source named complex type "DATATYPE-DEFINITION-XHTML".
No description provided by the author
EMBEDDED_VALUE Named source named complex type "EMBEDDED-VALUE".
No description provided by the author
ENUM_VALUE Named source named complex type "ENUM-VALUE".
No description provided by the author
No description provided by the author
No description provided by the author
RELATION_GROUP Named source named complex type "RELATION-GROUP".
RELATION_GROUP_TYPE Named source named complex type "RELATION-GROUP-TYPE".
No description provided by the author
No description provided by the author
REQ_IF Named source named complex type "REQ-IF".
REQ_IF_CONTENT Named source named complex type "REQ-IF-CONTENT".
No description provided by the author
REQ_IF_HEADER Named source named complex type "REQ-IF-HEADER".
No description provided by the author
REQ_IF_TOOL_EXTENSION Named source named complex type "REQ-IF-TOOL-EXTENSION".
No description provided by the author
No description provided by the author
No description provided by the author
SPEC_HIERARCHY Named source named complex type "SPEC-HIERARCHY".
No description provided by the author
SPEC_OBJECT Named source named complex type "SPEC-OBJECT".
SPEC_OBJECT_TYPE Named source named complex type "SPEC-OBJECT-TYPE".
No description provided by the author
No description provided by the author
SPEC_RELATION Named source named complex type "SPEC-RELATION".
SPEC_RELATION_TYPE Named source named complex type "SPEC-RELATION-TYPE".
No description provided by the author
No description provided by the author
SPECIFICATION Named source named complex type "SPECIFICATION".
SPECIFICATION_TYPE Named source named complex type "SPECIFICATION-TYPE".
No description provided by the author
No description provided by the author
StageStruct enables storage of staged instances swagger:ignore.
XHTML_CONTENT Named source named complex type "XHTML-CONTENT".
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
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
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
From xsd simple type with enumerate restriction "GLOBAL-REF".
swagger:ignore.