Documentation
¶
Overview ¶
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
do not modify, generated file
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
Index ¶
- Variables
- func CopyBackRepoToBackRepoData(backRepo *BackRepoStruct, backRepoData *BackRepoData)
- func GetID[T models.Gongstruct](stage *models.Stage, backRepo *BackRepoStruct, instance *T) (id int)
- func GetIDPointer[T models.PointerToGongstruct](stage *models.Stage, backRepo *BackRepoStruct, instance T) (id int)
- func GetInstanceDBFromInstance[T models.Gongstruct, T2 GongstructDB](stage *models.Stage, backRepo *BackRepoStruct, instance *T) (ret *T2)
- type AnimateAPI
- type AnimateDB
- func (animateDB *AnimateDB) CopyBasicFieldsFromAnimate(animate *models.Animate)
- func (animateDB *AnimateDB) CopyBasicFieldsFromAnimateWOP(animate *AnimateWOP)
- func (animateDB *AnimateDB) CopyBasicFieldsFromAnimate_WOP(animate *models.Animate_WOP)
- func (animateDB *AnimateDB) CopyBasicFieldsToAnimate(animate *models.Animate)
- func (animateDB *AnimateDB) CopyBasicFieldsToAnimateWOP(animate *AnimateWOP)
- func (animateDB *AnimateDB) CopyBasicFieldsToAnimate_WOP(animate *models.Animate_WOP)
- func (animateDB *AnimateDB) DecodePointers(backRepo *BackRepoStruct, animate *models.Animate)
- type AnimateDBResponse
- type AnimateDBs
- type AnimatePointersEncoding
- type AnimateWOP
- type BackRepoAnimateStruct
- func (backRepoAnimate *BackRepoAnimateStruct) Backup(dirPath string)
- func (backRepoAnimate *BackRepoAnimateStruct) BackupXL(file *xlsx.File)
- func (backRepoAnimate *BackRepoAnimateStruct) CheckoutPhaseOne() (Error error)
- func (backRepoAnimate *BackRepoAnimateStruct) CheckoutPhaseOneInstance(animateDB *AnimateDB) (Error error)
- func (backRepoAnimate *BackRepoAnimateStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoAnimate *BackRepoAnimateStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, animateDB *AnimateDB) (Error error)
- func (backRepoAnimate *BackRepoAnimateStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoAnimate *BackRepoAnimateStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoAnimate *BackRepoAnimateStruct) CommitPhaseOneInstance(animate *models.Animate) (Error error)
- func (backRepoAnimate *BackRepoAnimateStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoAnimate *BackRepoAnimateStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, animate *models.Animate) (Error error)
- func (backRepoAnimate *BackRepoAnimateStruct) GetAnimateDBFromAnimatePtr(animate *models.Animate) (animateDB *AnimateDB)
- func (backRepoAnimate *BackRepoAnimateStruct) GetDB() db.DBInterface
- func (backRepoAnimate *BackRepoAnimateStruct) GetStage() (stage *models.Stage)
- func (backRepoAnimate *BackRepoAnimateStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoAnimate *BackRepoAnimateStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, animate *models.Animate) (Error error)
- func (backRepoAnimate *BackRepoAnimateStruct) RestorePhaseOne(dirPath string)
- func (backRepoAnimate *BackRepoAnimateStruct) RestorePhaseTwo()
- func (backRepoAnimate *BackRepoAnimateStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoCircleStruct
- func (backRepoCircle *BackRepoCircleStruct) Backup(dirPath string)
- func (backRepoCircle *BackRepoCircleStruct) BackupXL(file *xlsx.File)
- func (backRepoCircle *BackRepoCircleStruct) CheckoutPhaseOne() (Error error)
- func (backRepoCircle *BackRepoCircleStruct) CheckoutPhaseOneInstance(circleDB *CircleDB) (Error error)
- func (backRepoCircle *BackRepoCircleStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCircle *BackRepoCircleStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, circleDB *CircleDB) (Error error)
- func (backRepoCircle *BackRepoCircleStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoCircle *BackRepoCircleStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoCircle *BackRepoCircleStruct) CommitPhaseOneInstance(circle *models.Circle) (Error error)
- func (backRepoCircle *BackRepoCircleStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCircle *BackRepoCircleStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, circle *models.Circle) (Error error)
- func (backRepoCircle *BackRepoCircleStruct) GetCircleDBFromCirclePtr(circle *models.Circle) (circleDB *CircleDB)
- func (backRepoCircle *BackRepoCircleStruct) GetDB() db.DBInterface
- func (backRepoCircle *BackRepoCircleStruct) GetStage() (stage *models.Stage)
- func (backRepoCircle *BackRepoCircleStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoCircle *BackRepoCircleStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, circle *models.Circle) (Error error)
- func (backRepoCircle *BackRepoCircleStruct) RestorePhaseOne(dirPath string)
- func (backRepoCircle *BackRepoCircleStruct) RestorePhaseTwo()
- func (backRepoCircle *BackRepoCircleStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoConditionStruct
- func (backRepoCondition *BackRepoConditionStruct) Backup(dirPath string)
- func (backRepoCondition *BackRepoConditionStruct) BackupXL(file *xlsx.File)
- func (backRepoCondition *BackRepoConditionStruct) CheckoutPhaseOne() (Error error)
- func (backRepoCondition *BackRepoConditionStruct) CheckoutPhaseOneInstance(conditionDB *ConditionDB) (Error error)
- func (backRepoCondition *BackRepoConditionStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCondition *BackRepoConditionStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, conditionDB *ConditionDB) (Error error)
- func (backRepoCondition *BackRepoConditionStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoCondition *BackRepoConditionStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoCondition *BackRepoConditionStruct) CommitPhaseOneInstance(condition *models.Condition) (Error error)
- func (backRepoCondition *BackRepoConditionStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCondition *BackRepoConditionStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, condition *models.Condition) (Error error)
- func (backRepoCondition *BackRepoConditionStruct) GetConditionDBFromConditionPtr(condition *models.Condition) (conditionDB *ConditionDB)
- func (backRepoCondition *BackRepoConditionStruct) GetDB() db.DBInterface
- func (backRepoCondition *BackRepoConditionStruct) GetStage() (stage *models.Stage)
- func (backRepoCondition *BackRepoConditionStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoCondition *BackRepoConditionStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, condition *models.Condition) (Error error)
- func (backRepoCondition *BackRepoConditionStruct) RestorePhaseOne(dirPath string)
- func (backRepoCondition *BackRepoConditionStruct) RestorePhaseTwo()
- func (backRepoCondition *BackRepoConditionStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoControlPointStruct
- func (backRepoControlPoint *BackRepoControlPointStruct) Backup(dirPath string)
- func (backRepoControlPoint *BackRepoControlPointStruct) BackupXL(file *xlsx.File)
- func (backRepoControlPoint *BackRepoControlPointStruct) CheckoutPhaseOne() (Error error)
- func (backRepoControlPoint *BackRepoControlPointStruct) CheckoutPhaseOneInstance(controlpointDB *ControlPointDB) (Error error)
- func (backRepoControlPoint *BackRepoControlPointStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoControlPoint *BackRepoControlPointStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, controlpointDB *ControlPointDB) (Error error)
- func (backRepoControlPoint *BackRepoControlPointStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoControlPoint *BackRepoControlPointStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoControlPoint *BackRepoControlPointStruct) CommitPhaseOneInstance(controlpoint *models.ControlPoint) (Error error)
- func (backRepoControlPoint *BackRepoControlPointStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoControlPoint *BackRepoControlPointStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, controlpoint *models.ControlPoint) (Error error)
- func (backRepoControlPoint *BackRepoControlPointStruct) GetControlPointDBFromControlPointPtr(controlpoint *models.ControlPoint) (controlpointDB *ControlPointDB)
- func (backRepoControlPoint *BackRepoControlPointStruct) GetDB() db.DBInterface
- func (backRepoControlPoint *BackRepoControlPointStruct) GetStage() (stage *models.Stage)
- func (backRepoControlPoint *BackRepoControlPointStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoControlPoint *BackRepoControlPointStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, controlpoint *models.ControlPoint) (Error error)
- func (backRepoControlPoint *BackRepoControlPointStruct) RestorePhaseOne(dirPath string)
- func (backRepoControlPoint *BackRepoControlPointStruct) RestorePhaseTwo()
- func (backRepoControlPoint *BackRepoControlPointStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoData
- type BackRepoEllipseStruct
- func (backRepoEllipse *BackRepoEllipseStruct) Backup(dirPath string)
- func (backRepoEllipse *BackRepoEllipseStruct) BackupXL(file *xlsx.File)
- func (backRepoEllipse *BackRepoEllipseStruct) CheckoutPhaseOne() (Error error)
- func (backRepoEllipse *BackRepoEllipseStruct) CheckoutPhaseOneInstance(ellipseDB *EllipseDB) (Error error)
- func (backRepoEllipse *BackRepoEllipseStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoEllipse *BackRepoEllipseStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, ellipseDB *EllipseDB) (Error error)
- func (backRepoEllipse *BackRepoEllipseStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoEllipse *BackRepoEllipseStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoEllipse *BackRepoEllipseStruct) CommitPhaseOneInstance(ellipse *models.Ellipse) (Error error)
- func (backRepoEllipse *BackRepoEllipseStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoEllipse *BackRepoEllipseStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, ellipse *models.Ellipse) (Error error)
- func (backRepoEllipse *BackRepoEllipseStruct) GetDB() db.DBInterface
- func (backRepoEllipse *BackRepoEllipseStruct) GetEllipseDBFromEllipsePtr(ellipse *models.Ellipse) (ellipseDB *EllipseDB)
- func (backRepoEllipse *BackRepoEllipseStruct) GetStage() (stage *models.Stage)
- func (backRepoEllipse *BackRepoEllipseStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoEllipse *BackRepoEllipseStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, ellipse *models.Ellipse) (Error error)
- func (backRepoEllipse *BackRepoEllipseStruct) RestorePhaseOne(dirPath string)
- func (backRepoEllipse *BackRepoEllipseStruct) RestorePhaseTwo()
- func (backRepoEllipse *BackRepoEllipseStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoLayerStruct
- func (backRepoLayer *BackRepoLayerStruct) Backup(dirPath string)
- func (backRepoLayer *BackRepoLayerStruct) BackupXL(file *xlsx.File)
- func (backRepoLayer *BackRepoLayerStruct) CheckoutPhaseOne() (Error error)
- func (backRepoLayer *BackRepoLayerStruct) CheckoutPhaseOneInstance(layerDB *LayerDB) (Error error)
- func (backRepoLayer *BackRepoLayerStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoLayer *BackRepoLayerStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, layerDB *LayerDB) (Error error)
- func (backRepoLayer *BackRepoLayerStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoLayer *BackRepoLayerStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoLayer *BackRepoLayerStruct) CommitPhaseOneInstance(layer *models.Layer) (Error error)
- func (backRepoLayer *BackRepoLayerStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoLayer *BackRepoLayerStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, layer *models.Layer) (Error error)
- func (backRepoLayer *BackRepoLayerStruct) GetDB() db.DBInterface
- func (backRepoLayer *BackRepoLayerStruct) GetLayerDBFromLayerPtr(layer *models.Layer) (layerDB *LayerDB)
- func (backRepoLayer *BackRepoLayerStruct) GetStage() (stage *models.Stage)
- func (backRepoLayer *BackRepoLayerStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoLayer *BackRepoLayerStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, layer *models.Layer) (Error error)
- func (backRepoLayer *BackRepoLayerStruct) RestorePhaseOne(dirPath string)
- func (backRepoLayer *BackRepoLayerStruct) RestorePhaseTwo()
- func (backRepoLayer *BackRepoLayerStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoLineStruct
- func (backRepoLine *BackRepoLineStruct) Backup(dirPath string)
- func (backRepoLine *BackRepoLineStruct) BackupXL(file *xlsx.File)
- func (backRepoLine *BackRepoLineStruct) CheckoutPhaseOne() (Error error)
- func (backRepoLine *BackRepoLineStruct) CheckoutPhaseOneInstance(lineDB *LineDB) (Error error)
- func (backRepoLine *BackRepoLineStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoLine *BackRepoLineStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, lineDB *LineDB) (Error error)
- func (backRepoLine *BackRepoLineStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoLine *BackRepoLineStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoLine *BackRepoLineStruct) CommitPhaseOneInstance(line *models.Line) (Error error)
- func (backRepoLine *BackRepoLineStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoLine *BackRepoLineStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, line *models.Line) (Error error)
- func (backRepoLine *BackRepoLineStruct) GetDB() db.DBInterface
- func (backRepoLine *BackRepoLineStruct) GetLineDBFromLinePtr(line *models.Line) (lineDB *LineDB)
- func (backRepoLine *BackRepoLineStruct) GetStage() (stage *models.Stage)
- func (backRepoLine *BackRepoLineStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoLine *BackRepoLineStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, line *models.Line) (Error error)
- func (backRepoLine *BackRepoLineStruct) RestorePhaseOne(dirPath string)
- func (backRepoLine *BackRepoLineStruct) RestorePhaseTwo()
- func (backRepoLine *BackRepoLineStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoLinkAnchoredTextStruct
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) Backup(dirPath string)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) BackupXL(file *xlsx.File)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CheckoutPhaseOne() (Error error)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CheckoutPhaseOneInstance(linkanchoredtextDB *LinkAnchoredTextDB) (Error error)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, linkanchoredtextDB *LinkAnchoredTextDB) (Error error)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CommitPhaseOneInstance(linkanchoredtext *models.LinkAnchoredText) (Error error)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, linkanchoredtext *models.LinkAnchoredText) (Error error)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) GetDB() db.DBInterface
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) GetLinkAnchoredTextDBFromLinkAnchoredTextPtr(linkanchoredtext *models.LinkAnchoredText) (linkanchoredtextDB *LinkAnchoredTextDB)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) GetStage() (stage *models.Stage)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, linkanchoredtext *models.LinkAnchoredText) (Error error)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) RestorePhaseOne(dirPath string)
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) RestorePhaseTwo()
- func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoLinkStruct
- func (backRepoLink *BackRepoLinkStruct) Backup(dirPath string)
- func (backRepoLink *BackRepoLinkStruct) BackupXL(file *xlsx.File)
- func (backRepoLink *BackRepoLinkStruct) CheckoutPhaseOne() (Error error)
- func (backRepoLink *BackRepoLinkStruct) CheckoutPhaseOneInstance(linkDB *LinkDB) (Error error)
- func (backRepoLink *BackRepoLinkStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoLink *BackRepoLinkStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, linkDB *LinkDB) (Error error)
- func (backRepoLink *BackRepoLinkStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoLink *BackRepoLinkStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoLink *BackRepoLinkStruct) CommitPhaseOneInstance(link *models.Link) (Error error)
- func (backRepoLink *BackRepoLinkStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoLink *BackRepoLinkStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, link *models.Link) (Error error)
- func (backRepoLink *BackRepoLinkStruct) GetDB() db.DBInterface
- func (backRepoLink *BackRepoLinkStruct) GetLinkDBFromLinkPtr(link *models.Link) (linkDB *LinkDB)
- func (backRepoLink *BackRepoLinkStruct) GetStage() (stage *models.Stage)
- func (backRepoLink *BackRepoLinkStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoLink *BackRepoLinkStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, link *models.Link) (Error error)
- func (backRepoLink *BackRepoLinkStruct) RestorePhaseOne(dirPath string)
- func (backRepoLink *BackRepoLinkStruct) RestorePhaseTwo()
- func (backRepoLink *BackRepoLinkStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoPathStruct
- func (backRepoPath *BackRepoPathStruct) Backup(dirPath string)
- func (backRepoPath *BackRepoPathStruct) BackupXL(file *xlsx.File)
- func (backRepoPath *BackRepoPathStruct) CheckoutPhaseOne() (Error error)
- func (backRepoPath *BackRepoPathStruct) CheckoutPhaseOneInstance(pathDB *PathDB) (Error error)
- func (backRepoPath *BackRepoPathStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoPath *BackRepoPathStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, pathDB *PathDB) (Error error)
- func (backRepoPath *BackRepoPathStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoPath *BackRepoPathStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoPath *BackRepoPathStruct) CommitPhaseOneInstance(path *models.Path) (Error error)
- func (backRepoPath *BackRepoPathStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoPath *BackRepoPathStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, path *models.Path) (Error error)
- func (backRepoPath *BackRepoPathStruct) GetDB() db.DBInterface
- func (backRepoPath *BackRepoPathStruct) GetPathDBFromPathPtr(path *models.Path) (pathDB *PathDB)
- func (backRepoPath *BackRepoPathStruct) GetStage() (stage *models.Stage)
- func (backRepoPath *BackRepoPathStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoPath *BackRepoPathStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, path *models.Path) (Error error)
- func (backRepoPath *BackRepoPathStruct) RestorePhaseOne(dirPath string)
- func (backRepoPath *BackRepoPathStruct) RestorePhaseTwo()
- func (backRepoPath *BackRepoPathStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoPointStruct
- func (backRepoPoint *BackRepoPointStruct) Backup(dirPath string)
- func (backRepoPoint *BackRepoPointStruct) BackupXL(file *xlsx.File)
- func (backRepoPoint *BackRepoPointStruct) CheckoutPhaseOne() (Error error)
- func (backRepoPoint *BackRepoPointStruct) CheckoutPhaseOneInstance(pointDB *PointDB) (Error error)
- func (backRepoPoint *BackRepoPointStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoPoint *BackRepoPointStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, pointDB *PointDB) (Error error)
- func (backRepoPoint *BackRepoPointStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoPoint *BackRepoPointStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoPoint *BackRepoPointStruct) CommitPhaseOneInstance(point *models.Point) (Error error)
- func (backRepoPoint *BackRepoPointStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoPoint *BackRepoPointStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, point *models.Point) (Error error)
- func (backRepoPoint *BackRepoPointStruct) GetDB() db.DBInterface
- func (backRepoPoint *BackRepoPointStruct) GetPointDBFromPointPtr(point *models.Point) (pointDB *PointDB)
- func (backRepoPoint *BackRepoPointStruct) GetStage() (stage *models.Stage)
- func (backRepoPoint *BackRepoPointStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoPoint *BackRepoPointStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, point *models.Point) (Error error)
- func (backRepoPoint *BackRepoPointStruct) RestorePhaseOne(dirPath string)
- func (backRepoPoint *BackRepoPointStruct) RestorePhaseTwo()
- func (backRepoPoint *BackRepoPointStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoPolygoneStruct
- func (backRepoPolygone *BackRepoPolygoneStruct) Backup(dirPath string)
- func (backRepoPolygone *BackRepoPolygoneStruct) BackupXL(file *xlsx.File)
- func (backRepoPolygone *BackRepoPolygoneStruct) CheckoutPhaseOne() (Error error)
- func (backRepoPolygone *BackRepoPolygoneStruct) CheckoutPhaseOneInstance(polygoneDB *PolygoneDB) (Error error)
- func (backRepoPolygone *BackRepoPolygoneStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoPolygone *BackRepoPolygoneStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, polygoneDB *PolygoneDB) (Error error)
- func (backRepoPolygone *BackRepoPolygoneStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoPolygone *BackRepoPolygoneStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoPolygone *BackRepoPolygoneStruct) CommitPhaseOneInstance(polygone *models.Polygone) (Error error)
- func (backRepoPolygone *BackRepoPolygoneStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoPolygone *BackRepoPolygoneStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, polygone *models.Polygone) (Error error)
- func (backRepoPolygone *BackRepoPolygoneStruct) GetDB() db.DBInterface
- func (backRepoPolygone *BackRepoPolygoneStruct) GetPolygoneDBFromPolygonePtr(polygone *models.Polygone) (polygoneDB *PolygoneDB)
- func (backRepoPolygone *BackRepoPolygoneStruct) GetStage() (stage *models.Stage)
- func (backRepoPolygone *BackRepoPolygoneStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoPolygone *BackRepoPolygoneStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, polygone *models.Polygone) (Error error)
- func (backRepoPolygone *BackRepoPolygoneStruct) RestorePhaseOne(dirPath string)
- func (backRepoPolygone *BackRepoPolygoneStruct) RestorePhaseTwo()
- func (backRepoPolygone *BackRepoPolygoneStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoPolylineStruct
- func (backRepoPolyline *BackRepoPolylineStruct) Backup(dirPath string)
- func (backRepoPolyline *BackRepoPolylineStruct) BackupXL(file *xlsx.File)
- func (backRepoPolyline *BackRepoPolylineStruct) CheckoutPhaseOne() (Error error)
- func (backRepoPolyline *BackRepoPolylineStruct) CheckoutPhaseOneInstance(polylineDB *PolylineDB) (Error error)
- func (backRepoPolyline *BackRepoPolylineStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoPolyline *BackRepoPolylineStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, polylineDB *PolylineDB) (Error error)
- func (backRepoPolyline *BackRepoPolylineStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoPolyline *BackRepoPolylineStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoPolyline *BackRepoPolylineStruct) CommitPhaseOneInstance(polyline *models.Polyline) (Error error)
- func (backRepoPolyline *BackRepoPolylineStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoPolyline *BackRepoPolylineStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, polyline *models.Polyline) (Error error)
- func (backRepoPolyline *BackRepoPolylineStruct) GetDB() db.DBInterface
- func (backRepoPolyline *BackRepoPolylineStruct) GetPolylineDBFromPolylinePtr(polyline *models.Polyline) (polylineDB *PolylineDB)
- func (backRepoPolyline *BackRepoPolylineStruct) GetStage() (stage *models.Stage)
- func (backRepoPolyline *BackRepoPolylineStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoPolyline *BackRepoPolylineStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, polyline *models.Polyline) (Error error)
- func (backRepoPolyline *BackRepoPolylineStruct) RestorePhaseOne(dirPath string)
- func (backRepoPolyline *BackRepoPolylineStruct) RestorePhaseTwo()
- func (backRepoPolyline *BackRepoPolylineStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoRectAnchoredPathStruct
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) Backup(dirPath string)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) BackupXL(file *xlsx.File)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CheckoutPhaseOne() (Error error)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CheckoutPhaseOneInstance(rectanchoredpathDB *RectAnchoredPathDB) (Error error)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, rectanchoredpathDB *RectAnchoredPathDB) (Error error)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CommitPhaseOneInstance(rectanchoredpath *models.RectAnchoredPath) (Error error)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, rectanchoredpath *models.RectAnchoredPath) (Error error)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) GetDB() db.DBInterface
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) GetRectAnchoredPathDBFromRectAnchoredPathPtr(rectanchoredpath *models.RectAnchoredPath) (rectanchoredpathDB *RectAnchoredPathDB)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) GetStage() (stage *models.Stage)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, rectanchoredpath *models.RectAnchoredPath) (Error error)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) RestorePhaseOne(dirPath string)
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) RestorePhaseTwo()
- func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoRectAnchoredRectStruct
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) Backup(dirPath string)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) BackupXL(file *xlsx.File)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CheckoutPhaseOne() (Error error)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CheckoutPhaseOneInstance(rectanchoredrectDB *RectAnchoredRectDB) (Error error)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, rectanchoredrectDB *RectAnchoredRectDB) (Error error)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CommitPhaseOneInstance(rectanchoredrect *models.RectAnchoredRect) (Error error)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, rectanchoredrect *models.RectAnchoredRect) (Error error)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) GetDB() db.DBInterface
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) GetRectAnchoredRectDBFromRectAnchoredRectPtr(rectanchoredrect *models.RectAnchoredRect) (rectanchoredrectDB *RectAnchoredRectDB)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) GetStage() (stage *models.Stage)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, rectanchoredrect *models.RectAnchoredRect) (Error error)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) RestorePhaseOne(dirPath string)
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) RestorePhaseTwo()
- func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoRectAnchoredTextStruct
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) Backup(dirPath string)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) BackupXL(file *xlsx.File)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CheckoutPhaseOne() (Error error)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CheckoutPhaseOneInstance(rectanchoredtextDB *RectAnchoredTextDB) (Error error)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, rectanchoredtextDB *RectAnchoredTextDB) (Error error)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CommitPhaseOneInstance(rectanchoredtext *models.RectAnchoredText) (Error error)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, rectanchoredtext *models.RectAnchoredText) (Error error)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) GetDB() db.DBInterface
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) GetRectAnchoredTextDBFromRectAnchoredTextPtr(rectanchoredtext *models.RectAnchoredText) (rectanchoredtextDB *RectAnchoredTextDB)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) GetStage() (stage *models.Stage)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, rectanchoredtext *models.RectAnchoredText) (Error error)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) RestorePhaseOne(dirPath string)
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) RestorePhaseTwo()
- func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoRectLinkLinkStruct
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) Backup(dirPath string)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) BackupXL(file *xlsx.File)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CheckoutPhaseOne() (Error error)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CheckoutPhaseOneInstance(rectlinklinkDB *RectLinkLinkDB) (Error error)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, rectlinklinkDB *RectLinkLinkDB) (Error error)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CommitPhaseOneInstance(rectlinklink *models.RectLinkLink) (Error error)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, rectlinklink *models.RectLinkLink) (Error error)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) GetDB() db.DBInterface
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) GetRectLinkLinkDBFromRectLinkLinkPtr(rectlinklink *models.RectLinkLink) (rectlinklinkDB *RectLinkLinkDB)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) GetStage() (stage *models.Stage)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, rectlinklink *models.RectLinkLink) (Error error)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) RestorePhaseOne(dirPath string)
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) RestorePhaseTwo()
- func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoRectStruct
- func (backRepoRect *BackRepoRectStruct) Backup(dirPath string)
- func (backRepoRect *BackRepoRectStruct) BackupXL(file *xlsx.File)
- func (backRepoRect *BackRepoRectStruct) CheckoutPhaseOne() (Error error)
- func (backRepoRect *BackRepoRectStruct) CheckoutPhaseOneInstance(rectDB *RectDB) (Error error)
- func (backRepoRect *BackRepoRectStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoRect *BackRepoRectStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, rectDB *RectDB) (Error error)
- func (backRepoRect *BackRepoRectStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoRect *BackRepoRectStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoRect *BackRepoRectStruct) CommitPhaseOneInstance(rect *models.Rect) (Error error)
- func (backRepoRect *BackRepoRectStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoRect *BackRepoRectStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, rect *models.Rect) (Error error)
- func (backRepoRect *BackRepoRectStruct) GetDB() db.DBInterface
- func (backRepoRect *BackRepoRectStruct) GetRectDBFromRectPtr(rect *models.Rect) (rectDB *RectDB)
- func (backRepoRect *BackRepoRectStruct) GetStage() (stage *models.Stage)
- func (backRepoRect *BackRepoRectStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoRect *BackRepoRectStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, rect *models.Rect) (Error error)
- func (backRepoRect *BackRepoRectStruct) RestorePhaseOne(dirPath string)
- func (backRepoRect *BackRepoRectStruct) RestorePhaseTwo()
- func (backRepoRect *BackRepoRectStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoSVGStruct
- func (backRepoSVG *BackRepoSVGStruct) Backup(dirPath string)
- func (backRepoSVG *BackRepoSVGStruct) BackupXL(file *xlsx.File)
- func (backRepoSVG *BackRepoSVGStruct) CheckoutPhaseOne() (Error error)
- func (backRepoSVG *BackRepoSVGStruct) CheckoutPhaseOneInstance(svgDB *SVGDB) (Error error)
- func (backRepoSVG *BackRepoSVGStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoSVG *BackRepoSVGStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, svgDB *SVGDB) (Error error)
- func (backRepoSVG *BackRepoSVGStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoSVG *BackRepoSVGStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoSVG *BackRepoSVGStruct) CommitPhaseOneInstance(svg *models.SVG) (Error error)
- func (backRepoSVG *BackRepoSVGStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoSVG *BackRepoSVGStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, svg *models.SVG) (Error error)
- func (backRepoSVG *BackRepoSVGStruct) GetDB() db.DBInterface
- func (backRepoSVG *BackRepoSVGStruct) GetSVGDBFromSVGPtr(svg *models.SVG) (svgDB *SVGDB)
- func (backRepoSVG *BackRepoSVGStruct) GetStage() (stage *models.Stage)
- func (backRepoSVG *BackRepoSVGStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoSVG *BackRepoSVGStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, svg *models.SVG) (Error error)
- func (backRepoSVG *BackRepoSVGStruct) RestorePhaseOne(dirPath string)
- func (backRepoSVG *BackRepoSVGStruct) RestorePhaseTwo()
- func (backRepoSVG *BackRepoSVGStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoStruct
- func (backRepo *BackRepoStruct) Backup(stage *models.Stage, dirPath string)
- func (backRepo *BackRepoStruct) BackupXL(stage *models.Stage, dirPath string)
- func (backRepo *BackRepoStruct) Checkout(stage *models.Stage)
- func (backRepo *BackRepoStruct) CheckoutAnimate(animate *models.Animate)
- func (backRepo *BackRepoStruct) CheckoutCircle(circle *models.Circle)
- func (backRepo *BackRepoStruct) CheckoutCondition(condition *models.Condition)
- func (backRepo *BackRepoStruct) CheckoutControlPoint(controlpoint *models.ControlPoint)
- func (backRepo *BackRepoStruct) CheckoutEllipse(ellipse *models.Ellipse)
- func (backRepo *BackRepoStruct) CheckoutLayer(layer *models.Layer)
- func (backRepo *BackRepoStruct) CheckoutLine(line *models.Line)
- func (backRepo *BackRepoStruct) CheckoutLink(link *models.Link)
- func (backRepo *BackRepoStruct) CheckoutLinkAnchoredText(linkanchoredtext *models.LinkAnchoredText)
- func (backRepo *BackRepoStruct) CheckoutPath(path *models.Path)
- func (backRepo *BackRepoStruct) CheckoutPoint(point *models.Point)
- func (backRepo *BackRepoStruct) CheckoutPolygone(polygone *models.Polygone)
- func (backRepo *BackRepoStruct) CheckoutPolyline(polyline *models.Polyline)
- func (backRepo *BackRepoStruct) CheckoutRect(rect *models.Rect)
- func (backRepo *BackRepoStruct) CheckoutRectAnchoredPath(rectanchoredpath *models.RectAnchoredPath)
- func (backRepo *BackRepoStruct) CheckoutRectAnchoredRect(rectanchoredrect *models.RectAnchoredRect)
- func (backRepo *BackRepoStruct) CheckoutRectAnchoredText(rectanchoredtext *models.RectAnchoredText)
- func (backRepo *BackRepoStruct) CheckoutRectLinkLink(rectlinklink *models.RectLinkLink)
- func (backRepo *BackRepoStruct) CheckoutSVG(svg *models.SVG)
- func (backRepo *BackRepoStruct) CheckoutSvgText(svgtext *models.SvgText)
- func (backRepo *BackRepoStruct) CheckoutText(text *models.Text)
- func (backRepo *BackRepoStruct) Commit(stage *models.Stage)
- func (backRepo *BackRepoStruct) CommitAnimate(animate *models.Animate)
- func (backRepo *BackRepoStruct) CommitCircle(circle *models.Circle)
- func (backRepo *BackRepoStruct) CommitCondition(condition *models.Condition)
- func (backRepo *BackRepoStruct) CommitControlPoint(controlpoint *models.ControlPoint)
- func (backRepo *BackRepoStruct) CommitEllipse(ellipse *models.Ellipse)
- func (backRepo *BackRepoStruct) CommitLayer(layer *models.Layer)
- func (backRepo *BackRepoStruct) CommitLine(line *models.Line)
- func (backRepo *BackRepoStruct) CommitLink(link *models.Link)
- func (backRepo *BackRepoStruct) CommitLinkAnchoredText(linkanchoredtext *models.LinkAnchoredText)
- func (backRepo *BackRepoStruct) CommitPath(path *models.Path)
- func (backRepo *BackRepoStruct) CommitPoint(point *models.Point)
- func (backRepo *BackRepoStruct) CommitPolygone(polygone *models.Polygone)
- func (backRepo *BackRepoStruct) CommitPolyline(polyline *models.Polyline)
- func (backRepo *BackRepoStruct) CommitRect(rect *models.Rect)
- func (backRepo *BackRepoStruct) CommitRectAnchoredPath(rectanchoredpath *models.RectAnchoredPath)
- func (backRepo *BackRepoStruct) CommitRectAnchoredRect(rectanchoredrect *models.RectAnchoredRect)
- func (backRepo *BackRepoStruct) CommitRectAnchoredText(rectanchoredtext *models.RectAnchoredText)
- func (backRepo *BackRepoStruct) CommitRectLinkLink(rectlinklink *models.RectLinkLink)
- func (backRepo *BackRepoStruct) CommitSVG(svg *models.SVG)
- func (backRepo *BackRepoStruct) CommitSvgText(svgtext *models.SvgText)
- func (backRepo *BackRepoStruct) CommitText(text *models.Text)
- func (backRepo *BackRepoStruct) GetLastCommitFromBackNb() uint
- func (backRepo *BackRepoStruct) GetLastPushFromFrontNb() uint
- func (backRepo *BackRepoStruct) GetStage() (stage *models.Stage)
- func (backRepo *BackRepoStruct) IncrementCommitFromBackNb() uint
- func (backRepo *BackRepoStruct) IncrementPushFromFrontNb() uint
- func (backRepo *BackRepoStruct) Restore(stage *models.Stage, dirPath string)
- func (backRepo *BackRepoStruct) RestoreXL(stage *models.Stage, dirPath string)
- func (backRepoStruct *BackRepoStruct) SubscribeToCommitNb(ctx context.Context) <-chan int
- type BackRepoSvgTextStruct
- func (backRepoSvgText *BackRepoSvgTextStruct) Backup(dirPath string)
- func (backRepoSvgText *BackRepoSvgTextStruct) BackupXL(file *xlsx.File)
- func (backRepoSvgText *BackRepoSvgTextStruct) CheckoutPhaseOne() (Error error)
- func (backRepoSvgText *BackRepoSvgTextStruct) CheckoutPhaseOneInstance(svgtextDB *SvgTextDB) (Error error)
- func (backRepoSvgText *BackRepoSvgTextStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoSvgText *BackRepoSvgTextStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, svgtextDB *SvgTextDB) (Error error)
- func (backRepoSvgText *BackRepoSvgTextStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoSvgText *BackRepoSvgTextStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoSvgText *BackRepoSvgTextStruct) CommitPhaseOneInstance(svgtext *models.SvgText) (Error error)
- func (backRepoSvgText *BackRepoSvgTextStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoSvgText *BackRepoSvgTextStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, svgtext *models.SvgText) (Error error)
- func (backRepoSvgText *BackRepoSvgTextStruct) GetDB() db.DBInterface
- func (backRepoSvgText *BackRepoSvgTextStruct) GetStage() (stage *models.Stage)
- func (backRepoSvgText *BackRepoSvgTextStruct) GetSvgTextDBFromSvgTextPtr(svgtext *models.SvgText) (svgtextDB *SvgTextDB)
- func (backRepoSvgText *BackRepoSvgTextStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoSvgText *BackRepoSvgTextStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, svgtext *models.SvgText) (Error error)
- func (backRepoSvgText *BackRepoSvgTextStruct) RestorePhaseOne(dirPath string)
- func (backRepoSvgText *BackRepoSvgTextStruct) RestorePhaseTwo()
- func (backRepoSvgText *BackRepoSvgTextStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoTextStruct
- func (backRepoText *BackRepoTextStruct) Backup(dirPath string)
- func (backRepoText *BackRepoTextStruct) BackupXL(file *xlsx.File)
- func (backRepoText *BackRepoTextStruct) CheckoutPhaseOne() (Error error)
- func (backRepoText *BackRepoTextStruct) CheckoutPhaseOneInstance(textDB *TextDB) (Error error)
- func (backRepoText *BackRepoTextStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoText *BackRepoTextStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, textDB *TextDB) (Error error)
- func (backRepoText *BackRepoTextStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoText *BackRepoTextStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoText *BackRepoTextStruct) CommitPhaseOneInstance(text *models.Text) (Error error)
- func (backRepoText *BackRepoTextStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoText *BackRepoTextStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, text *models.Text) (Error error)
- func (backRepoText *BackRepoTextStruct) GetDB() db.DBInterface
- func (backRepoText *BackRepoTextStruct) GetStage() (stage *models.Stage)
- func (backRepoText *BackRepoTextStruct) GetTextDBFromTextPtr(text *models.Text) (textDB *TextDB)
- func (backRepoText *BackRepoTextStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoText *BackRepoTextStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, text *models.Text) (Error error)
- func (backRepoText *BackRepoTextStruct) RestorePhaseOne(dirPath string)
- func (backRepoText *BackRepoTextStruct) RestorePhaseTwo()
- func (backRepoText *BackRepoTextStruct) RestoreXLPhaseOne(file *xlsx.File)
- type CircleAPI
- type CircleDB
- func (circleDB *CircleDB) CopyBasicFieldsFromCircle(circle *models.Circle)
- func (circleDB *CircleDB) CopyBasicFieldsFromCircleWOP(circle *CircleWOP)
- func (circleDB *CircleDB) CopyBasicFieldsFromCircle_WOP(circle *models.Circle_WOP)
- func (circleDB *CircleDB) CopyBasicFieldsToCircle(circle *models.Circle)
- func (circleDB *CircleDB) CopyBasicFieldsToCircleWOP(circle *CircleWOP)
- func (circleDB *CircleDB) CopyBasicFieldsToCircle_WOP(circle *models.Circle_WOP)
- func (circleDB *CircleDB) DecodePointers(backRepo *BackRepoStruct, circle *models.Circle)
- type CircleDBResponse
- type CircleDBs
- type CirclePointersEncoding
- type CircleWOP
- type ConditionAPI
- type ConditionDB
- func (conditionDB *ConditionDB) CopyBasicFieldsFromCondition(condition *models.Condition)
- func (conditionDB *ConditionDB) CopyBasicFieldsFromConditionWOP(condition *ConditionWOP)
- func (conditionDB *ConditionDB) CopyBasicFieldsFromCondition_WOP(condition *models.Condition_WOP)
- func (conditionDB *ConditionDB) CopyBasicFieldsToCondition(condition *models.Condition)
- func (conditionDB *ConditionDB) CopyBasicFieldsToConditionWOP(condition *ConditionWOP)
- func (conditionDB *ConditionDB) CopyBasicFieldsToCondition_WOP(condition *models.Condition_WOP)
- func (conditionDB *ConditionDB) DecodePointers(backRepo *BackRepoStruct, condition *models.Condition)
- type ConditionDBResponse
- type ConditionDBs
- type ConditionPointersEncoding
- type ConditionWOP
- type ControlPointAPI
- type ControlPointDB
- func (controlpointDB *ControlPointDB) CopyBasicFieldsFromControlPoint(controlpoint *models.ControlPoint)
- func (controlpointDB *ControlPointDB) CopyBasicFieldsFromControlPointWOP(controlpoint *ControlPointWOP)
- func (controlpointDB *ControlPointDB) CopyBasicFieldsFromControlPoint_WOP(controlpoint *models.ControlPoint_WOP)
- func (controlpointDB *ControlPointDB) CopyBasicFieldsToControlPoint(controlpoint *models.ControlPoint)
- func (controlpointDB *ControlPointDB) CopyBasicFieldsToControlPointWOP(controlpoint *ControlPointWOP)
- func (controlpointDB *ControlPointDB) CopyBasicFieldsToControlPoint_WOP(controlpoint *models.ControlPoint_WOP)
- func (controlpointDB *ControlPointDB) DecodePointers(backRepo *BackRepoStruct, controlpoint *models.ControlPoint)
- type ControlPointDBResponse
- type ControlPointDBs
- type ControlPointPointersEncoding
- type ControlPointWOP
- type DBLite
- func (db *DBLite) Create(instanceDB any) (db.DBInterface, error)
- func (db *DBLite) Delete(instanceDB any) (db.DBInterface, error)
- func (db *DBLite) Find(instanceDBs any) (db.DBInterface, error)
- func (db *DBLite) First(instanceDB any, conds ...any) (db.DBInterface, error)
- func (db *DBLite) Model(instanceDB any) (db.DBInterface, error)
- func (db *DBLite) Save(instanceDB any) (db.DBInterface, error)
- func (db *DBLite) Unscoped() (db.DBInterface, error)
- func (db *DBLite) Updates(instanceDB any) (db.DBInterface, error)
- type EllipseAPI
- type EllipseDB
- func (ellipseDB *EllipseDB) CopyBasicFieldsFromEllipse(ellipse *models.Ellipse)
- func (ellipseDB *EllipseDB) CopyBasicFieldsFromEllipseWOP(ellipse *EllipseWOP)
- func (ellipseDB *EllipseDB) CopyBasicFieldsFromEllipse_WOP(ellipse *models.Ellipse_WOP)
- func (ellipseDB *EllipseDB) CopyBasicFieldsToEllipse(ellipse *models.Ellipse)
- func (ellipseDB *EllipseDB) CopyBasicFieldsToEllipseWOP(ellipse *EllipseWOP)
- func (ellipseDB *EllipseDB) CopyBasicFieldsToEllipse_WOP(ellipse *models.Ellipse_WOP)
- func (ellipseDB *EllipseDB) DecodePointers(backRepo *BackRepoStruct, ellipse *models.Ellipse)
- type EllipseDBResponse
- type EllipseDBs
- type EllipsePointersEncoding
- type EllipseWOP
- type GongstructDB
- type IntSlice
- type LayerAPI
- type LayerDB
- func (layerDB *LayerDB) CopyBasicFieldsFromLayer(layer *models.Layer)
- func (layerDB *LayerDB) CopyBasicFieldsFromLayerWOP(layer *LayerWOP)
- func (layerDB *LayerDB) CopyBasicFieldsFromLayer_WOP(layer *models.Layer_WOP)
- func (layerDB *LayerDB) CopyBasicFieldsToLayer(layer *models.Layer)
- func (layerDB *LayerDB) CopyBasicFieldsToLayerWOP(layer *LayerWOP)
- func (layerDB *LayerDB) CopyBasicFieldsToLayer_WOP(layer *models.Layer_WOP)
- func (layerDB *LayerDB) DecodePointers(backRepo *BackRepoStruct, layer *models.Layer)
- type LayerDBResponse
- type LayerDBs
- type LayerPointersEncoding
- type LayerWOP
- type LineAPI
- type LineDB
- func (lineDB *LineDB) CopyBasicFieldsFromLine(line *models.Line)
- func (lineDB *LineDB) CopyBasicFieldsFromLineWOP(line *LineWOP)
- func (lineDB *LineDB) CopyBasicFieldsFromLine_WOP(line *models.Line_WOP)
- func (lineDB *LineDB) CopyBasicFieldsToLine(line *models.Line)
- func (lineDB *LineDB) CopyBasicFieldsToLineWOP(line *LineWOP)
- func (lineDB *LineDB) CopyBasicFieldsToLine_WOP(line *models.Line_WOP)
- func (lineDB *LineDB) DecodePointers(backRepo *BackRepoStruct, line *models.Line)
- type LineDBResponse
- type LineDBs
- type LinePointersEncoding
- type LineWOP
- type LinkAPI
- type LinkAnchoredTextAPI
- type LinkAnchoredTextDB
- func (linkanchoredtextDB *LinkAnchoredTextDB) CopyBasicFieldsFromLinkAnchoredText(linkanchoredtext *models.LinkAnchoredText)
- func (linkanchoredtextDB *LinkAnchoredTextDB) CopyBasicFieldsFromLinkAnchoredTextWOP(linkanchoredtext *LinkAnchoredTextWOP)
- func (linkanchoredtextDB *LinkAnchoredTextDB) CopyBasicFieldsFromLinkAnchoredText_WOP(linkanchoredtext *models.LinkAnchoredText_WOP)
- func (linkanchoredtextDB *LinkAnchoredTextDB) CopyBasicFieldsToLinkAnchoredText(linkanchoredtext *models.LinkAnchoredText)
- func (linkanchoredtextDB *LinkAnchoredTextDB) CopyBasicFieldsToLinkAnchoredTextWOP(linkanchoredtext *LinkAnchoredTextWOP)
- func (linkanchoredtextDB *LinkAnchoredTextDB) CopyBasicFieldsToLinkAnchoredText_WOP(linkanchoredtext *models.LinkAnchoredText_WOP)
- func (linkanchoredtextDB *LinkAnchoredTextDB) DecodePointers(backRepo *BackRepoStruct, linkanchoredtext *models.LinkAnchoredText)
- type LinkAnchoredTextDBResponse
- type LinkAnchoredTextDBs
- type LinkAnchoredTextPointersEncoding
- type LinkAnchoredTextWOP
- type LinkDB
- func (linkDB *LinkDB) CopyBasicFieldsFromLink(link *models.Link)
- func (linkDB *LinkDB) CopyBasicFieldsFromLinkWOP(link *LinkWOP)
- func (linkDB *LinkDB) CopyBasicFieldsFromLink_WOP(link *models.Link_WOP)
- func (linkDB *LinkDB) CopyBasicFieldsToLink(link *models.Link)
- func (linkDB *LinkDB) CopyBasicFieldsToLinkWOP(link *LinkWOP)
- func (linkDB *LinkDB) CopyBasicFieldsToLink_WOP(link *models.Link_WOP)
- func (linkDB *LinkDB) DecodePointers(backRepo *BackRepoStruct, link *models.Link)
- type LinkDBResponse
- type LinkDBs
- type LinkPointersEncoding
- type LinkWOP
- type PathAPI
- type PathDB
- func (pathDB *PathDB) CopyBasicFieldsFromPath(path *models.Path)
- func (pathDB *PathDB) CopyBasicFieldsFromPathWOP(path *PathWOP)
- func (pathDB *PathDB) CopyBasicFieldsFromPath_WOP(path *models.Path_WOP)
- func (pathDB *PathDB) CopyBasicFieldsToPath(path *models.Path)
- func (pathDB *PathDB) CopyBasicFieldsToPathWOP(path *PathWOP)
- func (pathDB *PathDB) CopyBasicFieldsToPath_WOP(path *models.Path_WOP)
- func (pathDB *PathDB) DecodePointers(backRepo *BackRepoStruct, path *models.Path)
- type PathDBResponse
- type PathDBs
- type PathPointersEncoding
- type PathWOP
- type PointAPI
- type PointDB
- func (pointDB *PointDB) CopyBasicFieldsFromPoint(point *models.Point)
- func (pointDB *PointDB) CopyBasicFieldsFromPointWOP(point *PointWOP)
- func (pointDB *PointDB) CopyBasicFieldsFromPoint_WOP(point *models.Point_WOP)
- func (pointDB *PointDB) CopyBasicFieldsToPoint(point *models.Point)
- func (pointDB *PointDB) CopyBasicFieldsToPointWOP(point *PointWOP)
- func (pointDB *PointDB) CopyBasicFieldsToPoint_WOP(point *models.Point_WOP)
- func (pointDB *PointDB) DecodePointers(backRepo *BackRepoStruct, point *models.Point)
- type PointDBResponse
- type PointDBs
- type PointPointersEncoding
- type PointWOP
- type PolygoneAPI
- type PolygoneDB
- func (polygoneDB *PolygoneDB) CopyBasicFieldsFromPolygone(polygone *models.Polygone)
- func (polygoneDB *PolygoneDB) CopyBasicFieldsFromPolygoneWOP(polygone *PolygoneWOP)
- func (polygoneDB *PolygoneDB) CopyBasicFieldsFromPolygone_WOP(polygone *models.Polygone_WOP)
- func (polygoneDB *PolygoneDB) CopyBasicFieldsToPolygone(polygone *models.Polygone)
- func (polygoneDB *PolygoneDB) CopyBasicFieldsToPolygoneWOP(polygone *PolygoneWOP)
- func (polygoneDB *PolygoneDB) CopyBasicFieldsToPolygone_WOP(polygone *models.Polygone_WOP)
- func (polygoneDB *PolygoneDB) DecodePointers(backRepo *BackRepoStruct, polygone *models.Polygone)
- type PolygoneDBResponse
- type PolygoneDBs
- type PolygonePointersEncoding
- type PolygoneWOP
- type PolylineAPI
- type PolylineDB
- func (polylineDB *PolylineDB) CopyBasicFieldsFromPolyline(polyline *models.Polyline)
- func (polylineDB *PolylineDB) CopyBasicFieldsFromPolylineWOP(polyline *PolylineWOP)
- func (polylineDB *PolylineDB) CopyBasicFieldsFromPolyline_WOP(polyline *models.Polyline_WOP)
- func (polylineDB *PolylineDB) CopyBasicFieldsToPolyline(polyline *models.Polyline)
- func (polylineDB *PolylineDB) CopyBasicFieldsToPolylineWOP(polyline *PolylineWOP)
- func (polylineDB *PolylineDB) CopyBasicFieldsToPolyline_WOP(polyline *models.Polyline_WOP)
- func (polylineDB *PolylineDB) DecodePointers(backRepo *BackRepoStruct, polyline *models.Polyline)
- type PolylineDBResponse
- type PolylineDBs
- type PolylinePointersEncoding
- type PolylineWOP
- type RectAPI
- type RectAnchoredPathAPI
- type RectAnchoredPathDB
- func (rectanchoredpathDB *RectAnchoredPathDB) CopyBasicFieldsFromRectAnchoredPath(rectanchoredpath *models.RectAnchoredPath)
- func (rectanchoredpathDB *RectAnchoredPathDB) CopyBasicFieldsFromRectAnchoredPathWOP(rectanchoredpath *RectAnchoredPathWOP)
- func (rectanchoredpathDB *RectAnchoredPathDB) CopyBasicFieldsFromRectAnchoredPath_WOP(rectanchoredpath *models.RectAnchoredPath_WOP)
- func (rectanchoredpathDB *RectAnchoredPathDB) CopyBasicFieldsToRectAnchoredPath(rectanchoredpath *models.RectAnchoredPath)
- func (rectanchoredpathDB *RectAnchoredPathDB) CopyBasicFieldsToRectAnchoredPathWOP(rectanchoredpath *RectAnchoredPathWOP)
- func (rectanchoredpathDB *RectAnchoredPathDB) CopyBasicFieldsToRectAnchoredPath_WOP(rectanchoredpath *models.RectAnchoredPath_WOP)
- func (rectanchoredpathDB *RectAnchoredPathDB) DecodePointers(backRepo *BackRepoStruct, rectanchoredpath *models.RectAnchoredPath)
- type RectAnchoredPathDBResponse
- type RectAnchoredPathDBs
- type RectAnchoredPathPointersEncoding
- type RectAnchoredPathWOP
- type RectAnchoredRectAPI
- type RectAnchoredRectDB
- func (rectanchoredrectDB *RectAnchoredRectDB) CopyBasicFieldsFromRectAnchoredRect(rectanchoredrect *models.RectAnchoredRect)
- func (rectanchoredrectDB *RectAnchoredRectDB) CopyBasicFieldsFromRectAnchoredRectWOP(rectanchoredrect *RectAnchoredRectWOP)
- func (rectanchoredrectDB *RectAnchoredRectDB) CopyBasicFieldsFromRectAnchoredRect_WOP(rectanchoredrect *models.RectAnchoredRect_WOP)
- func (rectanchoredrectDB *RectAnchoredRectDB) CopyBasicFieldsToRectAnchoredRect(rectanchoredrect *models.RectAnchoredRect)
- func (rectanchoredrectDB *RectAnchoredRectDB) CopyBasicFieldsToRectAnchoredRectWOP(rectanchoredrect *RectAnchoredRectWOP)
- func (rectanchoredrectDB *RectAnchoredRectDB) CopyBasicFieldsToRectAnchoredRect_WOP(rectanchoredrect *models.RectAnchoredRect_WOP)
- func (rectanchoredrectDB *RectAnchoredRectDB) DecodePointers(backRepo *BackRepoStruct, rectanchoredrect *models.RectAnchoredRect)
- type RectAnchoredRectDBResponse
- type RectAnchoredRectDBs
- type RectAnchoredRectPointersEncoding
- type RectAnchoredRectWOP
- type RectAnchoredTextAPI
- type RectAnchoredTextDB
- func (rectanchoredtextDB *RectAnchoredTextDB) CopyBasicFieldsFromRectAnchoredText(rectanchoredtext *models.RectAnchoredText)
- func (rectanchoredtextDB *RectAnchoredTextDB) CopyBasicFieldsFromRectAnchoredTextWOP(rectanchoredtext *RectAnchoredTextWOP)
- func (rectanchoredtextDB *RectAnchoredTextDB) CopyBasicFieldsFromRectAnchoredText_WOP(rectanchoredtext *models.RectAnchoredText_WOP)
- func (rectanchoredtextDB *RectAnchoredTextDB) CopyBasicFieldsToRectAnchoredText(rectanchoredtext *models.RectAnchoredText)
- func (rectanchoredtextDB *RectAnchoredTextDB) CopyBasicFieldsToRectAnchoredTextWOP(rectanchoredtext *RectAnchoredTextWOP)
- func (rectanchoredtextDB *RectAnchoredTextDB) CopyBasicFieldsToRectAnchoredText_WOP(rectanchoredtext *models.RectAnchoredText_WOP)
- func (rectanchoredtextDB *RectAnchoredTextDB) DecodePointers(backRepo *BackRepoStruct, rectanchoredtext *models.RectAnchoredText)
- type RectAnchoredTextDBResponse
- type RectAnchoredTextDBs
- type RectAnchoredTextPointersEncoding
- type RectAnchoredTextWOP
- type RectDB
- func (rectDB *RectDB) CopyBasicFieldsFromRect(rect *models.Rect)
- func (rectDB *RectDB) CopyBasicFieldsFromRectWOP(rect *RectWOP)
- func (rectDB *RectDB) CopyBasicFieldsFromRect_WOP(rect *models.Rect_WOP)
- func (rectDB *RectDB) CopyBasicFieldsToRect(rect *models.Rect)
- func (rectDB *RectDB) CopyBasicFieldsToRectWOP(rect *RectWOP)
- func (rectDB *RectDB) CopyBasicFieldsToRect_WOP(rect *models.Rect_WOP)
- func (rectDB *RectDB) DecodePointers(backRepo *BackRepoStruct, rect *models.Rect)
- type RectDBResponse
- type RectDBs
- type RectLinkLinkAPI
- type RectLinkLinkDB
- func (rectlinklinkDB *RectLinkLinkDB) CopyBasicFieldsFromRectLinkLink(rectlinklink *models.RectLinkLink)
- func (rectlinklinkDB *RectLinkLinkDB) CopyBasicFieldsFromRectLinkLinkWOP(rectlinklink *RectLinkLinkWOP)
- func (rectlinklinkDB *RectLinkLinkDB) CopyBasicFieldsFromRectLinkLink_WOP(rectlinklink *models.RectLinkLink_WOP)
- func (rectlinklinkDB *RectLinkLinkDB) CopyBasicFieldsToRectLinkLink(rectlinklink *models.RectLinkLink)
- func (rectlinklinkDB *RectLinkLinkDB) CopyBasicFieldsToRectLinkLinkWOP(rectlinklink *RectLinkLinkWOP)
- func (rectlinklinkDB *RectLinkLinkDB) CopyBasicFieldsToRectLinkLink_WOP(rectlinklink *models.RectLinkLink_WOP)
- func (rectlinklinkDB *RectLinkLinkDB) DecodePointers(backRepo *BackRepoStruct, rectlinklink *models.RectLinkLink)
- type RectLinkLinkDBResponse
- type RectLinkLinkDBs
- type RectLinkLinkPointersEncoding
- type RectLinkLinkWOP
- type RectPointersEncoding
- type RectWOP
- type SVGAPI
- type SVGDB
- func (svgDB *SVGDB) CopyBasicFieldsFromSVG(svg *models.SVG)
- func (svgDB *SVGDB) CopyBasicFieldsFromSVGWOP(svg *SVGWOP)
- func (svgDB *SVGDB) CopyBasicFieldsFromSVG_WOP(svg *models.SVG_WOP)
- func (svgDB *SVGDB) CopyBasicFieldsToSVG(svg *models.SVG)
- func (svgDB *SVGDB) CopyBasicFieldsToSVGWOP(svg *SVGWOP)
- func (svgDB *SVGDB) CopyBasicFieldsToSVG_WOP(svg *models.SVG_WOP)
- func (svgDB *SVGDB) DecodePointers(backRepo *BackRepoStruct, svg *models.SVG)
- type SVGDBResponse
- type SVGDBs
- type SVGPointersEncoding
- type SVGWOP
- type SvgTextAPI
- type SvgTextDB
- func (svgtextDB *SvgTextDB) CopyBasicFieldsFromSvgText(svgtext *models.SvgText)
- func (svgtextDB *SvgTextDB) CopyBasicFieldsFromSvgTextWOP(svgtext *SvgTextWOP)
- func (svgtextDB *SvgTextDB) CopyBasicFieldsFromSvgText_WOP(svgtext *models.SvgText_WOP)
- func (svgtextDB *SvgTextDB) CopyBasicFieldsToSvgText(svgtext *models.SvgText)
- func (svgtextDB *SvgTextDB) CopyBasicFieldsToSvgTextWOP(svgtext *SvgTextWOP)
- func (svgtextDB *SvgTextDB) CopyBasicFieldsToSvgText_WOP(svgtext *models.SvgText_WOP)
- func (svgtextDB *SvgTextDB) DecodePointers(backRepo *BackRepoStruct, svgtext *models.SvgText)
- type SvgTextDBResponse
- type SvgTextDBs
- type SvgTextPointersEncoding
- type SvgTextWOP
- type TextAPI
- type TextDB
- func (textDB *TextDB) CopyBasicFieldsFromText(text *models.Text)
- func (textDB *TextDB) CopyBasicFieldsFromTextWOP(text *TextWOP)
- func (textDB *TextDB) CopyBasicFieldsFromText_WOP(text *models.Text_WOP)
- func (textDB *TextDB) CopyBasicFieldsToText(text *models.Text)
- func (textDB *TextDB) CopyBasicFieldsToTextWOP(text *TextWOP)
- func (textDB *TextDB) CopyBasicFieldsToText_WOP(text *models.Text_WOP)
- func (textDB *TextDB) DecodePointers(backRepo *BackRepoStruct, text *models.Text)
- type TextDBResponse
- type TextDBs
- type TextPointersEncoding
- type TextWOP
Constants ¶
This section is empty.
Variables ¶
var Animate_Fields = []string{
"ID",
"Name",
"AttributeName",
"Values",
"From",
"To",
"Dur",
"RepeatCount",
}
var BackRepoAnimateid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoCircleid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoConditionid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoControlPointid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoEllipseid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoLayerid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoLineid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoLinkAnchoredTextid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoLinkid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoPathid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoPointid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoPolygoneid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoPolylineid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoRectAnchoredPathid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoRectAnchoredRectid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoRectAnchoredTextid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoRectLinkLinkid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoRectid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoSVGid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoSvgTextid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoTextid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var Circle_Fields = []string{
"ID",
"Name",
"CX",
"CY",
"Radius",
"Color",
"FillOpacity",
"Stroke",
"StrokeOpacity",
"StrokeWidth",
"StrokeDashArray",
"StrokeDashArrayWhenSelected",
"Transform",
}
var Condition_Fields = []string{
"ID",
"Name",
}
var ControlPoint_Fields = []string{
"ID",
"Name",
"X_Relative",
"Y_Relative",
}
var Ellipse_Fields = []string{
"ID",
"Name",
"CX",
"CY",
"RX",
"RY",
"Color",
"FillOpacity",
"Stroke",
"StrokeOpacity",
"StrokeWidth",
"StrokeDashArray",
"StrokeDashArrayWhenSelected",
"Transform",
}
var Layer_Fields = []string{
"ID",
"Name",
}
var Line_Fields = []string{
"ID",
"Name",
"X1",
"Y1",
"X2",
"Y2",
"Color",
"FillOpacity",
"Stroke",
"StrokeOpacity",
"StrokeWidth",
"StrokeDashArray",
"StrokeDashArrayWhenSelected",
"Transform",
"MouseClickX",
"MouseClickY",
}
var LinkAnchoredText_Fields = []string{
"ID",
"Name",
"Content",
"AutomaticLayout",
"LinkAnchorType",
"X_Offset",
"Y_Offset",
"FontWeight",
"FontSize",
"FontStyle",
"LetterSpacing",
"FontFamily",
"WhiteSpace",
"Color",
"FillOpacity",
"Stroke",
"StrokeOpacity",
"StrokeWidth",
"StrokeDashArray",
"StrokeDashArrayWhenSelected",
"Transform",
}
var Link_Fields = []string{
"ID",
"Name",
"Type",
"IsBezierCurve",
"StartAnchorType",
"EndAnchorType",
"StartOrientation",
"StartRatio",
"EndOrientation",
"EndRatio",
"CornerOffsetRatio",
"CornerRadius",
"HasEndArrow",
"EndArrowSize",
"EndArrowOffset",
"HasStartArrow",
"StartArrowSize",
"StartArrowOffset",
"Color",
"FillOpacity",
"Stroke",
"StrokeOpacity",
"StrokeWidth",
"StrokeDashArray",
"StrokeDashArrayWhenSelected",
"Transform",
"MouseX",
"MouseY",
"MouseEventKey",
}
var Path_Fields = []string{
"ID",
"Name",
"Definition",
"Color",
"FillOpacity",
"Stroke",
"StrokeOpacity",
"StrokeWidth",
"StrokeDashArray",
"StrokeDashArrayWhenSelected",
"Transform",
}
var Point_Fields = []string{
"ID",
"Name",
"X",
"Y",
}
var Polygone_Fields = []string{
"ID",
"Name",
"Points",
"Color",
"FillOpacity",
"Stroke",
"StrokeOpacity",
"StrokeWidth",
"StrokeDashArray",
"StrokeDashArrayWhenSelected",
"Transform",
}
var Polyline_Fields = []string{
"ID",
"Name",
"Points",
"Color",
"FillOpacity",
"Stroke",
"StrokeOpacity",
"StrokeWidth",
"StrokeDashArray",
"StrokeDashArrayWhenSelected",
"Transform",
}
var RectAnchoredPath_Fields = []string{
"ID",
"Name",
"Definition",
"X_Offset",
"Y_Offset",
"RectAnchorType",
"ScalePropotionnally",
"AppliedScaling",
"Color",
"FillOpacity",
"Stroke",
"StrokeOpacity",
"StrokeWidth",
"StrokeDashArray",
"StrokeDashArrayWhenSelected",
"Transform",
}
var RectAnchoredRect_Fields = []string{
"ID",
"Name",
"X",
"Y",
"Width",
"Height",
"RX",
"X_Offset",
"Y_Offset",
"RectAnchorType",
"WidthFollowRect",
"HeightFollowRect",
"HasToolTip",
"ToolTipText",
"Color",
"FillOpacity",
"Stroke",
"StrokeOpacity",
"StrokeWidth",
"StrokeDashArray",
"StrokeDashArrayWhenSelected",
"Transform",
}
var RectAnchoredText_Fields = []string{
"ID",
"Name",
"Content",
"FontWeight",
"FontSize",
"FontStyle",
"LetterSpacing",
"FontFamily",
"WhiteSpace",
"X_Offset",
"Y_Offset",
"RectAnchorType",
"TextAnchorType",
"DominantBaseline",
"WritingMode",
"Color",
"FillOpacity",
"Stroke",
"StrokeOpacity",
"StrokeWidth",
"StrokeDashArray",
"StrokeDashArrayWhenSelected",
"Transform",
}
var RectLinkLink_Fields = []string{
"ID",
"Name",
"TargetAnchorPosition",
"Color",
"FillOpacity",
"Stroke",
"StrokeOpacity",
"StrokeWidth",
"StrokeDashArray",
"StrokeDashArrayWhenSelected",
"Transform",
}
var Rect_Fields = []string{
"ID",
"Name",
"X",
"Y",
"Width",
"Height",
"RX",
"Color",
"FillOpacity",
"Stroke",
"StrokeOpacity",
"StrokeWidth",
"StrokeDashArray",
"StrokeDashArrayWhenSelected",
"Transform",
"IsSelectable",
"IsSelected",
"CanHaveLeftHandle",
"HasLeftHandle",
"CanHaveRightHandle",
"HasRightHandle",
"CanHaveTopHandle",
"HasTopHandle",
"IsScalingProportionally",
"CanHaveBottomHandle",
"HasBottomHandle",
"CanMoveHorizontaly",
"CanMoveVerticaly",
"ChangeColorWhenHovered",
"ColorWhenHovered",
"OriginalColor",
"FillOpacityWhenHovered",
"OriginalFillOpacity",
"HasToolTip",
"ToolTipText",
"ToolTipPosition",
"MouseX",
"MouseY",
"MouseEventKey",
}
var SVG_Fields = []string{
"ID",
"Name",
"DrawingState",
"IsEditable",
"IsSVGFrontEndFileGenerated",
"IsSVGBackEndFileGenerated",
"DefaultDirectoryForGeneratedImages",
"IsControlBannerHidden",
}
var SvgText_Fields = []string{
"ID",
"Name",
"Text",
}
var Text_Fields = []string{
"ID",
"Name",
"X",
"Y",
"Content",
"Color",
"FillOpacity",
"Stroke",
"StrokeOpacity",
"StrokeWidth",
"StrokeDashArray",
"StrokeDashArrayWhenSelected",
"Transform",
"FontWeight",
"FontSize",
"FontStyle",
"LetterSpacing",
"FontFamily",
"WhiteSpace",
}
Functions ¶
func CopyBackRepoToBackRepoData ¶
func CopyBackRepoToBackRepoData(backRepo *BackRepoStruct, backRepoData *BackRepoData)
func GetID ¶
func GetID[T models.Gongstruct]( stage *models.Stage, backRepo *BackRepoStruct, instance *T) (id int)
func GetIDPointer ¶
func GetIDPointer[T models.PointerToGongstruct]( stage *models.Stage, backRepo *BackRepoStruct, instance T) (id int)
func GetInstanceDBFromInstance ¶
func GetInstanceDBFromInstance[T models.Gongstruct, T2 GongstructDB]( stage *models.Stage, backRepo *BackRepoStruct, instance *T) (ret *T2)
Types ¶
type AnimateAPI ¶
type AnimateAPI struct {
gorm.Model
models.Animate_WOP
// encoding of pointers
// for API, it cannot be embedded
AnimatePointersEncoding AnimatePointersEncoding
}
AnimateAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model animateAPI
type AnimateDB ¶
type AnimateDB struct {
gorm.Model
// Declation for basic field animateDB.Name
Name_Data sql.NullString
// Declation for basic field animateDB.AttributeName
AttributeName_Data sql.NullString
// Declation for basic field animateDB.Values
Values_Data sql.NullString
// Declation for basic field animateDB.From
From_Data sql.NullString
// Declation for basic field animateDB.To
To_Data sql.NullString
// Declation for basic field animateDB.Dur
Dur_Data sql.NullString
// Declation for basic field animateDB.RepeatCount
RepeatCount_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
AnimatePointersEncoding
}
AnimateDB describes a animate in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model animateDB
func (*AnimateDB) CopyBasicFieldsFromAnimate ¶
CopyBasicFieldsFromAnimate
func (*AnimateDB) CopyBasicFieldsFromAnimateWOP ¶
func (animateDB *AnimateDB) CopyBasicFieldsFromAnimateWOP(animate *AnimateWOP)
CopyBasicFieldsFromAnimateWOP
func (*AnimateDB) CopyBasicFieldsFromAnimate_WOP ¶
func (animateDB *AnimateDB) CopyBasicFieldsFromAnimate_WOP(animate *models.Animate_WOP)
CopyBasicFieldsFromAnimate_WOP
func (*AnimateDB) CopyBasicFieldsToAnimate ¶
CopyBasicFieldsToAnimate
func (*AnimateDB) CopyBasicFieldsToAnimateWOP ¶
func (animateDB *AnimateDB) CopyBasicFieldsToAnimateWOP(animate *AnimateWOP)
CopyBasicFieldsToAnimateWOP
func (*AnimateDB) CopyBasicFieldsToAnimate_WOP ¶
func (animateDB *AnimateDB) CopyBasicFieldsToAnimate_WOP(animate *models.Animate_WOP)
CopyBasicFieldsToAnimate_WOP
func (*AnimateDB) DecodePointers ¶
func (animateDB *AnimateDB) DecodePointers(backRepo *BackRepoStruct, animate *models.Animate)
type AnimateDBResponse ¶
type AnimateDBResponse struct {
AnimateDB
}
AnimateDBResponse provides response swagger:response animateDBResponse
type AnimateDBs ¶
type AnimateDBs []AnimateDB
AnimateDBs arrays animateDBs swagger:response animateDBsResponse
type AnimatePointersEncoding ¶
type AnimatePointersEncoding struct {
}
AnimatePointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type AnimateWOP ¶
type AnimateWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
AttributeName string `xlsx:"2"`
Values string `xlsx:"3"`
From string `xlsx:"4"`
To string `xlsx:"5"`
Dur string `xlsx:"6"`
RepeatCount string `xlsx:"7"`
}
AnimateWOP is a Animate without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type BackRepoAnimateStruct ¶
type BackRepoAnimateStruct struct {
// stores AnimateDB according to their gorm ID
Map_AnimateDBID_AnimateDB map[uint]*AnimateDB
// stores AnimateDB ID according to Animate address
Map_AnimatePtr_AnimateDBID map[*models.Animate]uint
// stores Animate according to their gorm ID
Map_AnimateDBID_AnimatePtr map[uint]*models.Animate
// contains filtered or unexported fields
}
func (*BackRepoAnimateStruct) Backup ¶
func (backRepoAnimate *BackRepoAnimateStruct) Backup(dirPath string)
Backup generates a json file from a slice of all AnimateDB instances in the backrepo
func (*BackRepoAnimateStruct) BackupXL ¶
func (backRepoAnimate *BackRepoAnimateStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all AnimateDB instances in the backrepo
func (*BackRepoAnimateStruct) CheckoutPhaseOne ¶
func (backRepoAnimate *BackRepoAnimateStruct) CheckoutPhaseOne() (Error error)
BackRepoAnimate.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoAnimateStruct) CheckoutPhaseOneInstance ¶
func (backRepoAnimate *BackRepoAnimateStruct) CheckoutPhaseOneInstance(animateDB *AnimateDB) (Error error)
CheckoutPhaseOneInstance takes a animateDB that has been found in the DB, updates the backRepo and stages the models version of the animateDB
func (*BackRepoAnimateStruct) CheckoutPhaseTwo ¶
func (backRepoAnimate *BackRepoAnimateStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoAnimate.CheckoutPhaseTwo Checkouts all staged instances of Animate to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoAnimateStruct) CheckoutPhaseTwoInstance ¶
func (backRepoAnimate *BackRepoAnimateStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, animateDB *AnimateDB) (Error error)
BackRepoAnimate.CheckoutPhaseTwoInstance Checkouts staged instances of Animate to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoAnimateStruct) CommitDeleteInstance ¶
func (backRepoAnimate *BackRepoAnimateStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoAnimate.CommitDeleteInstance commits deletion of Animate to the BackRepo
func (*BackRepoAnimateStruct) CommitPhaseOne ¶
func (backRepoAnimate *BackRepoAnimateStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoAnimate.CommitPhaseOne commits all staged instances of Animate to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoAnimateStruct) CommitPhaseOneInstance ¶
func (backRepoAnimate *BackRepoAnimateStruct) CommitPhaseOneInstance(animate *models.Animate) (Error error)
BackRepoAnimate.CommitPhaseOneInstance commits animate staged instances of Animate to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoAnimateStruct) CommitPhaseTwo ¶
func (backRepoAnimate *BackRepoAnimateStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoAnimate.CommitPhaseTwo commits all staged instances of Animate to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoAnimateStruct) CommitPhaseTwoInstance ¶
func (backRepoAnimate *BackRepoAnimateStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, animate *models.Animate) (Error error)
BackRepoAnimate.CommitPhaseTwoInstance commits {{structname }} of models.Animate to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoAnimateStruct) GetAnimateDBFromAnimatePtr ¶
func (backRepoAnimate *BackRepoAnimateStruct) GetAnimateDBFromAnimatePtr(animate *models.Animate) (animateDB *AnimateDB)
GetAnimateDBFromAnimatePtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoAnimateStruct) GetDB ¶
func (backRepoAnimate *BackRepoAnimateStruct) GetDB() db.DBInterface
func (*BackRepoAnimateStruct) GetStage ¶
func (backRepoAnimate *BackRepoAnimateStruct) GetStage() (stage *models.Stage)
func (*BackRepoAnimateStruct) ResetReversePointers ¶
func (backRepoAnimate *BackRepoAnimateStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoAnimate.ResetReversePointers commits all staged instances of Animate to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoAnimateStruct) ResetReversePointersInstance ¶
func (backRepoAnimate *BackRepoAnimateStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, animate *models.Animate) (Error error)
func (*BackRepoAnimateStruct) RestorePhaseOne ¶
func (backRepoAnimate *BackRepoAnimateStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "AnimateDB.json" in dirPath that stores an array of AnimateDB and stores it in the database the map BackRepoAnimateid_atBckpTime_newID is updated accordingly
func (*BackRepoAnimateStruct) RestorePhaseTwo ¶
func (backRepoAnimate *BackRepoAnimateStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Animate>id_atBckpTime_newID to compute new index
func (*BackRepoAnimateStruct) RestoreXLPhaseOne ¶
func (backRepoAnimate *BackRepoAnimateStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Animate" sheet all AnimateDB instances
type BackRepoCircleStruct ¶
type BackRepoCircleStruct struct {
// stores CircleDB according to their gorm ID
Map_CircleDBID_CircleDB map[uint]*CircleDB
// stores CircleDB ID according to Circle address
Map_CirclePtr_CircleDBID map[*models.Circle]uint
// stores Circle according to their gorm ID
Map_CircleDBID_CirclePtr map[uint]*models.Circle
// contains filtered or unexported fields
}
func (*BackRepoCircleStruct) Backup ¶
func (backRepoCircle *BackRepoCircleStruct) Backup(dirPath string)
Backup generates a json file from a slice of all CircleDB instances in the backrepo
func (*BackRepoCircleStruct) BackupXL ¶
func (backRepoCircle *BackRepoCircleStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all CircleDB instances in the backrepo
func (*BackRepoCircleStruct) CheckoutPhaseOne ¶
func (backRepoCircle *BackRepoCircleStruct) CheckoutPhaseOne() (Error error)
BackRepoCircle.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoCircleStruct) CheckoutPhaseOneInstance ¶
func (backRepoCircle *BackRepoCircleStruct) CheckoutPhaseOneInstance(circleDB *CircleDB) (Error error)
CheckoutPhaseOneInstance takes a circleDB that has been found in the DB, updates the backRepo and stages the models version of the circleDB
func (*BackRepoCircleStruct) CheckoutPhaseTwo ¶
func (backRepoCircle *BackRepoCircleStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCircle.CheckoutPhaseTwo Checkouts all staged instances of Circle to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCircleStruct) CheckoutPhaseTwoInstance ¶
func (backRepoCircle *BackRepoCircleStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, circleDB *CircleDB) (Error error)
BackRepoCircle.CheckoutPhaseTwoInstance Checkouts staged instances of Circle to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCircleStruct) CommitDeleteInstance ¶
func (backRepoCircle *BackRepoCircleStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoCircle.CommitDeleteInstance commits deletion of Circle to the BackRepo
func (*BackRepoCircleStruct) CommitPhaseOne ¶
func (backRepoCircle *BackRepoCircleStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoCircle.CommitPhaseOne commits all staged instances of Circle to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCircleStruct) CommitPhaseOneInstance ¶
func (backRepoCircle *BackRepoCircleStruct) CommitPhaseOneInstance(circle *models.Circle) (Error error)
BackRepoCircle.CommitPhaseOneInstance commits circle staged instances of Circle to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCircleStruct) CommitPhaseTwo ¶
func (backRepoCircle *BackRepoCircleStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCircle.CommitPhaseTwo commits all staged instances of Circle to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCircleStruct) CommitPhaseTwoInstance ¶
func (backRepoCircle *BackRepoCircleStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, circle *models.Circle) (Error error)
BackRepoCircle.CommitPhaseTwoInstance commits {{structname }} of models.Circle to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCircleStruct) GetCircleDBFromCirclePtr ¶
func (backRepoCircle *BackRepoCircleStruct) GetCircleDBFromCirclePtr(circle *models.Circle) (circleDB *CircleDB)
GetCircleDBFromCirclePtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoCircleStruct) GetDB ¶
func (backRepoCircle *BackRepoCircleStruct) GetDB() db.DBInterface
func (*BackRepoCircleStruct) GetStage ¶
func (backRepoCircle *BackRepoCircleStruct) GetStage() (stage *models.Stage)
func (*BackRepoCircleStruct) ResetReversePointers ¶
func (backRepoCircle *BackRepoCircleStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoCircle.ResetReversePointers commits all staged instances of Circle to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCircleStruct) ResetReversePointersInstance ¶
func (backRepoCircle *BackRepoCircleStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, circle *models.Circle) (Error error)
func (*BackRepoCircleStruct) RestorePhaseOne ¶
func (backRepoCircle *BackRepoCircleStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "CircleDB.json" in dirPath that stores an array of CircleDB and stores it in the database the map BackRepoCircleid_atBckpTime_newID is updated accordingly
func (*BackRepoCircleStruct) RestorePhaseTwo ¶
func (backRepoCircle *BackRepoCircleStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Circle>id_atBckpTime_newID to compute new index
func (*BackRepoCircleStruct) RestoreXLPhaseOne ¶
func (backRepoCircle *BackRepoCircleStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Circle" sheet all CircleDB instances
type BackRepoConditionStruct ¶
type BackRepoConditionStruct struct {
// stores ConditionDB according to their gorm ID
Map_ConditionDBID_ConditionDB map[uint]*ConditionDB
// stores ConditionDB ID according to Condition address
Map_ConditionPtr_ConditionDBID map[*models.Condition]uint
// stores Condition according to their gorm ID
Map_ConditionDBID_ConditionPtr map[uint]*models.Condition
// contains filtered or unexported fields
}
func (*BackRepoConditionStruct) Backup ¶
func (backRepoCondition *BackRepoConditionStruct) Backup(dirPath string)
Backup generates a json file from a slice of all ConditionDB instances in the backrepo
func (*BackRepoConditionStruct) BackupXL ¶
func (backRepoCondition *BackRepoConditionStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all ConditionDB instances in the backrepo
func (*BackRepoConditionStruct) CheckoutPhaseOne ¶
func (backRepoCondition *BackRepoConditionStruct) CheckoutPhaseOne() (Error error)
BackRepoCondition.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoConditionStruct) CheckoutPhaseOneInstance ¶
func (backRepoCondition *BackRepoConditionStruct) CheckoutPhaseOneInstance(conditionDB *ConditionDB) (Error error)
CheckoutPhaseOneInstance takes a conditionDB that has been found in the DB, updates the backRepo and stages the models version of the conditionDB
func (*BackRepoConditionStruct) CheckoutPhaseTwo ¶
func (backRepoCondition *BackRepoConditionStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCondition.CheckoutPhaseTwo Checkouts all staged instances of Condition to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoConditionStruct) CheckoutPhaseTwoInstance ¶
func (backRepoCondition *BackRepoConditionStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, conditionDB *ConditionDB) (Error error)
BackRepoCondition.CheckoutPhaseTwoInstance Checkouts staged instances of Condition to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoConditionStruct) CommitDeleteInstance ¶
func (backRepoCondition *BackRepoConditionStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoCondition.CommitDeleteInstance commits deletion of Condition to the BackRepo
func (*BackRepoConditionStruct) CommitPhaseOne ¶
func (backRepoCondition *BackRepoConditionStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoCondition.CommitPhaseOne commits all staged instances of Condition to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoConditionStruct) CommitPhaseOneInstance ¶
func (backRepoCondition *BackRepoConditionStruct) CommitPhaseOneInstance(condition *models.Condition) (Error error)
BackRepoCondition.CommitPhaseOneInstance commits condition staged instances of Condition to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoConditionStruct) CommitPhaseTwo ¶
func (backRepoCondition *BackRepoConditionStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCondition.CommitPhaseTwo commits all staged instances of Condition to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoConditionStruct) CommitPhaseTwoInstance ¶
func (backRepoCondition *BackRepoConditionStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, condition *models.Condition) (Error error)
BackRepoCondition.CommitPhaseTwoInstance commits {{structname }} of models.Condition to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoConditionStruct) GetConditionDBFromConditionPtr ¶
func (backRepoCondition *BackRepoConditionStruct) GetConditionDBFromConditionPtr(condition *models.Condition) (conditionDB *ConditionDB)
GetConditionDBFromConditionPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoConditionStruct) GetDB ¶
func (backRepoCondition *BackRepoConditionStruct) GetDB() db.DBInterface
func (*BackRepoConditionStruct) GetStage ¶
func (backRepoCondition *BackRepoConditionStruct) GetStage() (stage *models.Stage)
func (*BackRepoConditionStruct) ResetReversePointers ¶
func (backRepoCondition *BackRepoConditionStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoCondition.ResetReversePointers commits all staged instances of Condition to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoConditionStruct) ResetReversePointersInstance ¶
func (backRepoCondition *BackRepoConditionStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, condition *models.Condition) (Error error)
func (*BackRepoConditionStruct) RestorePhaseOne ¶
func (backRepoCondition *BackRepoConditionStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "ConditionDB.json" in dirPath that stores an array of ConditionDB and stores it in the database the map BackRepoConditionid_atBckpTime_newID is updated accordingly
func (*BackRepoConditionStruct) RestorePhaseTwo ¶
func (backRepoCondition *BackRepoConditionStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Condition>id_atBckpTime_newID to compute new index
func (*BackRepoConditionStruct) RestoreXLPhaseOne ¶
func (backRepoCondition *BackRepoConditionStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Condition" sheet all ConditionDB instances
type BackRepoControlPointStruct ¶
type BackRepoControlPointStruct struct {
// stores ControlPointDB according to their gorm ID
Map_ControlPointDBID_ControlPointDB map[uint]*ControlPointDB
// stores ControlPointDB ID according to ControlPoint address
Map_ControlPointPtr_ControlPointDBID map[*models.ControlPoint]uint
// stores ControlPoint according to their gorm ID
Map_ControlPointDBID_ControlPointPtr map[uint]*models.ControlPoint
// contains filtered or unexported fields
}
func (*BackRepoControlPointStruct) Backup ¶
func (backRepoControlPoint *BackRepoControlPointStruct) Backup(dirPath string)
Backup generates a json file from a slice of all ControlPointDB instances in the backrepo
func (*BackRepoControlPointStruct) BackupXL ¶
func (backRepoControlPoint *BackRepoControlPointStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all ControlPointDB instances in the backrepo
func (*BackRepoControlPointStruct) CheckoutPhaseOne ¶
func (backRepoControlPoint *BackRepoControlPointStruct) CheckoutPhaseOne() (Error error)
BackRepoControlPoint.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoControlPointStruct) CheckoutPhaseOneInstance ¶
func (backRepoControlPoint *BackRepoControlPointStruct) CheckoutPhaseOneInstance(controlpointDB *ControlPointDB) (Error error)
CheckoutPhaseOneInstance takes a controlpointDB that has been found in the DB, updates the backRepo and stages the models version of the controlpointDB
func (*BackRepoControlPointStruct) CheckoutPhaseTwo ¶
func (backRepoControlPoint *BackRepoControlPointStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoControlPoint.CheckoutPhaseTwo Checkouts all staged instances of ControlPoint to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoControlPointStruct) CheckoutPhaseTwoInstance ¶
func (backRepoControlPoint *BackRepoControlPointStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, controlpointDB *ControlPointDB) (Error error)
BackRepoControlPoint.CheckoutPhaseTwoInstance Checkouts staged instances of ControlPoint to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoControlPointStruct) CommitDeleteInstance ¶
func (backRepoControlPoint *BackRepoControlPointStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoControlPoint.CommitDeleteInstance commits deletion of ControlPoint to the BackRepo
func (*BackRepoControlPointStruct) CommitPhaseOne ¶
func (backRepoControlPoint *BackRepoControlPointStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoControlPoint.CommitPhaseOne commits all staged instances of ControlPoint to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoControlPointStruct) CommitPhaseOneInstance ¶
func (backRepoControlPoint *BackRepoControlPointStruct) CommitPhaseOneInstance(controlpoint *models.ControlPoint) (Error error)
BackRepoControlPoint.CommitPhaseOneInstance commits controlpoint staged instances of ControlPoint to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoControlPointStruct) CommitPhaseTwo ¶
func (backRepoControlPoint *BackRepoControlPointStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoControlPoint.CommitPhaseTwo commits all staged instances of ControlPoint to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoControlPointStruct) CommitPhaseTwoInstance ¶
func (backRepoControlPoint *BackRepoControlPointStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, controlpoint *models.ControlPoint) (Error error)
BackRepoControlPoint.CommitPhaseTwoInstance commits {{structname }} of models.ControlPoint to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoControlPointStruct) GetControlPointDBFromControlPointPtr ¶
func (backRepoControlPoint *BackRepoControlPointStruct) GetControlPointDBFromControlPointPtr(controlpoint *models.ControlPoint) (controlpointDB *ControlPointDB)
GetControlPointDBFromControlPointPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoControlPointStruct) GetDB ¶
func (backRepoControlPoint *BackRepoControlPointStruct) GetDB() db.DBInterface
func (*BackRepoControlPointStruct) GetStage ¶
func (backRepoControlPoint *BackRepoControlPointStruct) GetStage() (stage *models.Stage)
func (*BackRepoControlPointStruct) ResetReversePointers ¶
func (backRepoControlPoint *BackRepoControlPointStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoControlPoint.ResetReversePointers commits all staged instances of ControlPoint to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoControlPointStruct) ResetReversePointersInstance ¶
func (backRepoControlPoint *BackRepoControlPointStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, controlpoint *models.ControlPoint) (Error error)
func (*BackRepoControlPointStruct) RestorePhaseOne ¶
func (backRepoControlPoint *BackRepoControlPointStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "ControlPointDB.json" in dirPath that stores an array of ControlPointDB and stores it in the database the map BackRepoControlPointid_atBckpTime_newID is updated accordingly
func (*BackRepoControlPointStruct) RestorePhaseTwo ¶
func (backRepoControlPoint *BackRepoControlPointStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<ControlPoint>id_atBckpTime_newID to compute new index
func (*BackRepoControlPointStruct) RestoreXLPhaseOne ¶
func (backRepoControlPoint *BackRepoControlPointStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "ControlPoint" sheet all ControlPointDB instances
type BackRepoData ¶
type BackRepoData struct {
AnimateAPIs []*AnimateAPI
CircleAPIs []*CircleAPI
ConditionAPIs []*ConditionAPI
ControlPointAPIs []*ControlPointAPI
EllipseAPIs []*EllipseAPI
LayerAPIs []*LayerAPI
LineAPIs []*LineAPI
LinkAPIs []*LinkAPI
LinkAnchoredTextAPIs []*LinkAnchoredTextAPI
PathAPIs []*PathAPI
PointAPIs []*PointAPI
PolygoneAPIs []*PolygoneAPI
PolylineAPIs []*PolylineAPI
RectAPIs []*RectAPI
RectAnchoredPathAPIs []*RectAnchoredPathAPI
RectAnchoredRectAPIs []*RectAnchoredRectAPI
RectAnchoredTextAPIs []*RectAnchoredTextAPI
RectLinkLinkAPIs []*RectLinkLinkAPI
SVGAPIs []*SVGAPI
SvgTextAPIs []*SvgTextAPI
TextAPIs []*TextAPI
// index of the web socket for this stack type (unique among all stack instances)
GONG__Index int
}
type BackRepoEllipseStruct ¶
type BackRepoEllipseStruct struct {
// stores EllipseDB according to their gorm ID
Map_EllipseDBID_EllipseDB map[uint]*EllipseDB
// stores EllipseDB ID according to Ellipse address
Map_EllipsePtr_EllipseDBID map[*models.Ellipse]uint
// stores Ellipse according to their gorm ID
Map_EllipseDBID_EllipsePtr map[uint]*models.Ellipse
// contains filtered or unexported fields
}
func (*BackRepoEllipseStruct) Backup ¶
func (backRepoEllipse *BackRepoEllipseStruct) Backup(dirPath string)
Backup generates a json file from a slice of all EllipseDB instances in the backrepo
func (*BackRepoEllipseStruct) BackupXL ¶
func (backRepoEllipse *BackRepoEllipseStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all EllipseDB instances in the backrepo
func (*BackRepoEllipseStruct) CheckoutPhaseOne ¶
func (backRepoEllipse *BackRepoEllipseStruct) CheckoutPhaseOne() (Error error)
BackRepoEllipse.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoEllipseStruct) CheckoutPhaseOneInstance ¶
func (backRepoEllipse *BackRepoEllipseStruct) CheckoutPhaseOneInstance(ellipseDB *EllipseDB) (Error error)
CheckoutPhaseOneInstance takes a ellipseDB that has been found in the DB, updates the backRepo and stages the models version of the ellipseDB
func (*BackRepoEllipseStruct) CheckoutPhaseTwo ¶
func (backRepoEllipse *BackRepoEllipseStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoEllipse.CheckoutPhaseTwo Checkouts all staged instances of Ellipse to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoEllipseStruct) CheckoutPhaseTwoInstance ¶
func (backRepoEllipse *BackRepoEllipseStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, ellipseDB *EllipseDB) (Error error)
BackRepoEllipse.CheckoutPhaseTwoInstance Checkouts staged instances of Ellipse to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoEllipseStruct) CommitDeleteInstance ¶
func (backRepoEllipse *BackRepoEllipseStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoEllipse.CommitDeleteInstance commits deletion of Ellipse to the BackRepo
func (*BackRepoEllipseStruct) CommitPhaseOne ¶
func (backRepoEllipse *BackRepoEllipseStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoEllipse.CommitPhaseOne commits all staged instances of Ellipse to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoEllipseStruct) CommitPhaseOneInstance ¶
func (backRepoEllipse *BackRepoEllipseStruct) CommitPhaseOneInstance(ellipse *models.Ellipse) (Error error)
BackRepoEllipse.CommitPhaseOneInstance commits ellipse staged instances of Ellipse to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoEllipseStruct) CommitPhaseTwo ¶
func (backRepoEllipse *BackRepoEllipseStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoEllipse.CommitPhaseTwo commits all staged instances of Ellipse to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoEllipseStruct) CommitPhaseTwoInstance ¶
func (backRepoEllipse *BackRepoEllipseStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, ellipse *models.Ellipse) (Error error)
BackRepoEllipse.CommitPhaseTwoInstance commits {{structname }} of models.Ellipse to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoEllipseStruct) GetDB ¶
func (backRepoEllipse *BackRepoEllipseStruct) GetDB() db.DBInterface
func (*BackRepoEllipseStruct) GetEllipseDBFromEllipsePtr ¶
func (backRepoEllipse *BackRepoEllipseStruct) GetEllipseDBFromEllipsePtr(ellipse *models.Ellipse) (ellipseDB *EllipseDB)
GetEllipseDBFromEllipsePtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoEllipseStruct) GetStage ¶
func (backRepoEllipse *BackRepoEllipseStruct) GetStage() (stage *models.Stage)
func (*BackRepoEllipseStruct) ResetReversePointers ¶
func (backRepoEllipse *BackRepoEllipseStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoEllipse.ResetReversePointers commits all staged instances of Ellipse to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoEllipseStruct) ResetReversePointersInstance ¶
func (backRepoEllipse *BackRepoEllipseStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, ellipse *models.Ellipse) (Error error)
func (*BackRepoEllipseStruct) RestorePhaseOne ¶
func (backRepoEllipse *BackRepoEllipseStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "EllipseDB.json" in dirPath that stores an array of EllipseDB and stores it in the database the map BackRepoEllipseid_atBckpTime_newID is updated accordingly
func (*BackRepoEllipseStruct) RestorePhaseTwo ¶
func (backRepoEllipse *BackRepoEllipseStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Ellipse>id_atBckpTime_newID to compute new index
func (*BackRepoEllipseStruct) RestoreXLPhaseOne ¶
func (backRepoEllipse *BackRepoEllipseStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Ellipse" sheet all EllipseDB instances
type BackRepoLayerStruct ¶
type BackRepoLayerStruct struct {
// stores LayerDB according to their gorm ID
Map_LayerDBID_LayerDB map[uint]*LayerDB
// stores LayerDB ID according to Layer address
Map_LayerPtr_LayerDBID map[*models.Layer]uint
// stores Layer according to their gorm ID
Map_LayerDBID_LayerPtr map[uint]*models.Layer
// contains filtered or unexported fields
}
func (*BackRepoLayerStruct) Backup ¶
func (backRepoLayer *BackRepoLayerStruct) Backup(dirPath string)
Backup generates a json file from a slice of all LayerDB instances in the backrepo
func (*BackRepoLayerStruct) BackupXL ¶
func (backRepoLayer *BackRepoLayerStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all LayerDB instances in the backrepo
func (*BackRepoLayerStruct) CheckoutPhaseOne ¶
func (backRepoLayer *BackRepoLayerStruct) CheckoutPhaseOne() (Error error)
BackRepoLayer.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoLayerStruct) CheckoutPhaseOneInstance ¶
func (backRepoLayer *BackRepoLayerStruct) CheckoutPhaseOneInstance(layerDB *LayerDB) (Error error)
CheckoutPhaseOneInstance takes a layerDB that has been found in the DB, updates the backRepo and stages the models version of the layerDB
func (*BackRepoLayerStruct) CheckoutPhaseTwo ¶
func (backRepoLayer *BackRepoLayerStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoLayer.CheckoutPhaseTwo Checkouts all staged instances of Layer to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLayerStruct) CheckoutPhaseTwoInstance ¶
func (backRepoLayer *BackRepoLayerStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, layerDB *LayerDB) (Error error)
BackRepoLayer.CheckoutPhaseTwoInstance Checkouts staged instances of Layer to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLayerStruct) CommitDeleteInstance ¶
func (backRepoLayer *BackRepoLayerStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoLayer.CommitDeleteInstance commits deletion of Layer to the BackRepo
func (*BackRepoLayerStruct) CommitPhaseOne ¶
func (backRepoLayer *BackRepoLayerStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoLayer.CommitPhaseOne commits all staged instances of Layer to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoLayerStruct) CommitPhaseOneInstance ¶
func (backRepoLayer *BackRepoLayerStruct) CommitPhaseOneInstance(layer *models.Layer) (Error error)
BackRepoLayer.CommitPhaseOneInstance commits layer staged instances of Layer to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoLayerStruct) CommitPhaseTwo ¶
func (backRepoLayer *BackRepoLayerStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoLayer.CommitPhaseTwo commits all staged instances of Layer to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLayerStruct) CommitPhaseTwoInstance ¶
func (backRepoLayer *BackRepoLayerStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, layer *models.Layer) (Error error)
BackRepoLayer.CommitPhaseTwoInstance commits {{structname }} of models.Layer to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLayerStruct) GetDB ¶
func (backRepoLayer *BackRepoLayerStruct) GetDB() db.DBInterface
func (*BackRepoLayerStruct) GetLayerDBFromLayerPtr ¶
func (backRepoLayer *BackRepoLayerStruct) GetLayerDBFromLayerPtr(layer *models.Layer) (layerDB *LayerDB)
GetLayerDBFromLayerPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoLayerStruct) GetStage ¶
func (backRepoLayer *BackRepoLayerStruct) GetStage() (stage *models.Stage)
func (*BackRepoLayerStruct) ResetReversePointers ¶
func (backRepoLayer *BackRepoLayerStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoLayer.ResetReversePointers commits all staged instances of Layer to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLayerStruct) ResetReversePointersInstance ¶
func (backRepoLayer *BackRepoLayerStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, layer *models.Layer) (Error error)
func (*BackRepoLayerStruct) RestorePhaseOne ¶
func (backRepoLayer *BackRepoLayerStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "LayerDB.json" in dirPath that stores an array of LayerDB and stores it in the database the map BackRepoLayerid_atBckpTime_newID is updated accordingly
func (*BackRepoLayerStruct) RestorePhaseTwo ¶
func (backRepoLayer *BackRepoLayerStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Layer>id_atBckpTime_newID to compute new index
func (*BackRepoLayerStruct) RestoreXLPhaseOne ¶
func (backRepoLayer *BackRepoLayerStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Layer" sheet all LayerDB instances
type BackRepoLineStruct ¶
type BackRepoLineStruct struct {
// stores LineDB according to their gorm ID
Map_LineDBID_LineDB map[uint]*LineDB
// stores LineDB ID according to Line address
Map_LinePtr_LineDBID map[*models.Line]uint
// stores Line according to their gorm ID
Map_LineDBID_LinePtr map[uint]*models.Line
// contains filtered or unexported fields
}
func (*BackRepoLineStruct) Backup ¶
func (backRepoLine *BackRepoLineStruct) Backup(dirPath string)
Backup generates a json file from a slice of all LineDB instances in the backrepo
func (*BackRepoLineStruct) BackupXL ¶
func (backRepoLine *BackRepoLineStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all LineDB instances in the backrepo
func (*BackRepoLineStruct) CheckoutPhaseOne ¶
func (backRepoLine *BackRepoLineStruct) CheckoutPhaseOne() (Error error)
BackRepoLine.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoLineStruct) CheckoutPhaseOneInstance ¶
func (backRepoLine *BackRepoLineStruct) CheckoutPhaseOneInstance(lineDB *LineDB) (Error error)
CheckoutPhaseOneInstance takes a lineDB that has been found in the DB, updates the backRepo and stages the models version of the lineDB
func (*BackRepoLineStruct) CheckoutPhaseTwo ¶
func (backRepoLine *BackRepoLineStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoLine.CheckoutPhaseTwo Checkouts all staged instances of Line to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLineStruct) CheckoutPhaseTwoInstance ¶
func (backRepoLine *BackRepoLineStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, lineDB *LineDB) (Error error)
BackRepoLine.CheckoutPhaseTwoInstance Checkouts staged instances of Line to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLineStruct) CommitDeleteInstance ¶
func (backRepoLine *BackRepoLineStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoLine.CommitDeleteInstance commits deletion of Line to the BackRepo
func (*BackRepoLineStruct) CommitPhaseOne ¶
func (backRepoLine *BackRepoLineStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoLine.CommitPhaseOne commits all staged instances of Line to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoLineStruct) CommitPhaseOneInstance ¶
func (backRepoLine *BackRepoLineStruct) CommitPhaseOneInstance(line *models.Line) (Error error)
BackRepoLine.CommitPhaseOneInstance commits line staged instances of Line to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoLineStruct) CommitPhaseTwo ¶
func (backRepoLine *BackRepoLineStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoLine.CommitPhaseTwo commits all staged instances of Line to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLineStruct) CommitPhaseTwoInstance ¶
func (backRepoLine *BackRepoLineStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, line *models.Line) (Error error)
BackRepoLine.CommitPhaseTwoInstance commits {{structname }} of models.Line to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLineStruct) GetDB ¶
func (backRepoLine *BackRepoLineStruct) GetDB() db.DBInterface
func (*BackRepoLineStruct) GetLineDBFromLinePtr ¶
func (backRepoLine *BackRepoLineStruct) GetLineDBFromLinePtr(line *models.Line) (lineDB *LineDB)
GetLineDBFromLinePtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoLineStruct) GetStage ¶
func (backRepoLine *BackRepoLineStruct) GetStage() (stage *models.Stage)
func (*BackRepoLineStruct) ResetReversePointers ¶
func (backRepoLine *BackRepoLineStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoLine.ResetReversePointers commits all staged instances of Line to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLineStruct) ResetReversePointersInstance ¶
func (backRepoLine *BackRepoLineStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, line *models.Line) (Error error)
func (*BackRepoLineStruct) RestorePhaseOne ¶
func (backRepoLine *BackRepoLineStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "LineDB.json" in dirPath that stores an array of LineDB and stores it in the database the map BackRepoLineid_atBckpTime_newID is updated accordingly
func (*BackRepoLineStruct) RestorePhaseTwo ¶
func (backRepoLine *BackRepoLineStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Line>id_atBckpTime_newID to compute new index
func (*BackRepoLineStruct) RestoreXLPhaseOne ¶
func (backRepoLine *BackRepoLineStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Line" sheet all LineDB instances
type BackRepoLinkAnchoredTextStruct ¶
type BackRepoLinkAnchoredTextStruct struct {
// stores LinkAnchoredTextDB according to their gorm ID
Map_LinkAnchoredTextDBID_LinkAnchoredTextDB map[uint]*LinkAnchoredTextDB
// stores LinkAnchoredTextDB ID according to LinkAnchoredText address
Map_LinkAnchoredTextPtr_LinkAnchoredTextDBID map[*models.LinkAnchoredText]uint
// stores LinkAnchoredText according to their gorm ID
Map_LinkAnchoredTextDBID_LinkAnchoredTextPtr map[uint]*models.LinkAnchoredText
// contains filtered or unexported fields
}
func (*BackRepoLinkAnchoredTextStruct) Backup ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) Backup(dirPath string)
Backup generates a json file from a slice of all LinkAnchoredTextDB instances in the backrepo
func (*BackRepoLinkAnchoredTextStruct) BackupXL ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all LinkAnchoredTextDB instances in the backrepo
func (*BackRepoLinkAnchoredTextStruct) CheckoutPhaseOne ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CheckoutPhaseOne() (Error error)
BackRepoLinkAnchoredText.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoLinkAnchoredTextStruct) CheckoutPhaseOneInstance ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CheckoutPhaseOneInstance(linkanchoredtextDB *LinkAnchoredTextDB) (Error error)
CheckoutPhaseOneInstance takes a linkanchoredtextDB that has been found in the DB, updates the backRepo and stages the models version of the linkanchoredtextDB
func (*BackRepoLinkAnchoredTextStruct) CheckoutPhaseTwo ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoLinkAnchoredText.CheckoutPhaseTwo Checkouts all staged instances of LinkAnchoredText to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLinkAnchoredTextStruct) CheckoutPhaseTwoInstance ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, linkanchoredtextDB *LinkAnchoredTextDB) (Error error)
BackRepoLinkAnchoredText.CheckoutPhaseTwoInstance Checkouts staged instances of LinkAnchoredText to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLinkAnchoredTextStruct) CommitDeleteInstance ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoLinkAnchoredText.CommitDeleteInstance commits deletion of LinkAnchoredText to the BackRepo
func (*BackRepoLinkAnchoredTextStruct) CommitPhaseOne ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoLinkAnchoredText.CommitPhaseOne commits all staged instances of LinkAnchoredText to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoLinkAnchoredTextStruct) CommitPhaseOneInstance ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CommitPhaseOneInstance(linkanchoredtext *models.LinkAnchoredText) (Error error)
BackRepoLinkAnchoredText.CommitPhaseOneInstance commits linkanchoredtext staged instances of LinkAnchoredText to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoLinkAnchoredTextStruct) CommitPhaseTwo ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoLinkAnchoredText.CommitPhaseTwo commits all staged instances of LinkAnchoredText to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLinkAnchoredTextStruct) CommitPhaseTwoInstance ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, linkanchoredtext *models.LinkAnchoredText) (Error error)
BackRepoLinkAnchoredText.CommitPhaseTwoInstance commits {{structname }} of models.LinkAnchoredText to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLinkAnchoredTextStruct) GetDB ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) GetDB() db.DBInterface
func (*BackRepoLinkAnchoredTextStruct) GetLinkAnchoredTextDBFromLinkAnchoredTextPtr ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) GetLinkAnchoredTextDBFromLinkAnchoredTextPtr(linkanchoredtext *models.LinkAnchoredText) (linkanchoredtextDB *LinkAnchoredTextDB)
GetLinkAnchoredTextDBFromLinkAnchoredTextPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoLinkAnchoredTextStruct) GetStage ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) GetStage() (stage *models.Stage)
func (*BackRepoLinkAnchoredTextStruct) ResetReversePointers ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoLinkAnchoredText.ResetReversePointers commits all staged instances of LinkAnchoredText to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLinkAnchoredTextStruct) ResetReversePointersInstance ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, linkanchoredtext *models.LinkAnchoredText) (Error error)
func (*BackRepoLinkAnchoredTextStruct) RestorePhaseOne ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "LinkAnchoredTextDB.json" in dirPath that stores an array of LinkAnchoredTextDB and stores it in the database the map BackRepoLinkAnchoredTextid_atBckpTime_newID is updated accordingly
func (*BackRepoLinkAnchoredTextStruct) RestorePhaseTwo ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<LinkAnchoredText>id_atBckpTime_newID to compute new index
func (*BackRepoLinkAnchoredTextStruct) RestoreXLPhaseOne ¶
func (backRepoLinkAnchoredText *BackRepoLinkAnchoredTextStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "LinkAnchoredText" sheet all LinkAnchoredTextDB instances
type BackRepoLinkStruct ¶
type BackRepoLinkStruct struct {
// stores LinkDB according to their gorm ID
Map_LinkDBID_LinkDB map[uint]*LinkDB
// stores LinkDB ID according to Link address
Map_LinkPtr_LinkDBID map[*models.Link]uint
// stores Link according to their gorm ID
Map_LinkDBID_LinkPtr map[uint]*models.Link
// contains filtered or unexported fields
}
func (*BackRepoLinkStruct) Backup ¶
func (backRepoLink *BackRepoLinkStruct) Backup(dirPath string)
Backup generates a json file from a slice of all LinkDB instances in the backrepo
func (*BackRepoLinkStruct) BackupXL ¶
func (backRepoLink *BackRepoLinkStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all LinkDB instances in the backrepo
func (*BackRepoLinkStruct) CheckoutPhaseOne ¶
func (backRepoLink *BackRepoLinkStruct) CheckoutPhaseOne() (Error error)
BackRepoLink.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoLinkStruct) CheckoutPhaseOneInstance ¶
func (backRepoLink *BackRepoLinkStruct) CheckoutPhaseOneInstance(linkDB *LinkDB) (Error error)
CheckoutPhaseOneInstance takes a linkDB that has been found in the DB, updates the backRepo and stages the models version of the linkDB
func (*BackRepoLinkStruct) CheckoutPhaseTwo ¶
func (backRepoLink *BackRepoLinkStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoLink.CheckoutPhaseTwo Checkouts all staged instances of Link to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLinkStruct) CheckoutPhaseTwoInstance ¶
func (backRepoLink *BackRepoLinkStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, linkDB *LinkDB) (Error error)
BackRepoLink.CheckoutPhaseTwoInstance Checkouts staged instances of Link to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLinkStruct) CommitDeleteInstance ¶
func (backRepoLink *BackRepoLinkStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoLink.CommitDeleteInstance commits deletion of Link to the BackRepo
func (*BackRepoLinkStruct) CommitPhaseOne ¶
func (backRepoLink *BackRepoLinkStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoLink.CommitPhaseOne commits all staged instances of Link to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoLinkStruct) CommitPhaseOneInstance ¶
func (backRepoLink *BackRepoLinkStruct) CommitPhaseOneInstance(link *models.Link) (Error error)
BackRepoLink.CommitPhaseOneInstance commits link staged instances of Link to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoLinkStruct) CommitPhaseTwo ¶
func (backRepoLink *BackRepoLinkStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoLink.CommitPhaseTwo commits all staged instances of Link to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLinkStruct) CommitPhaseTwoInstance ¶
func (backRepoLink *BackRepoLinkStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, link *models.Link) (Error error)
BackRepoLink.CommitPhaseTwoInstance commits {{structname }} of models.Link to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLinkStruct) GetDB ¶
func (backRepoLink *BackRepoLinkStruct) GetDB() db.DBInterface
func (*BackRepoLinkStruct) GetLinkDBFromLinkPtr ¶
func (backRepoLink *BackRepoLinkStruct) GetLinkDBFromLinkPtr(link *models.Link) (linkDB *LinkDB)
GetLinkDBFromLinkPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoLinkStruct) GetStage ¶
func (backRepoLink *BackRepoLinkStruct) GetStage() (stage *models.Stage)
func (*BackRepoLinkStruct) ResetReversePointers ¶
func (backRepoLink *BackRepoLinkStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoLink.ResetReversePointers commits all staged instances of Link to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoLinkStruct) ResetReversePointersInstance ¶
func (backRepoLink *BackRepoLinkStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, link *models.Link) (Error error)
func (*BackRepoLinkStruct) RestorePhaseOne ¶
func (backRepoLink *BackRepoLinkStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "LinkDB.json" in dirPath that stores an array of LinkDB and stores it in the database the map BackRepoLinkid_atBckpTime_newID is updated accordingly
func (*BackRepoLinkStruct) RestorePhaseTwo ¶
func (backRepoLink *BackRepoLinkStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Link>id_atBckpTime_newID to compute new index
func (*BackRepoLinkStruct) RestoreXLPhaseOne ¶
func (backRepoLink *BackRepoLinkStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Link" sheet all LinkDB instances
type BackRepoPathStruct ¶
type BackRepoPathStruct struct {
// stores PathDB according to their gorm ID
Map_PathDBID_PathDB map[uint]*PathDB
// stores PathDB ID according to Path address
Map_PathPtr_PathDBID map[*models.Path]uint
// stores Path according to their gorm ID
Map_PathDBID_PathPtr map[uint]*models.Path
// contains filtered or unexported fields
}
func (*BackRepoPathStruct) Backup ¶
func (backRepoPath *BackRepoPathStruct) Backup(dirPath string)
Backup generates a json file from a slice of all PathDB instances in the backrepo
func (*BackRepoPathStruct) BackupXL ¶
func (backRepoPath *BackRepoPathStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all PathDB instances in the backrepo
func (*BackRepoPathStruct) CheckoutPhaseOne ¶
func (backRepoPath *BackRepoPathStruct) CheckoutPhaseOne() (Error error)
BackRepoPath.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoPathStruct) CheckoutPhaseOneInstance ¶
func (backRepoPath *BackRepoPathStruct) CheckoutPhaseOneInstance(pathDB *PathDB) (Error error)
CheckoutPhaseOneInstance takes a pathDB that has been found in the DB, updates the backRepo and stages the models version of the pathDB
func (*BackRepoPathStruct) CheckoutPhaseTwo ¶
func (backRepoPath *BackRepoPathStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoPath.CheckoutPhaseTwo Checkouts all staged instances of Path to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPathStruct) CheckoutPhaseTwoInstance ¶
func (backRepoPath *BackRepoPathStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, pathDB *PathDB) (Error error)
BackRepoPath.CheckoutPhaseTwoInstance Checkouts staged instances of Path to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPathStruct) CommitDeleteInstance ¶
func (backRepoPath *BackRepoPathStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoPath.CommitDeleteInstance commits deletion of Path to the BackRepo
func (*BackRepoPathStruct) CommitPhaseOne ¶
func (backRepoPath *BackRepoPathStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoPath.CommitPhaseOne commits all staged instances of Path to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoPathStruct) CommitPhaseOneInstance ¶
func (backRepoPath *BackRepoPathStruct) CommitPhaseOneInstance(path *models.Path) (Error error)
BackRepoPath.CommitPhaseOneInstance commits path staged instances of Path to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoPathStruct) CommitPhaseTwo ¶
func (backRepoPath *BackRepoPathStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoPath.CommitPhaseTwo commits all staged instances of Path to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPathStruct) CommitPhaseTwoInstance ¶
func (backRepoPath *BackRepoPathStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, path *models.Path) (Error error)
BackRepoPath.CommitPhaseTwoInstance commits {{structname }} of models.Path to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPathStruct) GetDB ¶
func (backRepoPath *BackRepoPathStruct) GetDB() db.DBInterface
func (*BackRepoPathStruct) GetPathDBFromPathPtr ¶
func (backRepoPath *BackRepoPathStruct) GetPathDBFromPathPtr(path *models.Path) (pathDB *PathDB)
GetPathDBFromPathPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoPathStruct) GetStage ¶
func (backRepoPath *BackRepoPathStruct) GetStage() (stage *models.Stage)
func (*BackRepoPathStruct) ResetReversePointers ¶
func (backRepoPath *BackRepoPathStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoPath.ResetReversePointers commits all staged instances of Path to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPathStruct) ResetReversePointersInstance ¶
func (backRepoPath *BackRepoPathStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, path *models.Path) (Error error)
func (*BackRepoPathStruct) RestorePhaseOne ¶
func (backRepoPath *BackRepoPathStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "PathDB.json" in dirPath that stores an array of PathDB and stores it in the database the map BackRepoPathid_atBckpTime_newID is updated accordingly
func (*BackRepoPathStruct) RestorePhaseTwo ¶
func (backRepoPath *BackRepoPathStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Path>id_atBckpTime_newID to compute new index
func (*BackRepoPathStruct) RestoreXLPhaseOne ¶
func (backRepoPath *BackRepoPathStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Path" sheet all PathDB instances
type BackRepoPointStruct ¶
type BackRepoPointStruct struct {
// stores PointDB according to their gorm ID
Map_PointDBID_PointDB map[uint]*PointDB
// stores PointDB ID according to Point address
Map_PointPtr_PointDBID map[*models.Point]uint
// stores Point according to their gorm ID
Map_PointDBID_PointPtr map[uint]*models.Point
// contains filtered or unexported fields
}
func (*BackRepoPointStruct) Backup ¶
func (backRepoPoint *BackRepoPointStruct) Backup(dirPath string)
Backup generates a json file from a slice of all PointDB instances in the backrepo
func (*BackRepoPointStruct) BackupXL ¶
func (backRepoPoint *BackRepoPointStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all PointDB instances in the backrepo
func (*BackRepoPointStruct) CheckoutPhaseOne ¶
func (backRepoPoint *BackRepoPointStruct) CheckoutPhaseOne() (Error error)
BackRepoPoint.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoPointStruct) CheckoutPhaseOneInstance ¶
func (backRepoPoint *BackRepoPointStruct) CheckoutPhaseOneInstance(pointDB *PointDB) (Error error)
CheckoutPhaseOneInstance takes a pointDB that has been found in the DB, updates the backRepo and stages the models version of the pointDB
func (*BackRepoPointStruct) CheckoutPhaseTwo ¶
func (backRepoPoint *BackRepoPointStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoPoint.CheckoutPhaseTwo Checkouts all staged instances of Point to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPointStruct) CheckoutPhaseTwoInstance ¶
func (backRepoPoint *BackRepoPointStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, pointDB *PointDB) (Error error)
BackRepoPoint.CheckoutPhaseTwoInstance Checkouts staged instances of Point to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPointStruct) CommitDeleteInstance ¶
func (backRepoPoint *BackRepoPointStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoPoint.CommitDeleteInstance commits deletion of Point to the BackRepo
func (*BackRepoPointStruct) CommitPhaseOne ¶
func (backRepoPoint *BackRepoPointStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoPoint.CommitPhaseOne commits all staged instances of Point to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoPointStruct) CommitPhaseOneInstance ¶
func (backRepoPoint *BackRepoPointStruct) CommitPhaseOneInstance(point *models.Point) (Error error)
BackRepoPoint.CommitPhaseOneInstance commits point staged instances of Point to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoPointStruct) CommitPhaseTwo ¶
func (backRepoPoint *BackRepoPointStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoPoint.CommitPhaseTwo commits all staged instances of Point to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPointStruct) CommitPhaseTwoInstance ¶
func (backRepoPoint *BackRepoPointStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, point *models.Point) (Error error)
BackRepoPoint.CommitPhaseTwoInstance commits {{structname }} of models.Point to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPointStruct) GetDB ¶
func (backRepoPoint *BackRepoPointStruct) GetDB() db.DBInterface
func (*BackRepoPointStruct) GetPointDBFromPointPtr ¶
func (backRepoPoint *BackRepoPointStruct) GetPointDBFromPointPtr(point *models.Point) (pointDB *PointDB)
GetPointDBFromPointPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoPointStruct) GetStage ¶
func (backRepoPoint *BackRepoPointStruct) GetStage() (stage *models.Stage)
func (*BackRepoPointStruct) ResetReversePointers ¶
func (backRepoPoint *BackRepoPointStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoPoint.ResetReversePointers commits all staged instances of Point to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPointStruct) ResetReversePointersInstance ¶
func (backRepoPoint *BackRepoPointStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, point *models.Point) (Error error)
func (*BackRepoPointStruct) RestorePhaseOne ¶
func (backRepoPoint *BackRepoPointStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "PointDB.json" in dirPath that stores an array of PointDB and stores it in the database the map BackRepoPointid_atBckpTime_newID is updated accordingly
func (*BackRepoPointStruct) RestorePhaseTwo ¶
func (backRepoPoint *BackRepoPointStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Point>id_atBckpTime_newID to compute new index
func (*BackRepoPointStruct) RestoreXLPhaseOne ¶
func (backRepoPoint *BackRepoPointStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Point" sheet all PointDB instances
type BackRepoPolygoneStruct ¶
type BackRepoPolygoneStruct struct {
// stores PolygoneDB according to their gorm ID
Map_PolygoneDBID_PolygoneDB map[uint]*PolygoneDB
// stores PolygoneDB ID according to Polygone address
Map_PolygonePtr_PolygoneDBID map[*models.Polygone]uint
// stores Polygone according to their gorm ID
Map_PolygoneDBID_PolygonePtr map[uint]*models.Polygone
// contains filtered or unexported fields
}
func (*BackRepoPolygoneStruct) Backup ¶
func (backRepoPolygone *BackRepoPolygoneStruct) Backup(dirPath string)
Backup generates a json file from a slice of all PolygoneDB instances in the backrepo
func (*BackRepoPolygoneStruct) BackupXL ¶
func (backRepoPolygone *BackRepoPolygoneStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all PolygoneDB instances in the backrepo
func (*BackRepoPolygoneStruct) CheckoutPhaseOne ¶
func (backRepoPolygone *BackRepoPolygoneStruct) CheckoutPhaseOne() (Error error)
BackRepoPolygone.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoPolygoneStruct) CheckoutPhaseOneInstance ¶
func (backRepoPolygone *BackRepoPolygoneStruct) CheckoutPhaseOneInstance(polygoneDB *PolygoneDB) (Error error)
CheckoutPhaseOneInstance takes a polygoneDB that has been found in the DB, updates the backRepo and stages the models version of the polygoneDB
func (*BackRepoPolygoneStruct) CheckoutPhaseTwo ¶
func (backRepoPolygone *BackRepoPolygoneStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoPolygone.CheckoutPhaseTwo Checkouts all staged instances of Polygone to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPolygoneStruct) CheckoutPhaseTwoInstance ¶
func (backRepoPolygone *BackRepoPolygoneStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, polygoneDB *PolygoneDB) (Error error)
BackRepoPolygone.CheckoutPhaseTwoInstance Checkouts staged instances of Polygone to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPolygoneStruct) CommitDeleteInstance ¶
func (backRepoPolygone *BackRepoPolygoneStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoPolygone.CommitDeleteInstance commits deletion of Polygone to the BackRepo
func (*BackRepoPolygoneStruct) CommitPhaseOne ¶
func (backRepoPolygone *BackRepoPolygoneStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoPolygone.CommitPhaseOne commits all staged instances of Polygone to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoPolygoneStruct) CommitPhaseOneInstance ¶
func (backRepoPolygone *BackRepoPolygoneStruct) CommitPhaseOneInstance(polygone *models.Polygone) (Error error)
BackRepoPolygone.CommitPhaseOneInstance commits polygone staged instances of Polygone to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoPolygoneStruct) CommitPhaseTwo ¶
func (backRepoPolygone *BackRepoPolygoneStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoPolygone.CommitPhaseTwo commits all staged instances of Polygone to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPolygoneStruct) CommitPhaseTwoInstance ¶
func (backRepoPolygone *BackRepoPolygoneStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, polygone *models.Polygone) (Error error)
BackRepoPolygone.CommitPhaseTwoInstance commits {{structname }} of models.Polygone to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPolygoneStruct) GetDB ¶
func (backRepoPolygone *BackRepoPolygoneStruct) GetDB() db.DBInterface
func (*BackRepoPolygoneStruct) GetPolygoneDBFromPolygonePtr ¶
func (backRepoPolygone *BackRepoPolygoneStruct) GetPolygoneDBFromPolygonePtr(polygone *models.Polygone) (polygoneDB *PolygoneDB)
GetPolygoneDBFromPolygonePtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoPolygoneStruct) GetStage ¶
func (backRepoPolygone *BackRepoPolygoneStruct) GetStage() (stage *models.Stage)
func (*BackRepoPolygoneStruct) ResetReversePointers ¶
func (backRepoPolygone *BackRepoPolygoneStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoPolygone.ResetReversePointers commits all staged instances of Polygone to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPolygoneStruct) ResetReversePointersInstance ¶
func (backRepoPolygone *BackRepoPolygoneStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, polygone *models.Polygone) (Error error)
func (*BackRepoPolygoneStruct) RestorePhaseOne ¶
func (backRepoPolygone *BackRepoPolygoneStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "PolygoneDB.json" in dirPath that stores an array of PolygoneDB and stores it in the database the map BackRepoPolygoneid_atBckpTime_newID is updated accordingly
func (*BackRepoPolygoneStruct) RestorePhaseTwo ¶
func (backRepoPolygone *BackRepoPolygoneStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Polygone>id_atBckpTime_newID to compute new index
func (*BackRepoPolygoneStruct) RestoreXLPhaseOne ¶
func (backRepoPolygone *BackRepoPolygoneStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Polygone" sheet all PolygoneDB instances
type BackRepoPolylineStruct ¶
type BackRepoPolylineStruct struct {
// stores PolylineDB according to their gorm ID
Map_PolylineDBID_PolylineDB map[uint]*PolylineDB
// stores PolylineDB ID according to Polyline address
Map_PolylinePtr_PolylineDBID map[*models.Polyline]uint
// stores Polyline according to their gorm ID
Map_PolylineDBID_PolylinePtr map[uint]*models.Polyline
// contains filtered or unexported fields
}
func (*BackRepoPolylineStruct) Backup ¶
func (backRepoPolyline *BackRepoPolylineStruct) Backup(dirPath string)
Backup generates a json file from a slice of all PolylineDB instances in the backrepo
func (*BackRepoPolylineStruct) BackupXL ¶
func (backRepoPolyline *BackRepoPolylineStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all PolylineDB instances in the backrepo
func (*BackRepoPolylineStruct) CheckoutPhaseOne ¶
func (backRepoPolyline *BackRepoPolylineStruct) CheckoutPhaseOne() (Error error)
BackRepoPolyline.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoPolylineStruct) CheckoutPhaseOneInstance ¶
func (backRepoPolyline *BackRepoPolylineStruct) CheckoutPhaseOneInstance(polylineDB *PolylineDB) (Error error)
CheckoutPhaseOneInstance takes a polylineDB that has been found in the DB, updates the backRepo and stages the models version of the polylineDB
func (*BackRepoPolylineStruct) CheckoutPhaseTwo ¶
func (backRepoPolyline *BackRepoPolylineStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoPolyline.CheckoutPhaseTwo Checkouts all staged instances of Polyline to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPolylineStruct) CheckoutPhaseTwoInstance ¶
func (backRepoPolyline *BackRepoPolylineStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, polylineDB *PolylineDB) (Error error)
BackRepoPolyline.CheckoutPhaseTwoInstance Checkouts staged instances of Polyline to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPolylineStruct) CommitDeleteInstance ¶
func (backRepoPolyline *BackRepoPolylineStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoPolyline.CommitDeleteInstance commits deletion of Polyline to the BackRepo
func (*BackRepoPolylineStruct) CommitPhaseOne ¶
func (backRepoPolyline *BackRepoPolylineStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoPolyline.CommitPhaseOne commits all staged instances of Polyline to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoPolylineStruct) CommitPhaseOneInstance ¶
func (backRepoPolyline *BackRepoPolylineStruct) CommitPhaseOneInstance(polyline *models.Polyline) (Error error)
BackRepoPolyline.CommitPhaseOneInstance commits polyline staged instances of Polyline to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoPolylineStruct) CommitPhaseTwo ¶
func (backRepoPolyline *BackRepoPolylineStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoPolyline.CommitPhaseTwo commits all staged instances of Polyline to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPolylineStruct) CommitPhaseTwoInstance ¶
func (backRepoPolyline *BackRepoPolylineStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, polyline *models.Polyline) (Error error)
BackRepoPolyline.CommitPhaseTwoInstance commits {{structname }} of models.Polyline to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPolylineStruct) GetDB ¶
func (backRepoPolyline *BackRepoPolylineStruct) GetDB() db.DBInterface
func (*BackRepoPolylineStruct) GetPolylineDBFromPolylinePtr ¶
func (backRepoPolyline *BackRepoPolylineStruct) GetPolylineDBFromPolylinePtr(polyline *models.Polyline) (polylineDB *PolylineDB)
GetPolylineDBFromPolylinePtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoPolylineStruct) GetStage ¶
func (backRepoPolyline *BackRepoPolylineStruct) GetStage() (stage *models.Stage)
func (*BackRepoPolylineStruct) ResetReversePointers ¶
func (backRepoPolyline *BackRepoPolylineStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoPolyline.ResetReversePointers commits all staged instances of Polyline to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoPolylineStruct) ResetReversePointersInstance ¶
func (backRepoPolyline *BackRepoPolylineStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, polyline *models.Polyline) (Error error)
func (*BackRepoPolylineStruct) RestorePhaseOne ¶
func (backRepoPolyline *BackRepoPolylineStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "PolylineDB.json" in dirPath that stores an array of PolylineDB and stores it in the database the map BackRepoPolylineid_atBckpTime_newID is updated accordingly
func (*BackRepoPolylineStruct) RestorePhaseTwo ¶
func (backRepoPolyline *BackRepoPolylineStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Polyline>id_atBckpTime_newID to compute new index
func (*BackRepoPolylineStruct) RestoreXLPhaseOne ¶
func (backRepoPolyline *BackRepoPolylineStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Polyline" sheet all PolylineDB instances
type BackRepoRectAnchoredPathStruct ¶
type BackRepoRectAnchoredPathStruct struct {
// stores RectAnchoredPathDB according to their gorm ID
Map_RectAnchoredPathDBID_RectAnchoredPathDB map[uint]*RectAnchoredPathDB
// stores RectAnchoredPathDB ID according to RectAnchoredPath address
Map_RectAnchoredPathPtr_RectAnchoredPathDBID map[*models.RectAnchoredPath]uint
// stores RectAnchoredPath according to their gorm ID
Map_RectAnchoredPathDBID_RectAnchoredPathPtr map[uint]*models.RectAnchoredPath
// contains filtered or unexported fields
}
func (*BackRepoRectAnchoredPathStruct) Backup ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) Backup(dirPath string)
Backup generates a json file from a slice of all RectAnchoredPathDB instances in the backrepo
func (*BackRepoRectAnchoredPathStruct) BackupXL ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all RectAnchoredPathDB instances in the backrepo
func (*BackRepoRectAnchoredPathStruct) CheckoutPhaseOne ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CheckoutPhaseOne() (Error error)
BackRepoRectAnchoredPath.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoRectAnchoredPathStruct) CheckoutPhaseOneInstance ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CheckoutPhaseOneInstance(rectanchoredpathDB *RectAnchoredPathDB) (Error error)
CheckoutPhaseOneInstance takes a rectanchoredpathDB that has been found in the DB, updates the backRepo and stages the models version of the rectanchoredpathDB
func (*BackRepoRectAnchoredPathStruct) CheckoutPhaseTwo ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoRectAnchoredPath.CheckoutPhaseTwo Checkouts all staged instances of RectAnchoredPath to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectAnchoredPathStruct) CheckoutPhaseTwoInstance ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, rectanchoredpathDB *RectAnchoredPathDB) (Error error)
BackRepoRectAnchoredPath.CheckoutPhaseTwoInstance Checkouts staged instances of RectAnchoredPath to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectAnchoredPathStruct) CommitDeleteInstance ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoRectAnchoredPath.CommitDeleteInstance commits deletion of RectAnchoredPath to the BackRepo
func (*BackRepoRectAnchoredPathStruct) CommitPhaseOne ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoRectAnchoredPath.CommitPhaseOne commits all staged instances of RectAnchoredPath to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoRectAnchoredPathStruct) CommitPhaseOneInstance ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CommitPhaseOneInstance(rectanchoredpath *models.RectAnchoredPath) (Error error)
BackRepoRectAnchoredPath.CommitPhaseOneInstance commits rectanchoredpath staged instances of RectAnchoredPath to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoRectAnchoredPathStruct) CommitPhaseTwo ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoRectAnchoredPath.CommitPhaseTwo commits all staged instances of RectAnchoredPath to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectAnchoredPathStruct) CommitPhaseTwoInstance ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, rectanchoredpath *models.RectAnchoredPath) (Error error)
BackRepoRectAnchoredPath.CommitPhaseTwoInstance commits {{structname }} of models.RectAnchoredPath to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectAnchoredPathStruct) GetDB ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) GetDB() db.DBInterface
func (*BackRepoRectAnchoredPathStruct) GetRectAnchoredPathDBFromRectAnchoredPathPtr ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) GetRectAnchoredPathDBFromRectAnchoredPathPtr(rectanchoredpath *models.RectAnchoredPath) (rectanchoredpathDB *RectAnchoredPathDB)
GetRectAnchoredPathDBFromRectAnchoredPathPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoRectAnchoredPathStruct) GetStage ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) GetStage() (stage *models.Stage)
func (*BackRepoRectAnchoredPathStruct) ResetReversePointers ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoRectAnchoredPath.ResetReversePointers commits all staged instances of RectAnchoredPath to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectAnchoredPathStruct) ResetReversePointersInstance ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, rectanchoredpath *models.RectAnchoredPath) (Error error)
func (*BackRepoRectAnchoredPathStruct) RestorePhaseOne ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "RectAnchoredPathDB.json" in dirPath that stores an array of RectAnchoredPathDB and stores it in the database the map BackRepoRectAnchoredPathid_atBckpTime_newID is updated accordingly
func (*BackRepoRectAnchoredPathStruct) RestorePhaseTwo ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<RectAnchoredPath>id_atBckpTime_newID to compute new index
func (*BackRepoRectAnchoredPathStruct) RestoreXLPhaseOne ¶
func (backRepoRectAnchoredPath *BackRepoRectAnchoredPathStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "RectAnchoredPath" sheet all RectAnchoredPathDB instances
type BackRepoRectAnchoredRectStruct ¶
type BackRepoRectAnchoredRectStruct struct {
// stores RectAnchoredRectDB according to their gorm ID
Map_RectAnchoredRectDBID_RectAnchoredRectDB map[uint]*RectAnchoredRectDB
// stores RectAnchoredRectDB ID according to RectAnchoredRect address
Map_RectAnchoredRectPtr_RectAnchoredRectDBID map[*models.RectAnchoredRect]uint
// stores RectAnchoredRect according to their gorm ID
Map_RectAnchoredRectDBID_RectAnchoredRectPtr map[uint]*models.RectAnchoredRect
// contains filtered or unexported fields
}
func (*BackRepoRectAnchoredRectStruct) Backup ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) Backup(dirPath string)
Backup generates a json file from a slice of all RectAnchoredRectDB instances in the backrepo
func (*BackRepoRectAnchoredRectStruct) BackupXL ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all RectAnchoredRectDB instances in the backrepo
func (*BackRepoRectAnchoredRectStruct) CheckoutPhaseOne ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CheckoutPhaseOne() (Error error)
BackRepoRectAnchoredRect.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoRectAnchoredRectStruct) CheckoutPhaseOneInstance ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CheckoutPhaseOneInstance(rectanchoredrectDB *RectAnchoredRectDB) (Error error)
CheckoutPhaseOneInstance takes a rectanchoredrectDB that has been found in the DB, updates the backRepo and stages the models version of the rectanchoredrectDB
func (*BackRepoRectAnchoredRectStruct) CheckoutPhaseTwo ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoRectAnchoredRect.CheckoutPhaseTwo Checkouts all staged instances of RectAnchoredRect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectAnchoredRectStruct) CheckoutPhaseTwoInstance ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, rectanchoredrectDB *RectAnchoredRectDB) (Error error)
BackRepoRectAnchoredRect.CheckoutPhaseTwoInstance Checkouts staged instances of RectAnchoredRect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectAnchoredRectStruct) CommitDeleteInstance ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoRectAnchoredRect.CommitDeleteInstance commits deletion of RectAnchoredRect to the BackRepo
func (*BackRepoRectAnchoredRectStruct) CommitPhaseOne ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoRectAnchoredRect.CommitPhaseOne commits all staged instances of RectAnchoredRect to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoRectAnchoredRectStruct) CommitPhaseOneInstance ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CommitPhaseOneInstance(rectanchoredrect *models.RectAnchoredRect) (Error error)
BackRepoRectAnchoredRect.CommitPhaseOneInstance commits rectanchoredrect staged instances of RectAnchoredRect to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoRectAnchoredRectStruct) CommitPhaseTwo ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoRectAnchoredRect.CommitPhaseTwo commits all staged instances of RectAnchoredRect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectAnchoredRectStruct) CommitPhaseTwoInstance ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, rectanchoredrect *models.RectAnchoredRect) (Error error)
BackRepoRectAnchoredRect.CommitPhaseTwoInstance commits {{structname }} of models.RectAnchoredRect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectAnchoredRectStruct) GetDB ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) GetDB() db.DBInterface
func (*BackRepoRectAnchoredRectStruct) GetRectAnchoredRectDBFromRectAnchoredRectPtr ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) GetRectAnchoredRectDBFromRectAnchoredRectPtr(rectanchoredrect *models.RectAnchoredRect) (rectanchoredrectDB *RectAnchoredRectDB)
GetRectAnchoredRectDBFromRectAnchoredRectPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoRectAnchoredRectStruct) GetStage ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) GetStage() (stage *models.Stage)
func (*BackRepoRectAnchoredRectStruct) ResetReversePointers ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoRectAnchoredRect.ResetReversePointers commits all staged instances of RectAnchoredRect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectAnchoredRectStruct) ResetReversePointersInstance ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, rectanchoredrect *models.RectAnchoredRect) (Error error)
func (*BackRepoRectAnchoredRectStruct) RestorePhaseOne ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "RectAnchoredRectDB.json" in dirPath that stores an array of RectAnchoredRectDB and stores it in the database the map BackRepoRectAnchoredRectid_atBckpTime_newID is updated accordingly
func (*BackRepoRectAnchoredRectStruct) RestorePhaseTwo ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<RectAnchoredRect>id_atBckpTime_newID to compute new index
func (*BackRepoRectAnchoredRectStruct) RestoreXLPhaseOne ¶
func (backRepoRectAnchoredRect *BackRepoRectAnchoredRectStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "RectAnchoredRect" sheet all RectAnchoredRectDB instances
type BackRepoRectAnchoredTextStruct ¶
type BackRepoRectAnchoredTextStruct struct {
// stores RectAnchoredTextDB according to their gorm ID
Map_RectAnchoredTextDBID_RectAnchoredTextDB map[uint]*RectAnchoredTextDB
// stores RectAnchoredTextDB ID according to RectAnchoredText address
Map_RectAnchoredTextPtr_RectAnchoredTextDBID map[*models.RectAnchoredText]uint
// stores RectAnchoredText according to their gorm ID
Map_RectAnchoredTextDBID_RectAnchoredTextPtr map[uint]*models.RectAnchoredText
// contains filtered or unexported fields
}
func (*BackRepoRectAnchoredTextStruct) Backup ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) Backup(dirPath string)
Backup generates a json file from a slice of all RectAnchoredTextDB instances in the backrepo
func (*BackRepoRectAnchoredTextStruct) BackupXL ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all RectAnchoredTextDB instances in the backrepo
func (*BackRepoRectAnchoredTextStruct) CheckoutPhaseOne ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CheckoutPhaseOne() (Error error)
BackRepoRectAnchoredText.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoRectAnchoredTextStruct) CheckoutPhaseOneInstance ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CheckoutPhaseOneInstance(rectanchoredtextDB *RectAnchoredTextDB) (Error error)
CheckoutPhaseOneInstance takes a rectanchoredtextDB that has been found in the DB, updates the backRepo and stages the models version of the rectanchoredtextDB
func (*BackRepoRectAnchoredTextStruct) CheckoutPhaseTwo ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoRectAnchoredText.CheckoutPhaseTwo Checkouts all staged instances of RectAnchoredText to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectAnchoredTextStruct) CheckoutPhaseTwoInstance ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, rectanchoredtextDB *RectAnchoredTextDB) (Error error)
BackRepoRectAnchoredText.CheckoutPhaseTwoInstance Checkouts staged instances of RectAnchoredText to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectAnchoredTextStruct) CommitDeleteInstance ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoRectAnchoredText.CommitDeleteInstance commits deletion of RectAnchoredText to the BackRepo
func (*BackRepoRectAnchoredTextStruct) CommitPhaseOne ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoRectAnchoredText.CommitPhaseOne commits all staged instances of RectAnchoredText to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoRectAnchoredTextStruct) CommitPhaseOneInstance ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CommitPhaseOneInstance(rectanchoredtext *models.RectAnchoredText) (Error error)
BackRepoRectAnchoredText.CommitPhaseOneInstance commits rectanchoredtext staged instances of RectAnchoredText to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoRectAnchoredTextStruct) CommitPhaseTwo ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoRectAnchoredText.CommitPhaseTwo commits all staged instances of RectAnchoredText to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectAnchoredTextStruct) CommitPhaseTwoInstance ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, rectanchoredtext *models.RectAnchoredText) (Error error)
BackRepoRectAnchoredText.CommitPhaseTwoInstance commits {{structname }} of models.RectAnchoredText to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectAnchoredTextStruct) GetDB ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) GetDB() db.DBInterface
func (*BackRepoRectAnchoredTextStruct) GetRectAnchoredTextDBFromRectAnchoredTextPtr ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) GetRectAnchoredTextDBFromRectAnchoredTextPtr(rectanchoredtext *models.RectAnchoredText) (rectanchoredtextDB *RectAnchoredTextDB)
GetRectAnchoredTextDBFromRectAnchoredTextPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoRectAnchoredTextStruct) GetStage ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) GetStage() (stage *models.Stage)
func (*BackRepoRectAnchoredTextStruct) ResetReversePointers ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoRectAnchoredText.ResetReversePointers commits all staged instances of RectAnchoredText to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectAnchoredTextStruct) ResetReversePointersInstance ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, rectanchoredtext *models.RectAnchoredText) (Error error)
func (*BackRepoRectAnchoredTextStruct) RestorePhaseOne ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "RectAnchoredTextDB.json" in dirPath that stores an array of RectAnchoredTextDB and stores it in the database the map BackRepoRectAnchoredTextid_atBckpTime_newID is updated accordingly
func (*BackRepoRectAnchoredTextStruct) RestorePhaseTwo ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<RectAnchoredText>id_atBckpTime_newID to compute new index
func (*BackRepoRectAnchoredTextStruct) RestoreXLPhaseOne ¶
func (backRepoRectAnchoredText *BackRepoRectAnchoredTextStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "RectAnchoredText" sheet all RectAnchoredTextDB instances
type BackRepoRectLinkLinkStruct ¶
type BackRepoRectLinkLinkStruct struct {
// stores RectLinkLinkDB according to their gorm ID
Map_RectLinkLinkDBID_RectLinkLinkDB map[uint]*RectLinkLinkDB
// stores RectLinkLinkDB ID according to RectLinkLink address
Map_RectLinkLinkPtr_RectLinkLinkDBID map[*models.RectLinkLink]uint
// stores RectLinkLink according to their gorm ID
Map_RectLinkLinkDBID_RectLinkLinkPtr map[uint]*models.RectLinkLink
// contains filtered or unexported fields
}
func (*BackRepoRectLinkLinkStruct) Backup ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) Backup(dirPath string)
Backup generates a json file from a slice of all RectLinkLinkDB instances in the backrepo
func (*BackRepoRectLinkLinkStruct) BackupXL ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all RectLinkLinkDB instances in the backrepo
func (*BackRepoRectLinkLinkStruct) CheckoutPhaseOne ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CheckoutPhaseOne() (Error error)
BackRepoRectLinkLink.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoRectLinkLinkStruct) CheckoutPhaseOneInstance ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CheckoutPhaseOneInstance(rectlinklinkDB *RectLinkLinkDB) (Error error)
CheckoutPhaseOneInstance takes a rectlinklinkDB that has been found in the DB, updates the backRepo and stages the models version of the rectlinklinkDB
func (*BackRepoRectLinkLinkStruct) CheckoutPhaseTwo ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoRectLinkLink.CheckoutPhaseTwo Checkouts all staged instances of RectLinkLink to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectLinkLinkStruct) CheckoutPhaseTwoInstance ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, rectlinklinkDB *RectLinkLinkDB) (Error error)
BackRepoRectLinkLink.CheckoutPhaseTwoInstance Checkouts staged instances of RectLinkLink to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectLinkLinkStruct) CommitDeleteInstance ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoRectLinkLink.CommitDeleteInstance commits deletion of RectLinkLink to the BackRepo
func (*BackRepoRectLinkLinkStruct) CommitPhaseOne ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoRectLinkLink.CommitPhaseOne commits all staged instances of RectLinkLink to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoRectLinkLinkStruct) CommitPhaseOneInstance ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CommitPhaseOneInstance(rectlinklink *models.RectLinkLink) (Error error)
BackRepoRectLinkLink.CommitPhaseOneInstance commits rectlinklink staged instances of RectLinkLink to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoRectLinkLinkStruct) CommitPhaseTwo ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoRectLinkLink.CommitPhaseTwo commits all staged instances of RectLinkLink to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectLinkLinkStruct) CommitPhaseTwoInstance ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, rectlinklink *models.RectLinkLink) (Error error)
BackRepoRectLinkLink.CommitPhaseTwoInstance commits {{structname }} of models.RectLinkLink to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectLinkLinkStruct) GetDB ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) GetDB() db.DBInterface
func (*BackRepoRectLinkLinkStruct) GetRectLinkLinkDBFromRectLinkLinkPtr ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) GetRectLinkLinkDBFromRectLinkLinkPtr(rectlinklink *models.RectLinkLink) (rectlinklinkDB *RectLinkLinkDB)
GetRectLinkLinkDBFromRectLinkLinkPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoRectLinkLinkStruct) GetStage ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) GetStage() (stage *models.Stage)
func (*BackRepoRectLinkLinkStruct) ResetReversePointers ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoRectLinkLink.ResetReversePointers commits all staged instances of RectLinkLink to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectLinkLinkStruct) ResetReversePointersInstance ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, rectlinklink *models.RectLinkLink) (Error error)
func (*BackRepoRectLinkLinkStruct) RestorePhaseOne ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "RectLinkLinkDB.json" in dirPath that stores an array of RectLinkLinkDB and stores it in the database the map BackRepoRectLinkLinkid_atBckpTime_newID is updated accordingly
func (*BackRepoRectLinkLinkStruct) RestorePhaseTwo ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<RectLinkLink>id_atBckpTime_newID to compute new index
func (*BackRepoRectLinkLinkStruct) RestoreXLPhaseOne ¶
func (backRepoRectLinkLink *BackRepoRectLinkLinkStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "RectLinkLink" sheet all RectLinkLinkDB instances
type BackRepoRectStruct ¶
type BackRepoRectStruct struct {
// stores RectDB according to their gorm ID
Map_RectDBID_RectDB map[uint]*RectDB
// stores RectDB ID according to Rect address
Map_RectPtr_RectDBID map[*models.Rect]uint
// stores Rect according to their gorm ID
Map_RectDBID_RectPtr map[uint]*models.Rect
// contains filtered or unexported fields
}
func (*BackRepoRectStruct) Backup ¶
func (backRepoRect *BackRepoRectStruct) Backup(dirPath string)
Backup generates a json file from a slice of all RectDB instances in the backrepo
func (*BackRepoRectStruct) BackupXL ¶
func (backRepoRect *BackRepoRectStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all RectDB instances in the backrepo
func (*BackRepoRectStruct) CheckoutPhaseOne ¶
func (backRepoRect *BackRepoRectStruct) CheckoutPhaseOne() (Error error)
BackRepoRect.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoRectStruct) CheckoutPhaseOneInstance ¶
func (backRepoRect *BackRepoRectStruct) CheckoutPhaseOneInstance(rectDB *RectDB) (Error error)
CheckoutPhaseOneInstance takes a rectDB that has been found in the DB, updates the backRepo and stages the models version of the rectDB
func (*BackRepoRectStruct) CheckoutPhaseTwo ¶
func (backRepoRect *BackRepoRectStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoRect.CheckoutPhaseTwo Checkouts all staged instances of Rect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectStruct) CheckoutPhaseTwoInstance ¶
func (backRepoRect *BackRepoRectStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, rectDB *RectDB) (Error error)
BackRepoRect.CheckoutPhaseTwoInstance Checkouts staged instances of Rect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectStruct) CommitDeleteInstance ¶
func (backRepoRect *BackRepoRectStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoRect.CommitDeleteInstance commits deletion of Rect to the BackRepo
func (*BackRepoRectStruct) CommitPhaseOne ¶
func (backRepoRect *BackRepoRectStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoRect.CommitPhaseOne commits all staged instances of Rect to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoRectStruct) CommitPhaseOneInstance ¶
func (backRepoRect *BackRepoRectStruct) CommitPhaseOneInstance(rect *models.Rect) (Error error)
BackRepoRect.CommitPhaseOneInstance commits rect staged instances of Rect to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoRectStruct) CommitPhaseTwo ¶
func (backRepoRect *BackRepoRectStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoRect.CommitPhaseTwo commits all staged instances of Rect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectStruct) CommitPhaseTwoInstance ¶
func (backRepoRect *BackRepoRectStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, rect *models.Rect) (Error error)
BackRepoRect.CommitPhaseTwoInstance commits {{structname }} of models.Rect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectStruct) GetDB ¶
func (backRepoRect *BackRepoRectStruct) GetDB() db.DBInterface
func (*BackRepoRectStruct) GetRectDBFromRectPtr ¶
func (backRepoRect *BackRepoRectStruct) GetRectDBFromRectPtr(rect *models.Rect) (rectDB *RectDB)
GetRectDBFromRectPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoRectStruct) GetStage ¶
func (backRepoRect *BackRepoRectStruct) GetStage() (stage *models.Stage)
func (*BackRepoRectStruct) ResetReversePointers ¶
func (backRepoRect *BackRepoRectStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoRect.ResetReversePointers commits all staged instances of Rect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRectStruct) ResetReversePointersInstance ¶
func (backRepoRect *BackRepoRectStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, rect *models.Rect) (Error error)
func (*BackRepoRectStruct) RestorePhaseOne ¶
func (backRepoRect *BackRepoRectStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "RectDB.json" in dirPath that stores an array of RectDB and stores it in the database the map BackRepoRectid_atBckpTime_newID is updated accordingly
func (*BackRepoRectStruct) RestorePhaseTwo ¶
func (backRepoRect *BackRepoRectStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Rect>id_atBckpTime_newID to compute new index
func (*BackRepoRectStruct) RestoreXLPhaseOne ¶
func (backRepoRect *BackRepoRectStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Rect" sheet all RectDB instances
type BackRepoSVGStruct ¶
type BackRepoSVGStruct struct {
// stores SVGDB according to their gorm ID
Map_SVGDBID_SVGDB map[uint]*SVGDB
// stores SVGDB ID according to SVG address
Map_SVGPtr_SVGDBID map[*models.SVG]uint
// stores SVG according to their gorm ID
Map_SVGDBID_SVGPtr map[uint]*models.SVG
// contains filtered or unexported fields
}
func (*BackRepoSVGStruct) Backup ¶
func (backRepoSVG *BackRepoSVGStruct) Backup(dirPath string)
Backup generates a json file from a slice of all SVGDB instances in the backrepo
func (*BackRepoSVGStruct) BackupXL ¶
func (backRepoSVG *BackRepoSVGStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all SVGDB instances in the backrepo
func (*BackRepoSVGStruct) CheckoutPhaseOne ¶
func (backRepoSVG *BackRepoSVGStruct) CheckoutPhaseOne() (Error error)
BackRepoSVG.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoSVGStruct) CheckoutPhaseOneInstance ¶
func (backRepoSVG *BackRepoSVGStruct) CheckoutPhaseOneInstance(svgDB *SVGDB) (Error error)
CheckoutPhaseOneInstance takes a svgDB that has been found in the DB, updates the backRepo and stages the models version of the svgDB
func (*BackRepoSVGStruct) CheckoutPhaseTwo ¶
func (backRepoSVG *BackRepoSVGStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoSVG.CheckoutPhaseTwo Checkouts all staged instances of SVG to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoSVGStruct) CheckoutPhaseTwoInstance ¶
func (backRepoSVG *BackRepoSVGStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, svgDB *SVGDB) (Error error)
BackRepoSVG.CheckoutPhaseTwoInstance Checkouts staged instances of SVG to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoSVGStruct) CommitDeleteInstance ¶
func (backRepoSVG *BackRepoSVGStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoSVG.CommitDeleteInstance commits deletion of SVG to the BackRepo
func (*BackRepoSVGStruct) CommitPhaseOne ¶
func (backRepoSVG *BackRepoSVGStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoSVG.CommitPhaseOne commits all staged instances of SVG to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoSVGStruct) CommitPhaseOneInstance ¶
func (backRepoSVG *BackRepoSVGStruct) CommitPhaseOneInstance(svg *models.SVG) (Error error)
BackRepoSVG.CommitPhaseOneInstance commits svg staged instances of SVG to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoSVGStruct) CommitPhaseTwo ¶
func (backRepoSVG *BackRepoSVGStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoSVG.CommitPhaseTwo commits all staged instances of SVG to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoSVGStruct) CommitPhaseTwoInstance ¶
func (backRepoSVG *BackRepoSVGStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, svg *models.SVG) (Error error)
BackRepoSVG.CommitPhaseTwoInstance commits {{structname }} of models.SVG to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoSVGStruct) GetDB ¶
func (backRepoSVG *BackRepoSVGStruct) GetDB() db.DBInterface
func (*BackRepoSVGStruct) GetSVGDBFromSVGPtr ¶
func (backRepoSVG *BackRepoSVGStruct) GetSVGDBFromSVGPtr(svg *models.SVG) (svgDB *SVGDB)
GetSVGDBFromSVGPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoSVGStruct) GetStage ¶
func (backRepoSVG *BackRepoSVGStruct) GetStage() (stage *models.Stage)
func (*BackRepoSVGStruct) ResetReversePointers ¶
func (backRepoSVG *BackRepoSVGStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoSVG.ResetReversePointers commits all staged instances of SVG to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoSVGStruct) ResetReversePointersInstance ¶
func (backRepoSVG *BackRepoSVGStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, svg *models.SVG) (Error error)
func (*BackRepoSVGStruct) RestorePhaseOne ¶
func (backRepoSVG *BackRepoSVGStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "SVGDB.json" in dirPath that stores an array of SVGDB and stores it in the database the map BackRepoSVGid_atBckpTime_newID is updated accordingly
func (*BackRepoSVGStruct) RestorePhaseTwo ¶
func (backRepoSVG *BackRepoSVGStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<SVG>id_atBckpTime_newID to compute new index
func (*BackRepoSVGStruct) RestoreXLPhaseOne ¶
func (backRepoSVG *BackRepoSVGStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "SVG" sheet all SVGDB instances
type BackRepoStruct ¶
type BackRepoStruct struct {
// insertion point for per struct back repo declarations
BackRepoAnimate BackRepoAnimateStruct
BackRepoCircle BackRepoCircleStruct
BackRepoCondition BackRepoConditionStruct
BackRepoControlPoint BackRepoControlPointStruct
BackRepoEllipse BackRepoEllipseStruct
BackRepoLayer BackRepoLayerStruct
BackRepoLine BackRepoLineStruct
BackRepoLink BackRepoLinkStruct
BackRepoLinkAnchoredText BackRepoLinkAnchoredTextStruct
BackRepoPath BackRepoPathStruct
BackRepoPoint BackRepoPointStruct
BackRepoPolygone BackRepoPolygoneStruct
BackRepoPolyline BackRepoPolylineStruct
BackRepoRect BackRepoRectStruct
BackRepoRectAnchoredPath BackRepoRectAnchoredPathStruct
BackRepoRectAnchoredRect BackRepoRectAnchoredRectStruct
BackRepoRectAnchoredText BackRepoRectAnchoredTextStruct
BackRepoRectLinkLink BackRepoRectLinkLinkStruct
BackRepoSVG BackRepoSVGStruct
BackRepoSvgText BackRepoSvgTextStruct
BackRepoText BackRepoTextStruct
CommitFromBackNb uint // records commit increments when performed by the back
PushFromFrontNb uint // records commit increments when performed by the front
// contains filtered or unexported fields
}
BackRepoStruct supports callback functions
func NewBackRepo ¶
func NewBackRepo(stage *models.Stage, filename string) (backRepo *BackRepoStruct)
func (*BackRepoStruct) Backup ¶
func (backRepo *BackRepoStruct) Backup(stage *models.Stage, dirPath string)
Backup the BackRepoStruct
func (*BackRepoStruct) BackupXL ¶
func (backRepo *BackRepoStruct) BackupXL(stage *models.Stage, dirPath string)
Backup in XL the BackRepoStruct
func (*BackRepoStruct) Checkout ¶
func (backRepo *BackRepoStruct) Checkout(stage *models.Stage)
Checkout the database into the stage
func (*BackRepoStruct) CheckoutAnimate ¶
func (backRepo *BackRepoStruct) CheckoutAnimate(animate *models.Animate)
CommitAnimate allows checkout of a single animate (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutCircle ¶
func (backRepo *BackRepoStruct) CheckoutCircle(circle *models.Circle)
CommitCircle allows checkout of a single circle (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutCondition ¶
func (backRepo *BackRepoStruct) CheckoutCondition(condition *models.Condition)
CommitCondition allows checkout of a single condition (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutControlPoint ¶
func (backRepo *BackRepoStruct) CheckoutControlPoint(controlpoint *models.ControlPoint)
CommitControlPoint allows checkout of a single controlpoint (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutEllipse ¶
func (backRepo *BackRepoStruct) CheckoutEllipse(ellipse *models.Ellipse)
CommitEllipse allows checkout of a single ellipse (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutLayer ¶
func (backRepo *BackRepoStruct) CheckoutLayer(layer *models.Layer)
CommitLayer allows checkout of a single layer (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutLine ¶
func (backRepo *BackRepoStruct) CheckoutLine(line *models.Line)
CommitLine allows checkout of a single line (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutLink ¶
func (backRepo *BackRepoStruct) CheckoutLink(link *models.Link)
CommitLink allows checkout of a single link (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutLinkAnchoredText ¶
func (backRepo *BackRepoStruct) CheckoutLinkAnchoredText(linkanchoredtext *models.LinkAnchoredText)
CommitLinkAnchoredText allows checkout of a single linkanchoredtext (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutPath ¶
func (backRepo *BackRepoStruct) CheckoutPath(path *models.Path)
CommitPath allows checkout of a single path (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutPoint ¶
func (backRepo *BackRepoStruct) CheckoutPoint(point *models.Point)
CommitPoint allows checkout of a single point (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutPolygone ¶
func (backRepo *BackRepoStruct) CheckoutPolygone(polygone *models.Polygone)
CommitPolygone allows checkout of a single polygone (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutPolyline ¶
func (backRepo *BackRepoStruct) CheckoutPolyline(polyline *models.Polyline)
CommitPolyline allows checkout of a single polyline (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutRect ¶
func (backRepo *BackRepoStruct) CheckoutRect(rect *models.Rect)
CommitRect allows checkout of a single rect (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutRectAnchoredPath ¶
func (backRepo *BackRepoStruct) CheckoutRectAnchoredPath(rectanchoredpath *models.RectAnchoredPath)
CommitRectAnchoredPath allows checkout of a single rectanchoredpath (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutRectAnchoredRect ¶
func (backRepo *BackRepoStruct) CheckoutRectAnchoredRect(rectanchoredrect *models.RectAnchoredRect)
CommitRectAnchoredRect allows checkout of a single rectanchoredrect (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutRectAnchoredText ¶
func (backRepo *BackRepoStruct) CheckoutRectAnchoredText(rectanchoredtext *models.RectAnchoredText)
CommitRectAnchoredText allows checkout of a single rectanchoredtext (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutRectLinkLink ¶
func (backRepo *BackRepoStruct) CheckoutRectLinkLink(rectlinklink *models.RectLinkLink)
CommitRectLinkLink allows checkout of a single rectlinklink (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutSVG ¶
func (backRepo *BackRepoStruct) CheckoutSVG(svg *models.SVG)
CommitSVG allows checkout of a single svg (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutSvgText ¶
func (backRepo *BackRepoStruct) CheckoutSvgText(svgtext *models.SvgText)
CommitSvgText allows checkout of a single svgtext (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutText ¶
func (backRepo *BackRepoStruct) CheckoutText(text *models.Text)
CommitText allows checkout of a single text (if already staged and with a BackRepo id)
func (*BackRepoStruct) Commit ¶
func (backRepo *BackRepoStruct) Commit(stage *models.Stage)
Commit the BackRepoStruct inner variables and link to the database
func (*BackRepoStruct) CommitAnimate ¶
func (backRepo *BackRepoStruct) CommitAnimate(animate *models.Animate)
CommitAnimate allows commit of a single animate (if already staged)
func (*BackRepoStruct) CommitCircle ¶
func (backRepo *BackRepoStruct) CommitCircle(circle *models.Circle)
CommitCircle allows commit of a single circle (if already staged)
func (*BackRepoStruct) CommitCondition ¶
func (backRepo *BackRepoStruct) CommitCondition(condition *models.Condition)
CommitCondition allows commit of a single condition (if already staged)
func (*BackRepoStruct) CommitControlPoint ¶
func (backRepo *BackRepoStruct) CommitControlPoint(controlpoint *models.ControlPoint)
CommitControlPoint allows commit of a single controlpoint (if already staged)
func (*BackRepoStruct) CommitEllipse ¶
func (backRepo *BackRepoStruct) CommitEllipse(ellipse *models.Ellipse)
CommitEllipse allows commit of a single ellipse (if already staged)
func (*BackRepoStruct) CommitLayer ¶
func (backRepo *BackRepoStruct) CommitLayer(layer *models.Layer)
CommitLayer allows commit of a single layer (if already staged)
func (*BackRepoStruct) CommitLine ¶
func (backRepo *BackRepoStruct) CommitLine(line *models.Line)
CommitLine allows commit of a single line (if already staged)
func (*BackRepoStruct) CommitLink ¶
func (backRepo *BackRepoStruct) CommitLink(link *models.Link)
CommitLink allows commit of a single link (if already staged)
func (*BackRepoStruct) CommitLinkAnchoredText ¶
func (backRepo *BackRepoStruct) CommitLinkAnchoredText(linkanchoredtext *models.LinkAnchoredText)
CommitLinkAnchoredText allows commit of a single linkanchoredtext (if already staged)
func (*BackRepoStruct) CommitPath ¶
func (backRepo *BackRepoStruct) CommitPath(path *models.Path)
CommitPath allows commit of a single path (if already staged)
func (*BackRepoStruct) CommitPoint ¶
func (backRepo *BackRepoStruct) CommitPoint(point *models.Point)
CommitPoint allows commit of a single point (if already staged)
func (*BackRepoStruct) CommitPolygone ¶
func (backRepo *BackRepoStruct) CommitPolygone(polygone *models.Polygone)
CommitPolygone allows commit of a single polygone (if already staged)
func (*BackRepoStruct) CommitPolyline ¶
func (backRepo *BackRepoStruct) CommitPolyline(polyline *models.Polyline)
CommitPolyline allows commit of a single polyline (if already staged)
func (*BackRepoStruct) CommitRect ¶
func (backRepo *BackRepoStruct) CommitRect(rect *models.Rect)
CommitRect allows commit of a single rect (if already staged)
func (*BackRepoStruct) CommitRectAnchoredPath ¶
func (backRepo *BackRepoStruct) CommitRectAnchoredPath(rectanchoredpath *models.RectAnchoredPath)
CommitRectAnchoredPath allows commit of a single rectanchoredpath (if already staged)
func (*BackRepoStruct) CommitRectAnchoredRect ¶
func (backRepo *BackRepoStruct) CommitRectAnchoredRect(rectanchoredrect *models.RectAnchoredRect)
CommitRectAnchoredRect allows commit of a single rectanchoredrect (if already staged)
func (*BackRepoStruct) CommitRectAnchoredText ¶
func (backRepo *BackRepoStruct) CommitRectAnchoredText(rectanchoredtext *models.RectAnchoredText)
CommitRectAnchoredText allows commit of a single rectanchoredtext (if already staged)
func (*BackRepoStruct) CommitRectLinkLink ¶
func (backRepo *BackRepoStruct) CommitRectLinkLink(rectlinklink *models.RectLinkLink)
CommitRectLinkLink allows commit of a single rectlinklink (if already staged)
func (*BackRepoStruct) CommitSVG ¶
func (backRepo *BackRepoStruct) CommitSVG(svg *models.SVG)
CommitSVG allows commit of a single svg (if already staged)
func (*BackRepoStruct) CommitSvgText ¶
func (backRepo *BackRepoStruct) CommitSvgText(svgtext *models.SvgText)
CommitSvgText allows commit of a single svgtext (if already staged)
func (*BackRepoStruct) CommitText ¶
func (backRepo *BackRepoStruct) CommitText(text *models.Text)
CommitText allows commit of a single text (if already staged)
func (*BackRepoStruct) GetLastCommitFromBackNb ¶
func (backRepo *BackRepoStruct) GetLastCommitFromBackNb() uint
func (*BackRepoStruct) GetLastPushFromFrontNb ¶
func (backRepo *BackRepoStruct) GetLastPushFromFrontNb() uint
func (*BackRepoStruct) GetStage ¶
func (backRepo *BackRepoStruct) GetStage() (stage *models.Stage)
func (*BackRepoStruct) IncrementCommitFromBackNb ¶
func (backRepo *BackRepoStruct) IncrementCommitFromBackNb() uint
func (*BackRepoStruct) IncrementPushFromFrontNb ¶
func (backRepo *BackRepoStruct) IncrementPushFromFrontNb() uint
func (*BackRepoStruct) Restore ¶
func (backRepo *BackRepoStruct) Restore(stage *models.Stage, dirPath string)
Restore the database into the back repo
func (*BackRepoStruct) RestoreXL ¶
func (backRepo *BackRepoStruct) RestoreXL(stage *models.Stage, dirPath string)
Restore the database into the back repo
func (*BackRepoStruct) SubscribeToCommitNb ¶
func (backRepoStruct *BackRepoStruct) SubscribeToCommitNb(ctx context.Context) <-chan int
type BackRepoSvgTextStruct ¶
type BackRepoSvgTextStruct struct {
// stores SvgTextDB according to their gorm ID
Map_SvgTextDBID_SvgTextDB map[uint]*SvgTextDB
// stores SvgTextDB ID according to SvgText address
Map_SvgTextPtr_SvgTextDBID map[*models.SvgText]uint
// stores SvgText according to their gorm ID
Map_SvgTextDBID_SvgTextPtr map[uint]*models.SvgText
// contains filtered or unexported fields
}
func (*BackRepoSvgTextStruct) Backup ¶
func (backRepoSvgText *BackRepoSvgTextStruct) Backup(dirPath string)
Backup generates a json file from a slice of all SvgTextDB instances in the backrepo
func (*BackRepoSvgTextStruct) BackupXL ¶
func (backRepoSvgText *BackRepoSvgTextStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all SvgTextDB instances in the backrepo
func (*BackRepoSvgTextStruct) CheckoutPhaseOne ¶
func (backRepoSvgText *BackRepoSvgTextStruct) CheckoutPhaseOne() (Error error)
BackRepoSvgText.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoSvgTextStruct) CheckoutPhaseOneInstance ¶
func (backRepoSvgText *BackRepoSvgTextStruct) CheckoutPhaseOneInstance(svgtextDB *SvgTextDB) (Error error)
CheckoutPhaseOneInstance takes a svgtextDB that has been found in the DB, updates the backRepo and stages the models version of the svgtextDB
func (*BackRepoSvgTextStruct) CheckoutPhaseTwo ¶
func (backRepoSvgText *BackRepoSvgTextStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoSvgText.CheckoutPhaseTwo Checkouts all staged instances of SvgText to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoSvgTextStruct) CheckoutPhaseTwoInstance ¶
func (backRepoSvgText *BackRepoSvgTextStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, svgtextDB *SvgTextDB) (Error error)
BackRepoSvgText.CheckoutPhaseTwoInstance Checkouts staged instances of SvgText to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoSvgTextStruct) CommitDeleteInstance ¶
func (backRepoSvgText *BackRepoSvgTextStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoSvgText.CommitDeleteInstance commits deletion of SvgText to the BackRepo
func (*BackRepoSvgTextStruct) CommitPhaseOne ¶
func (backRepoSvgText *BackRepoSvgTextStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoSvgText.CommitPhaseOne commits all staged instances of SvgText to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoSvgTextStruct) CommitPhaseOneInstance ¶
func (backRepoSvgText *BackRepoSvgTextStruct) CommitPhaseOneInstance(svgtext *models.SvgText) (Error error)
BackRepoSvgText.CommitPhaseOneInstance commits svgtext staged instances of SvgText to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoSvgTextStruct) CommitPhaseTwo ¶
func (backRepoSvgText *BackRepoSvgTextStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoSvgText.CommitPhaseTwo commits all staged instances of SvgText to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoSvgTextStruct) CommitPhaseTwoInstance ¶
func (backRepoSvgText *BackRepoSvgTextStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, svgtext *models.SvgText) (Error error)
BackRepoSvgText.CommitPhaseTwoInstance commits {{structname }} of models.SvgText to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoSvgTextStruct) GetDB ¶
func (backRepoSvgText *BackRepoSvgTextStruct) GetDB() db.DBInterface
func (*BackRepoSvgTextStruct) GetStage ¶
func (backRepoSvgText *BackRepoSvgTextStruct) GetStage() (stage *models.Stage)
func (*BackRepoSvgTextStruct) GetSvgTextDBFromSvgTextPtr ¶
func (backRepoSvgText *BackRepoSvgTextStruct) GetSvgTextDBFromSvgTextPtr(svgtext *models.SvgText) (svgtextDB *SvgTextDB)
GetSvgTextDBFromSvgTextPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoSvgTextStruct) ResetReversePointers ¶
func (backRepoSvgText *BackRepoSvgTextStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoSvgText.ResetReversePointers commits all staged instances of SvgText to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoSvgTextStruct) ResetReversePointersInstance ¶
func (backRepoSvgText *BackRepoSvgTextStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, svgtext *models.SvgText) (Error error)
func (*BackRepoSvgTextStruct) RestorePhaseOne ¶
func (backRepoSvgText *BackRepoSvgTextStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "SvgTextDB.json" in dirPath that stores an array of SvgTextDB and stores it in the database the map BackRepoSvgTextid_atBckpTime_newID is updated accordingly
func (*BackRepoSvgTextStruct) RestorePhaseTwo ¶
func (backRepoSvgText *BackRepoSvgTextStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<SvgText>id_atBckpTime_newID to compute new index
func (*BackRepoSvgTextStruct) RestoreXLPhaseOne ¶
func (backRepoSvgText *BackRepoSvgTextStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "SvgText" sheet all SvgTextDB instances
type BackRepoTextStruct ¶
type BackRepoTextStruct struct {
// stores TextDB according to their gorm ID
Map_TextDBID_TextDB map[uint]*TextDB
// stores TextDB ID according to Text address
Map_TextPtr_TextDBID map[*models.Text]uint
// stores Text according to their gorm ID
Map_TextDBID_TextPtr map[uint]*models.Text
// contains filtered or unexported fields
}
func (*BackRepoTextStruct) Backup ¶
func (backRepoText *BackRepoTextStruct) Backup(dirPath string)
Backup generates a json file from a slice of all TextDB instances in the backrepo
func (*BackRepoTextStruct) BackupXL ¶
func (backRepoText *BackRepoTextStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all TextDB instances in the backrepo
func (*BackRepoTextStruct) CheckoutPhaseOne ¶
func (backRepoText *BackRepoTextStruct) CheckoutPhaseOne() (Error error)
BackRepoText.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoTextStruct) CheckoutPhaseOneInstance ¶
func (backRepoText *BackRepoTextStruct) CheckoutPhaseOneInstance(textDB *TextDB) (Error error)
CheckoutPhaseOneInstance takes a textDB that has been found in the DB, updates the backRepo and stages the models version of the textDB
func (*BackRepoTextStruct) CheckoutPhaseTwo ¶
func (backRepoText *BackRepoTextStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoText.CheckoutPhaseTwo Checkouts all staged instances of Text to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoTextStruct) CheckoutPhaseTwoInstance ¶
func (backRepoText *BackRepoTextStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, textDB *TextDB) (Error error)
BackRepoText.CheckoutPhaseTwoInstance Checkouts staged instances of Text to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoTextStruct) CommitDeleteInstance ¶
func (backRepoText *BackRepoTextStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoText.CommitDeleteInstance commits deletion of Text to the BackRepo
func (*BackRepoTextStruct) CommitPhaseOne ¶
func (backRepoText *BackRepoTextStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoText.CommitPhaseOne commits all staged instances of Text to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoTextStruct) CommitPhaseOneInstance ¶
func (backRepoText *BackRepoTextStruct) CommitPhaseOneInstance(text *models.Text) (Error error)
BackRepoText.CommitPhaseOneInstance commits text staged instances of Text to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoTextStruct) CommitPhaseTwo ¶
func (backRepoText *BackRepoTextStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoText.CommitPhaseTwo commits all staged instances of Text to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoTextStruct) CommitPhaseTwoInstance ¶
func (backRepoText *BackRepoTextStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, text *models.Text) (Error error)
BackRepoText.CommitPhaseTwoInstance commits {{structname }} of models.Text to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoTextStruct) GetDB ¶
func (backRepoText *BackRepoTextStruct) GetDB() db.DBInterface
func (*BackRepoTextStruct) GetStage ¶
func (backRepoText *BackRepoTextStruct) GetStage() (stage *models.Stage)
func (*BackRepoTextStruct) GetTextDBFromTextPtr ¶
func (backRepoText *BackRepoTextStruct) GetTextDBFromTextPtr(text *models.Text) (textDB *TextDB)
GetTextDBFromTextPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoTextStruct) ResetReversePointers ¶
func (backRepoText *BackRepoTextStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoText.ResetReversePointers commits all staged instances of Text to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoTextStruct) ResetReversePointersInstance ¶
func (backRepoText *BackRepoTextStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, text *models.Text) (Error error)
func (*BackRepoTextStruct) RestorePhaseOne ¶
func (backRepoText *BackRepoTextStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "TextDB.json" in dirPath that stores an array of TextDB and stores it in the database the map BackRepoTextid_atBckpTime_newID is updated accordingly
func (*BackRepoTextStruct) RestorePhaseTwo ¶
func (backRepoText *BackRepoTextStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Text>id_atBckpTime_newID to compute new index
func (*BackRepoTextStruct) RestoreXLPhaseOne ¶
func (backRepoText *BackRepoTextStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Text" sheet all TextDB instances
type CircleAPI ¶
type CircleAPI struct {
gorm.Model
models.Circle_WOP
// encoding of pointers
// for API, it cannot be embedded
CirclePointersEncoding CirclePointersEncoding
}
CircleAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model circleAPI
type CircleDB ¶
type CircleDB struct {
gorm.Model
// Declation for basic field circleDB.Name
Name_Data sql.NullString
// Declation for basic field circleDB.CX
CX_Data sql.NullFloat64
// Declation for basic field circleDB.CY
CY_Data sql.NullFloat64
// Declation for basic field circleDB.Radius
Radius_Data sql.NullFloat64
// Declation for basic field circleDB.Color
Color_Data sql.NullString
// Declation for basic field circleDB.FillOpacity
FillOpacity_Data sql.NullFloat64
// Declation for basic field circleDB.Stroke
Stroke_Data sql.NullString
// Declation for basic field circleDB.StrokeOpacity
StrokeOpacity_Data sql.NullFloat64
// Declation for basic field circleDB.StrokeWidth
StrokeWidth_Data sql.NullFloat64
// Declation for basic field circleDB.StrokeDashArray
StrokeDashArray_Data sql.NullString
// Declation for basic field circleDB.StrokeDashArrayWhenSelected
StrokeDashArrayWhenSelected_Data sql.NullString
// Declation for basic field circleDB.Transform
Transform_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
CirclePointersEncoding
}
CircleDB describes a circle in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model circleDB
func (*CircleDB) CopyBasicFieldsFromCircle ¶
CopyBasicFieldsFromCircle
func (*CircleDB) CopyBasicFieldsFromCircleWOP ¶
CopyBasicFieldsFromCircleWOP
func (*CircleDB) CopyBasicFieldsFromCircle_WOP ¶
func (circleDB *CircleDB) CopyBasicFieldsFromCircle_WOP(circle *models.Circle_WOP)
CopyBasicFieldsFromCircle_WOP
func (*CircleDB) CopyBasicFieldsToCircle ¶
CopyBasicFieldsToCircle
func (*CircleDB) CopyBasicFieldsToCircleWOP ¶
CopyBasicFieldsToCircleWOP
func (*CircleDB) CopyBasicFieldsToCircle_WOP ¶
func (circleDB *CircleDB) CopyBasicFieldsToCircle_WOP(circle *models.Circle_WOP)
CopyBasicFieldsToCircle_WOP
func (*CircleDB) DecodePointers ¶
func (circleDB *CircleDB) DecodePointers(backRepo *BackRepoStruct, circle *models.Circle)
type CircleDBResponse ¶
type CircleDBResponse struct {
CircleDB
}
CircleDBResponse provides response swagger:response circleDBResponse
type CircleDBs ¶
type CircleDBs []CircleDB
CircleDBs arrays circleDBs swagger:response circleDBsResponse
type CirclePointersEncoding ¶
type CirclePointersEncoding struct {
// field Animations is a slice of pointers to another Struct (optional or 0..1)
Animations IntSlice `gorm:"type:TEXT"`
}
CirclePointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type CircleWOP ¶
type CircleWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
CX float64 `xlsx:"2"`
CY float64 `xlsx:"3"`
Radius float64 `xlsx:"4"`
Color string `xlsx:"5"`
FillOpacity float64 `xlsx:"6"`
Stroke string `xlsx:"7"`
StrokeOpacity float64 `xlsx:"8"`
StrokeWidth float64 `xlsx:"9"`
StrokeDashArray string `xlsx:"10"`
StrokeDashArrayWhenSelected string `xlsx:"11"`
Transform string `xlsx:"12"`
}
CircleWOP is a Circle without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type ConditionAPI ¶
type ConditionAPI struct {
gorm.Model
models.Condition_WOP
// encoding of pointers
// for API, it cannot be embedded
ConditionPointersEncoding ConditionPointersEncoding
}
ConditionAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model conditionAPI
type ConditionDB ¶
type ConditionDB struct {
gorm.Model
// Declation for basic field conditionDB.Name
Name_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
ConditionPointersEncoding
}
ConditionDB describes a condition in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model conditionDB
func (*ConditionDB) CopyBasicFieldsFromCondition ¶
func (conditionDB *ConditionDB) CopyBasicFieldsFromCondition(condition *models.Condition)
CopyBasicFieldsFromCondition
func (*ConditionDB) CopyBasicFieldsFromConditionWOP ¶
func (conditionDB *ConditionDB) CopyBasicFieldsFromConditionWOP(condition *ConditionWOP)
CopyBasicFieldsFromConditionWOP
func (*ConditionDB) CopyBasicFieldsFromCondition_WOP ¶
func (conditionDB *ConditionDB) CopyBasicFieldsFromCondition_WOP(condition *models.Condition_WOP)
CopyBasicFieldsFromCondition_WOP
func (*ConditionDB) CopyBasicFieldsToCondition ¶
func (conditionDB *ConditionDB) CopyBasicFieldsToCondition(condition *models.Condition)
CopyBasicFieldsToCondition
func (*ConditionDB) CopyBasicFieldsToConditionWOP ¶
func (conditionDB *ConditionDB) CopyBasicFieldsToConditionWOP(condition *ConditionWOP)
CopyBasicFieldsToConditionWOP
func (*ConditionDB) CopyBasicFieldsToCondition_WOP ¶
func (conditionDB *ConditionDB) CopyBasicFieldsToCondition_WOP(condition *models.Condition_WOP)
CopyBasicFieldsToCondition_WOP
func (*ConditionDB) DecodePointers ¶
func (conditionDB *ConditionDB) DecodePointers(backRepo *BackRepoStruct, condition *models.Condition)
type ConditionDBResponse ¶
type ConditionDBResponse struct {
ConditionDB
}
ConditionDBResponse provides response swagger:response conditionDBResponse
type ConditionDBs ¶
type ConditionDBs []ConditionDB
ConditionDBs arrays conditionDBs swagger:response conditionDBsResponse
type ConditionPointersEncoding ¶
type ConditionPointersEncoding struct {
}
ConditionPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type ConditionWOP ¶
ConditionWOP is a Condition without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type ControlPointAPI ¶
type ControlPointAPI struct {
gorm.Model
models.ControlPoint_WOP
// encoding of pointers
// for API, it cannot be embedded
ControlPointPointersEncoding ControlPointPointersEncoding
}
ControlPointAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model controlpointAPI
type ControlPointDB ¶
type ControlPointDB struct {
gorm.Model
// Declation for basic field controlpointDB.Name
Name_Data sql.NullString
// Declation for basic field controlpointDB.X_Relative
X_Relative_Data sql.NullFloat64
// Declation for basic field controlpointDB.Y_Relative
Y_Relative_Data sql.NullFloat64
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
ControlPointPointersEncoding
}
ControlPointDB describes a controlpoint in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model controlpointDB
func (*ControlPointDB) CopyBasicFieldsFromControlPoint ¶
func (controlpointDB *ControlPointDB) CopyBasicFieldsFromControlPoint(controlpoint *models.ControlPoint)
CopyBasicFieldsFromControlPoint
func (*ControlPointDB) CopyBasicFieldsFromControlPointWOP ¶
func (controlpointDB *ControlPointDB) CopyBasicFieldsFromControlPointWOP(controlpoint *ControlPointWOP)
CopyBasicFieldsFromControlPointWOP
func (*ControlPointDB) CopyBasicFieldsFromControlPoint_WOP ¶
func (controlpointDB *ControlPointDB) CopyBasicFieldsFromControlPoint_WOP(controlpoint *models.ControlPoint_WOP)
CopyBasicFieldsFromControlPoint_WOP
func (*ControlPointDB) CopyBasicFieldsToControlPoint ¶
func (controlpointDB *ControlPointDB) CopyBasicFieldsToControlPoint(controlpoint *models.ControlPoint)
CopyBasicFieldsToControlPoint
func (*ControlPointDB) CopyBasicFieldsToControlPointWOP ¶
func (controlpointDB *ControlPointDB) CopyBasicFieldsToControlPointWOP(controlpoint *ControlPointWOP)
CopyBasicFieldsToControlPointWOP
func (*ControlPointDB) CopyBasicFieldsToControlPoint_WOP ¶
func (controlpointDB *ControlPointDB) CopyBasicFieldsToControlPoint_WOP(controlpoint *models.ControlPoint_WOP)
CopyBasicFieldsToControlPoint_WOP
func (*ControlPointDB) DecodePointers ¶
func (controlpointDB *ControlPointDB) DecodePointers(backRepo *BackRepoStruct, controlpoint *models.ControlPoint)
type ControlPointDBResponse ¶
type ControlPointDBResponse struct {
ControlPointDB
}
ControlPointDBResponse provides response swagger:response controlpointDBResponse
type ControlPointDBs ¶
type ControlPointDBs []ControlPointDB
ControlPointDBs arrays controlpointDBs swagger:response controlpointDBsResponse
type ControlPointPointersEncoding ¶
type ControlPointPointersEncoding struct {
// field ClosestRect is a pointer to another Struct (optional or 0..1)
// This field is generated into another field to enable AS ONE association
ClosestRectID sql.NullInt64
}
ControlPointPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type ControlPointWOP ¶
type ControlPointWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
X_Relative float64 `xlsx:"2"`
Y_Relative float64 `xlsx:"3"`
}
ControlPointWOP is a ControlPoint without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type DBLite ¶
type DBLite struct {
// contains filtered or unexported fields
}
DBLite is an in-memory database implementation of DBInterface
func (*DBLite) Create ¶
func (db *DBLite) Create(instanceDB any) (db.DBInterface, error)
Create inserts a new record into the database
func (*DBLite) Delete ¶
func (db *DBLite) Delete(instanceDB any) (db.DBInterface, error)
Delete removes a record from the database
func (*DBLite) Find ¶
func (db *DBLite) Find(instanceDBs any) (db.DBInterface, error)
Find retrieves all records of a type from the database
func (*DBLite) Model ¶
func (db *DBLite) Model(instanceDB any) (db.DBInterface, error)
Model is a placeholder in this implementation
func (*DBLite) Save ¶
func (db *DBLite) Save(instanceDB any) (db.DBInterface, error)
Save updates or inserts a record into the database
type EllipseAPI ¶
type EllipseAPI struct {
gorm.Model
models.Ellipse_WOP
// encoding of pointers
// for API, it cannot be embedded
EllipsePointersEncoding EllipsePointersEncoding
}
EllipseAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model ellipseAPI
type EllipseDB ¶
type EllipseDB struct {
gorm.Model
// Declation for basic field ellipseDB.Name
Name_Data sql.NullString
// Declation for basic field ellipseDB.CX
CX_Data sql.NullFloat64
// Declation for basic field ellipseDB.CY
CY_Data sql.NullFloat64
// Declation for basic field ellipseDB.RX
RX_Data sql.NullFloat64
// Declation for basic field ellipseDB.RY
RY_Data sql.NullFloat64
// Declation for basic field ellipseDB.Color
Color_Data sql.NullString
// Declation for basic field ellipseDB.FillOpacity
FillOpacity_Data sql.NullFloat64
// Declation for basic field ellipseDB.Stroke
Stroke_Data sql.NullString
// Declation for basic field ellipseDB.StrokeOpacity
StrokeOpacity_Data sql.NullFloat64
// Declation for basic field ellipseDB.StrokeWidth
StrokeWidth_Data sql.NullFloat64
// Declation for basic field ellipseDB.StrokeDashArray
StrokeDashArray_Data sql.NullString
// Declation for basic field ellipseDB.StrokeDashArrayWhenSelected
StrokeDashArrayWhenSelected_Data sql.NullString
// Declation for basic field ellipseDB.Transform
Transform_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
EllipsePointersEncoding
}
EllipseDB describes a ellipse in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model ellipseDB
func (*EllipseDB) CopyBasicFieldsFromEllipse ¶
CopyBasicFieldsFromEllipse
func (*EllipseDB) CopyBasicFieldsFromEllipseWOP ¶
func (ellipseDB *EllipseDB) CopyBasicFieldsFromEllipseWOP(ellipse *EllipseWOP)
CopyBasicFieldsFromEllipseWOP
func (*EllipseDB) CopyBasicFieldsFromEllipse_WOP ¶
func (ellipseDB *EllipseDB) CopyBasicFieldsFromEllipse_WOP(ellipse *models.Ellipse_WOP)
CopyBasicFieldsFromEllipse_WOP
func (*EllipseDB) CopyBasicFieldsToEllipse ¶
CopyBasicFieldsToEllipse
func (*EllipseDB) CopyBasicFieldsToEllipseWOP ¶
func (ellipseDB *EllipseDB) CopyBasicFieldsToEllipseWOP(ellipse *EllipseWOP)
CopyBasicFieldsToEllipseWOP
func (*EllipseDB) CopyBasicFieldsToEllipse_WOP ¶
func (ellipseDB *EllipseDB) CopyBasicFieldsToEllipse_WOP(ellipse *models.Ellipse_WOP)
CopyBasicFieldsToEllipse_WOP
func (*EllipseDB) DecodePointers ¶
func (ellipseDB *EllipseDB) DecodePointers(backRepo *BackRepoStruct, ellipse *models.Ellipse)
type EllipseDBResponse ¶
type EllipseDBResponse struct {
EllipseDB
}
EllipseDBResponse provides response swagger:response ellipseDBResponse
type EllipseDBs ¶
type EllipseDBs []EllipseDB
EllipseDBs arrays ellipseDBs swagger:response ellipseDBsResponse
type EllipsePointersEncoding ¶
type EllipsePointersEncoding struct {
// field Animates is a slice of pointers to another Struct (optional or 0..1)
Animates IntSlice `gorm:"type:TEXT"`
}
EllipsePointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type EllipseWOP ¶
type EllipseWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
CX float64 `xlsx:"2"`
CY float64 `xlsx:"3"`
RX float64 `xlsx:"4"`
RY float64 `xlsx:"5"`
Color string `xlsx:"6"`
FillOpacity float64 `xlsx:"7"`
Stroke string `xlsx:"8"`
StrokeOpacity float64 `xlsx:"9"`
StrokeWidth float64 `xlsx:"10"`
StrokeDashArray string `xlsx:"11"`
StrokeDashArrayWhenSelected string `xlsx:"12"`
Transform string `xlsx:"13"`
}
EllipseWOP is a Ellipse without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type GongstructDB ¶
type GongstructDB interface {
}
type IntSlice ¶
type IntSlice []int
type LayerAPI ¶
type LayerAPI struct {
gorm.Model
models.Layer_WOP
// encoding of pointers
// for API, it cannot be embedded
LayerPointersEncoding LayerPointersEncoding
}
LayerAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model layerAPI
type LayerDB ¶
type LayerDB struct {
gorm.Model
// Declation for basic field layerDB.Name
Name_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
LayerPointersEncoding
}
LayerDB describes a layer in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model layerDB
func (*LayerDB) CopyBasicFieldsFromLayer ¶
CopyBasicFieldsFromLayer
func (*LayerDB) CopyBasicFieldsFromLayerWOP ¶
CopyBasicFieldsFromLayerWOP
func (*LayerDB) CopyBasicFieldsFromLayer_WOP ¶
CopyBasicFieldsFromLayer_WOP
func (*LayerDB) CopyBasicFieldsToLayer ¶
CopyBasicFieldsToLayer
func (*LayerDB) CopyBasicFieldsToLayerWOP ¶
CopyBasicFieldsToLayerWOP
func (*LayerDB) CopyBasicFieldsToLayer_WOP ¶
CopyBasicFieldsToLayer_WOP
func (*LayerDB) DecodePointers ¶
func (layerDB *LayerDB) DecodePointers(backRepo *BackRepoStruct, layer *models.Layer)
type LayerDBResponse ¶
type LayerDBResponse struct {
LayerDB
}
LayerDBResponse provides response swagger:response layerDBResponse
type LayerPointersEncoding ¶
type LayerPointersEncoding struct {
// field Rects is a slice of pointers to another Struct (optional or 0..1)
Rects IntSlice `gorm:"type:TEXT"`
// field Texts is a slice of pointers to another Struct (optional or 0..1)
Texts IntSlice `gorm:"type:TEXT"`
// field Circles is a slice of pointers to another Struct (optional or 0..1)
Circles IntSlice `gorm:"type:TEXT"`
// field Lines is a slice of pointers to another Struct (optional or 0..1)
Lines IntSlice `gorm:"type:TEXT"`
// field Ellipses is a slice of pointers to another Struct (optional or 0..1)
Ellipses IntSlice `gorm:"type:TEXT"`
// field Polylines is a slice of pointers to another Struct (optional or 0..1)
Polylines IntSlice `gorm:"type:TEXT"`
// field Polygones is a slice of pointers to another Struct (optional or 0..1)
Polygones IntSlice `gorm:"type:TEXT"`
// field Paths is a slice of pointers to another Struct (optional or 0..1)
Paths IntSlice `gorm:"type:TEXT"`
// field Links is a slice of pointers to another Struct (optional or 0..1)
Links IntSlice `gorm:"type:TEXT"`
// field RectLinkLinks is a slice of pointers to another Struct (optional or 0..1)
RectLinkLinks IntSlice `gorm:"type:TEXT"`
}
LayerPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type LayerWOP ¶
LayerWOP is a Layer without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type LineAPI ¶
type LineAPI struct {
gorm.Model
models.Line_WOP
// encoding of pointers
// for API, it cannot be embedded
LinePointersEncoding LinePointersEncoding
}
LineAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model lineAPI
type LineDB ¶
type LineDB struct {
gorm.Model
// Declation for basic field lineDB.Name
Name_Data sql.NullString
// Declation for basic field lineDB.X1
X1_Data sql.NullFloat64
// Declation for basic field lineDB.Y1
Y1_Data sql.NullFloat64
// Declation for basic field lineDB.X2
X2_Data sql.NullFloat64
// Declation for basic field lineDB.Y2
Y2_Data sql.NullFloat64
// Declation for basic field lineDB.Color
Color_Data sql.NullString
// Declation for basic field lineDB.FillOpacity
FillOpacity_Data sql.NullFloat64
// Declation for basic field lineDB.Stroke
Stroke_Data sql.NullString
// Declation for basic field lineDB.StrokeOpacity
StrokeOpacity_Data sql.NullFloat64
// Declation for basic field lineDB.StrokeWidth
StrokeWidth_Data sql.NullFloat64
// Declation for basic field lineDB.StrokeDashArray
StrokeDashArray_Data sql.NullString
// Declation for basic field lineDB.StrokeDashArrayWhenSelected
StrokeDashArrayWhenSelected_Data sql.NullString
// Declation for basic field lineDB.Transform
Transform_Data sql.NullString
// Declation for basic field lineDB.MouseClickX
MouseClickX_Data sql.NullFloat64
// Declation for basic field lineDB.MouseClickY
MouseClickY_Data sql.NullFloat64
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
LinePointersEncoding
}
LineDB describes a line in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model lineDB
func (*LineDB) CopyBasicFieldsFromLine ¶
CopyBasicFieldsFromLine
func (*LineDB) CopyBasicFieldsFromLineWOP ¶
CopyBasicFieldsFromLineWOP
func (*LineDB) CopyBasicFieldsFromLine_WOP ¶
CopyBasicFieldsFromLine_WOP
func (*LineDB) CopyBasicFieldsToLine ¶
CopyBasicFieldsToLine
func (*LineDB) CopyBasicFieldsToLineWOP ¶
CopyBasicFieldsToLineWOP
func (*LineDB) CopyBasicFieldsToLine_WOP ¶
CopyBasicFieldsToLine_WOP
func (*LineDB) DecodePointers ¶
func (lineDB *LineDB) DecodePointers(backRepo *BackRepoStruct, line *models.Line)
type LineDBResponse ¶
type LineDBResponse struct {
LineDB
}
LineDBResponse provides response swagger:response lineDBResponse
type LinePointersEncoding ¶
type LinePointersEncoding struct {
// field Animates is a slice of pointers to another Struct (optional or 0..1)
Animates IntSlice `gorm:"type:TEXT"`
}
LinePointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type LineWOP ¶
type LineWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
X1 float64 `xlsx:"2"`
Y1 float64 `xlsx:"3"`
X2 float64 `xlsx:"4"`
Y2 float64 `xlsx:"5"`
Color string `xlsx:"6"`
FillOpacity float64 `xlsx:"7"`
Stroke string `xlsx:"8"`
StrokeOpacity float64 `xlsx:"9"`
StrokeWidth float64 `xlsx:"10"`
StrokeDashArray string `xlsx:"11"`
StrokeDashArrayWhenSelected string `xlsx:"12"`
Transform string `xlsx:"13"`
MouseClickX float64 `xlsx:"14"`
MouseClickY float64 `xlsx:"15"`
}
LineWOP is a Line without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type LinkAPI ¶
type LinkAPI struct {
gorm.Model
models.Link_WOP
// encoding of pointers
// for API, it cannot be embedded
LinkPointersEncoding LinkPointersEncoding
}
LinkAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model linkAPI
type LinkAnchoredTextAPI ¶
type LinkAnchoredTextAPI struct {
gorm.Model
models.LinkAnchoredText_WOP
// encoding of pointers
// for API, it cannot be embedded
LinkAnchoredTextPointersEncoding LinkAnchoredTextPointersEncoding
}
LinkAnchoredTextAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model linkanchoredtextAPI
type LinkAnchoredTextDB ¶
type LinkAnchoredTextDB struct {
gorm.Model
// Declation for basic field linkanchoredtextDB.Name
Name_Data sql.NullString
// Declation for basic field linkanchoredtextDB.Content
Content_Data sql.NullString
// Declation for basic field linkanchoredtextDB.AutomaticLayout
// provide the sql storage for the boolan
AutomaticLayout_Data sql.NullBool
// Declation for basic field linkanchoredtextDB.LinkAnchorType
LinkAnchorType_Data sql.NullString
// Declation for basic field linkanchoredtextDB.X_Offset
X_Offset_Data sql.NullFloat64
// Declation for basic field linkanchoredtextDB.Y_Offset
Y_Offset_Data sql.NullFloat64
// Declation for basic field linkanchoredtextDB.FontWeight
FontWeight_Data sql.NullString
// Declation for basic field linkanchoredtextDB.FontSize
FontSize_Data sql.NullString
// Declation for basic field linkanchoredtextDB.FontStyle
FontStyle_Data sql.NullString
// Declation for basic field linkanchoredtextDB.LetterSpacing
LetterSpacing_Data sql.NullString
// Declation for basic field linkanchoredtextDB.FontFamily
FontFamily_Data sql.NullString
// Declation for basic field linkanchoredtextDB.WhiteSpace
WhiteSpace_Data sql.NullString
// Declation for basic field linkanchoredtextDB.Color
Color_Data sql.NullString
// Declation for basic field linkanchoredtextDB.FillOpacity
FillOpacity_Data sql.NullFloat64
// Declation for basic field linkanchoredtextDB.Stroke
Stroke_Data sql.NullString
// Declation for basic field linkanchoredtextDB.StrokeOpacity
StrokeOpacity_Data sql.NullFloat64
// Declation for basic field linkanchoredtextDB.StrokeWidth
StrokeWidth_Data sql.NullFloat64
// Declation for basic field linkanchoredtextDB.StrokeDashArray
StrokeDashArray_Data sql.NullString
// Declation for basic field linkanchoredtextDB.StrokeDashArrayWhenSelected
StrokeDashArrayWhenSelected_Data sql.NullString
// Declation for basic field linkanchoredtextDB.Transform
Transform_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
LinkAnchoredTextPointersEncoding
}
LinkAnchoredTextDB describes a linkanchoredtext in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model linkanchoredtextDB
func (*LinkAnchoredTextDB) CopyBasicFieldsFromLinkAnchoredText ¶
func (linkanchoredtextDB *LinkAnchoredTextDB) CopyBasicFieldsFromLinkAnchoredText(linkanchoredtext *models.LinkAnchoredText)
CopyBasicFieldsFromLinkAnchoredText
func (*LinkAnchoredTextDB) CopyBasicFieldsFromLinkAnchoredTextWOP ¶
func (linkanchoredtextDB *LinkAnchoredTextDB) CopyBasicFieldsFromLinkAnchoredTextWOP(linkanchoredtext *LinkAnchoredTextWOP)
CopyBasicFieldsFromLinkAnchoredTextWOP
func (*LinkAnchoredTextDB) CopyBasicFieldsFromLinkAnchoredText_WOP ¶
func (linkanchoredtextDB *LinkAnchoredTextDB) CopyBasicFieldsFromLinkAnchoredText_WOP(linkanchoredtext *models.LinkAnchoredText_WOP)
CopyBasicFieldsFromLinkAnchoredText_WOP
func (*LinkAnchoredTextDB) CopyBasicFieldsToLinkAnchoredText ¶
func (linkanchoredtextDB *LinkAnchoredTextDB) CopyBasicFieldsToLinkAnchoredText(linkanchoredtext *models.LinkAnchoredText)
CopyBasicFieldsToLinkAnchoredText
func (*LinkAnchoredTextDB) CopyBasicFieldsToLinkAnchoredTextWOP ¶
func (linkanchoredtextDB *LinkAnchoredTextDB) CopyBasicFieldsToLinkAnchoredTextWOP(linkanchoredtext *LinkAnchoredTextWOP)
CopyBasicFieldsToLinkAnchoredTextWOP
func (*LinkAnchoredTextDB) CopyBasicFieldsToLinkAnchoredText_WOP ¶
func (linkanchoredtextDB *LinkAnchoredTextDB) CopyBasicFieldsToLinkAnchoredText_WOP(linkanchoredtext *models.LinkAnchoredText_WOP)
CopyBasicFieldsToLinkAnchoredText_WOP
func (*LinkAnchoredTextDB) DecodePointers ¶
func (linkanchoredtextDB *LinkAnchoredTextDB) DecodePointers(backRepo *BackRepoStruct, linkanchoredtext *models.LinkAnchoredText)
type LinkAnchoredTextDBResponse ¶
type LinkAnchoredTextDBResponse struct {
LinkAnchoredTextDB
}
LinkAnchoredTextDBResponse provides response swagger:response linkanchoredtextDBResponse
type LinkAnchoredTextDBs ¶
type LinkAnchoredTextDBs []LinkAnchoredTextDB
LinkAnchoredTextDBs arrays linkanchoredtextDBs swagger:response linkanchoredtextDBsResponse
type LinkAnchoredTextPointersEncoding ¶
type LinkAnchoredTextPointersEncoding struct {
// field Animates is a slice of pointers to another Struct (optional or 0..1)
Animates IntSlice `gorm:"type:TEXT"`
}
LinkAnchoredTextPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type LinkAnchoredTextWOP ¶
type LinkAnchoredTextWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
Content string `xlsx:"2"`
AutomaticLayout bool `xlsx:"3"`
LinkAnchorType models.LinkAnchorType `xlsx:"4"`
X_Offset float64 `xlsx:"5"`
Y_Offset float64 `xlsx:"6"`
FontWeight string `xlsx:"7"`
FontSize string `xlsx:"8"`
FontStyle string `xlsx:"9"`
LetterSpacing string `xlsx:"10"`
FontFamily string `xlsx:"11"`
WhiteSpace models.WhiteSpaceEnum `xlsx:"12"`
Color string `xlsx:"13"`
FillOpacity float64 `xlsx:"14"`
Stroke string `xlsx:"15"`
StrokeOpacity float64 `xlsx:"16"`
StrokeWidth float64 `xlsx:"17"`
StrokeDashArray string `xlsx:"18"`
StrokeDashArrayWhenSelected string `xlsx:"19"`
Transform string `xlsx:"20"`
}
LinkAnchoredTextWOP is a LinkAnchoredText without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type LinkDB ¶
type LinkDB struct {
gorm.Model
// Declation for basic field linkDB.Name
Name_Data sql.NullString
// Declation for basic field linkDB.Type
Type_Data sql.NullString
// Declation for basic field linkDB.IsBezierCurve
// provide the sql storage for the boolan
IsBezierCurve_Data sql.NullBool
// Declation for basic field linkDB.StartAnchorType
StartAnchorType_Data sql.NullString
// Declation for basic field linkDB.EndAnchorType
EndAnchorType_Data sql.NullString
// Declation for basic field linkDB.StartOrientation
StartOrientation_Data sql.NullString
// Declation for basic field linkDB.StartRatio
StartRatio_Data sql.NullFloat64
// Declation for basic field linkDB.EndOrientation
EndOrientation_Data sql.NullString
// Declation for basic field linkDB.EndRatio
EndRatio_Data sql.NullFloat64
// Declation for basic field linkDB.CornerOffsetRatio
CornerOffsetRatio_Data sql.NullFloat64
// Declation for basic field linkDB.CornerRadius
CornerRadius_Data sql.NullFloat64
// Declation for basic field linkDB.HasEndArrow
// provide the sql storage for the boolan
HasEndArrow_Data sql.NullBool
// Declation for basic field linkDB.EndArrowSize
EndArrowSize_Data sql.NullFloat64
// Declation for basic field linkDB.EndArrowOffset
EndArrowOffset_Data sql.NullFloat64
// Declation for basic field linkDB.HasStartArrow
// provide the sql storage for the boolan
HasStartArrow_Data sql.NullBool
// Declation for basic field linkDB.StartArrowSize
StartArrowSize_Data sql.NullFloat64
// Declation for basic field linkDB.StartArrowOffset
StartArrowOffset_Data sql.NullFloat64
// Declation for basic field linkDB.Color
Color_Data sql.NullString
// Declation for basic field linkDB.FillOpacity
FillOpacity_Data sql.NullFloat64
// Declation for basic field linkDB.Stroke
Stroke_Data sql.NullString
// Declation for basic field linkDB.StrokeOpacity
StrokeOpacity_Data sql.NullFloat64
// Declation for basic field linkDB.StrokeWidth
StrokeWidth_Data sql.NullFloat64
// Declation for basic field linkDB.StrokeDashArray
StrokeDashArray_Data sql.NullString
// Declation for basic field linkDB.StrokeDashArrayWhenSelected
StrokeDashArrayWhenSelected_Data sql.NullString
// Declation for basic field linkDB.Transform
Transform_Data sql.NullString
// Declation for basic field linkDB.MouseX
MouseX_Data sql.NullFloat64
// Declation for basic field linkDB.MouseY
MouseY_Data sql.NullFloat64
// Declation for basic field linkDB.MouseEventKey
MouseEventKey_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
LinkPointersEncoding
}
LinkDB describes a link in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model linkDB
func (*LinkDB) CopyBasicFieldsFromLink ¶
CopyBasicFieldsFromLink
func (*LinkDB) CopyBasicFieldsFromLinkWOP ¶
CopyBasicFieldsFromLinkWOP
func (*LinkDB) CopyBasicFieldsFromLink_WOP ¶
CopyBasicFieldsFromLink_WOP
func (*LinkDB) CopyBasicFieldsToLink ¶
CopyBasicFieldsToLink
func (*LinkDB) CopyBasicFieldsToLinkWOP ¶
CopyBasicFieldsToLinkWOP
func (*LinkDB) CopyBasicFieldsToLink_WOP ¶
CopyBasicFieldsToLink_WOP
func (*LinkDB) DecodePointers ¶
func (linkDB *LinkDB) DecodePointers(backRepo *BackRepoStruct, link *models.Link)
type LinkDBResponse ¶
type LinkDBResponse struct {
LinkDB
}
LinkDBResponse provides response swagger:response linkDBResponse
type LinkPointersEncoding ¶
type LinkPointersEncoding struct {
// field Start is a pointer to another Struct (optional or 0..1)
// This field is generated into another field to enable AS ONE association
StartID sql.NullInt64
// field End is a pointer to another Struct (optional or 0..1)
// This field is generated into another field to enable AS ONE association
EndID sql.NullInt64
// field TextAtArrowStart is a slice of pointers to another Struct (optional or 0..1)
TextAtArrowStart IntSlice `gorm:"type:TEXT"`
// field TextAtArrowEnd is a slice of pointers to another Struct (optional or 0..1)
TextAtArrowEnd IntSlice `gorm:"type:TEXT"`
// field ControlPoints is a slice of pointers to another Struct (optional or 0..1)
ControlPoints IntSlice `gorm:"type:TEXT"`
}
LinkPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type LinkWOP ¶
type LinkWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
Type models.LinkType `xlsx:"2"`
IsBezierCurve bool `xlsx:"3"`
StartAnchorType models.AnchorType `xlsx:"4"`
EndAnchorType models.AnchorType `xlsx:"5"`
StartOrientation models.OrientationType `xlsx:"6"`
StartRatio float64 `xlsx:"7"`
EndOrientation models.OrientationType `xlsx:"8"`
EndRatio float64 `xlsx:"9"`
CornerOffsetRatio float64 `xlsx:"10"`
CornerRadius float64 `xlsx:"11"`
HasEndArrow bool `xlsx:"12"`
EndArrowSize float64 `xlsx:"13"`
EndArrowOffset float64 `xlsx:"14"`
HasStartArrow bool `xlsx:"15"`
StartArrowSize float64 `xlsx:"16"`
StartArrowOffset float64 `xlsx:"17"`
Color string `xlsx:"18"`
FillOpacity float64 `xlsx:"19"`
Stroke string `xlsx:"20"`
StrokeOpacity float64 `xlsx:"21"`
StrokeWidth float64 `xlsx:"22"`
StrokeDashArray string `xlsx:"23"`
StrokeDashArrayWhenSelected string `xlsx:"24"`
Transform string `xlsx:"25"`
MouseX float64 `xlsx:"26"`
MouseY float64 `xlsx:"27"`
MouseEventKey models.MouseEventKey `xlsx:"28"`
}
LinkWOP is a Link without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type PathAPI ¶
type PathAPI struct {
gorm.Model
models.Path_WOP
// encoding of pointers
// for API, it cannot be embedded
PathPointersEncoding PathPointersEncoding
}
PathAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model pathAPI
type PathDB ¶
type PathDB struct {
gorm.Model
// Declation for basic field pathDB.Name
Name_Data sql.NullString
// Declation for basic field pathDB.Definition
Definition_Data sql.NullString
// Declation for basic field pathDB.Color
Color_Data sql.NullString
// Declation for basic field pathDB.FillOpacity
FillOpacity_Data sql.NullFloat64
// Declation for basic field pathDB.Stroke
Stroke_Data sql.NullString
// Declation for basic field pathDB.StrokeOpacity
StrokeOpacity_Data sql.NullFloat64
// Declation for basic field pathDB.StrokeWidth
StrokeWidth_Data sql.NullFloat64
// Declation for basic field pathDB.StrokeDashArray
StrokeDashArray_Data sql.NullString
// Declation for basic field pathDB.StrokeDashArrayWhenSelected
StrokeDashArrayWhenSelected_Data sql.NullString
// Declation for basic field pathDB.Transform
Transform_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
PathPointersEncoding
}
PathDB describes a path in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model pathDB
func (*PathDB) CopyBasicFieldsFromPath ¶
CopyBasicFieldsFromPath
func (*PathDB) CopyBasicFieldsFromPathWOP ¶
CopyBasicFieldsFromPathWOP
func (*PathDB) CopyBasicFieldsFromPath_WOP ¶
CopyBasicFieldsFromPath_WOP
func (*PathDB) CopyBasicFieldsToPath ¶
CopyBasicFieldsToPath
func (*PathDB) CopyBasicFieldsToPathWOP ¶
CopyBasicFieldsToPathWOP
func (*PathDB) CopyBasicFieldsToPath_WOP ¶
CopyBasicFieldsToPath_WOP
func (*PathDB) DecodePointers ¶
func (pathDB *PathDB) DecodePointers(backRepo *BackRepoStruct, path *models.Path)
type PathDBResponse ¶
type PathDBResponse struct {
PathDB
}
PathDBResponse provides response swagger:response pathDBResponse
type PathPointersEncoding ¶
type PathPointersEncoding struct {
// field Animates is a slice of pointers to another Struct (optional or 0..1)
Animates IntSlice `gorm:"type:TEXT"`
}
PathPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type PathWOP ¶
type PathWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
Definition string `xlsx:"2"`
Color string `xlsx:"3"`
FillOpacity float64 `xlsx:"4"`
Stroke string `xlsx:"5"`
StrokeOpacity float64 `xlsx:"6"`
StrokeWidth float64 `xlsx:"7"`
StrokeDashArray string `xlsx:"8"`
StrokeDashArrayWhenSelected string `xlsx:"9"`
Transform string `xlsx:"10"`
}
PathWOP is a Path without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type PointAPI ¶
type PointAPI struct {
gorm.Model
models.Point_WOP
// encoding of pointers
// for API, it cannot be embedded
PointPointersEncoding PointPointersEncoding
}
PointAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model pointAPI
type PointDB ¶
type PointDB struct {
gorm.Model
// Declation for basic field pointDB.Name
Name_Data sql.NullString
// Declation for basic field pointDB.X
X_Data sql.NullFloat64
// Declation for basic field pointDB.Y
Y_Data sql.NullFloat64
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
PointPointersEncoding
}
PointDB describes a point in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model pointDB
func (*PointDB) CopyBasicFieldsFromPoint ¶
CopyBasicFieldsFromPoint
func (*PointDB) CopyBasicFieldsFromPointWOP ¶
CopyBasicFieldsFromPointWOP
func (*PointDB) CopyBasicFieldsFromPoint_WOP ¶
CopyBasicFieldsFromPoint_WOP
func (*PointDB) CopyBasicFieldsToPoint ¶
CopyBasicFieldsToPoint
func (*PointDB) CopyBasicFieldsToPointWOP ¶
CopyBasicFieldsToPointWOP
func (*PointDB) CopyBasicFieldsToPoint_WOP ¶
CopyBasicFieldsToPoint_WOP
func (*PointDB) DecodePointers ¶
func (pointDB *PointDB) DecodePointers(backRepo *BackRepoStruct, point *models.Point)
type PointDBResponse ¶
type PointDBResponse struct {
PointDB
}
PointDBResponse provides response swagger:response pointDBResponse
type PointPointersEncoding ¶
type PointPointersEncoding struct {
}
PointPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type PointWOP ¶
type PointWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
X float64 `xlsx:"2"`
Y float64 `xlsx:"3"`
}
PointWOP is a Point without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type PolygoneAPI ¶
type PolygoneAPI struct {
gorm.Model
models.Polygone_WOP
// encoding of pointers
// for API, it cannot be embedded
PolygonePointersEncoding PolygonePointersEncoding
}
PolygoneAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model polygoneAPI
type PolygoneDB ¶
type PolygoneDB struct {
gorm.Model
// Declation for basic field polygoneDB.Name
Name_Data sql.NullString
// Declation for basic field polygoneDB.Points
Points_Data sql.NullString
// Declation for basic field polygoneDB.Color
Color_Data sql.NullString
// Declation for basic field polygoneDB.FillOpacity
FillOpacity_Data sql.NullFloat64
// Declation for basic field polygoneDB.Stroke
Stroke_Data sql.NullString
// Declation for basic field polygoneDB.StrokeOpacity
StrokeOpacity_Data sql.NullFloat64
// Declation for basic field polygoneDB.StrokeWidth
StrokeWidth_Data sql.NullFloat64
// Declation for basic field polygoneDB.StrokeDashArray
StrokeDashArray_Data sql.NullString
// Declation for basic field polygoneDB.StrokeDashArrayWhenSelected
StrokeDashArrayWhenSelected_Data sql.NullString
// Declation for basic field polygoneDB.Transform
Transform_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
PolygonePointersEncoding
}
PolygoneDB describes a polygone in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model polygoneDB
func (*PolygoneDB) CopyBasicFieldsFromPolygone ¶
func (polygoneDB *PolygoneDB) CopyBasicFieldsFromPolygone(polygone *models.Polygone)
CopyBasicFieldsFromPolygone
func (*PolygoneDB) CopyBasicFieldsFromPolygoneWOP ¶
func (polygoneDB *PolygoneDB) CopyBasicFieldsFromPolygoneWOP(polygone *PolygoneWOP)
CopyBasicFieldsFromPolygoneWOP
func (*PolygoneDB) CopyBasicFieldsFromPolygone_WOP ¶
func (polygoneDB *PolygoneDB) CopyBasicFieldsFromPolygone_WOP(polygone *models.Polygone_WOP)
CopyBasicFieldsFromPolygone_WOP
func (*PolygoneDB) CopyBasicFieldsToPolygone ¶
func (polygoneDB *PolygoneDB) CopyBasicFieldsToPolygone(polygone *models.Polygone)
CopyBasicFieldsToPolygone
func (*PolygoneDB) CopyBasicFieldsToPolygoneWOP ¶
func (polygoneDB *PolygoneDB) CopyBasicFieldsToPolygoneWOP(polygone *PolygoneWOP)
CopyBasicFieldsToPolygoneWOP
func (*PolygoneDB) CopyBasicFieldsToPolygone_WOP ¶
func (polygoneDB *PolygoneDB) CopyBasicFieldsToPolygone_WOP(polygone *models.Polygone_WOP)
CopyBasicFieldsToPolygone_WOP
func (*PolygoneDB) DecodePointers ¶
func (polygoneDB *PolygoneDB) DecodePointers(backRepo *BackRepoStruct, polygone *models.Polygone)
type PolygoneDBResponse ¶
type PolygoneDBResponse struct {
PolygoneDB
}
PolygoneDBResponse provides response swagger:response polygoneDBResponse
type PolygoneDBs ¶
type PolygoneDBs []PolygoneDB
PolygoneDBs arrays polygoneDBs swagger:response polygoneDBsResponse
type PolygonePointersEncoding ¶
type PolygonePointersEncoding struct {
// field Animates is a slice of pointers to another Struct (optional or 0..1)
Animates IntSlice `gorm:"type:TEXT"`
}
PolygonePointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type PolygoneWOP ¶
type PolygoneWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
Points string `xlsx:"2"`
Color string `xlsx:"3"`
FillOpacity float64 `xlsx:"4"`
Stroke string `xlsx:"5"`
StrokeOpacity float64 `xlsx:"6"`
StrokeWidth float64 `xlsx:"7"`
StrokeDashArray string `xlsx:"8"`
StrokeDashArrayWhenSelected string `xlsx:"9"`
Transform string `xlsx:"10"`
}
PolygoneWOP is a Polygone without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type PolylineAPI ¶
type PolylineAPI struct {
gorm.Model
models.Polyline_WOP
// encoding of pointers
// for API, it cannot be embedded
PolylinePointersEncoding PolylinePointersEncoding
}
PolylineAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model polylineAPI
type PolylineDB ¶
type PolylineDB struct {
gorm.Model
// Declation for basic field polylineDB.Name
Name_Data sql.NullString
// Declation for basic field polylineDB.Points
Points_Data sql.NullString
// Declation for basic field polylineDB.Color
Color_Data sql.NullString
// Declation for basic field polylineDB.FillOpacity
FillOpacity_Data sql.NullFloat64
// Declation for basic field polylineDB.Stroke
Stroke_Data sql.NullString
// Declation for basic field polylineDB.StrokeOpacity
StrokeOpacity_Data sql.NullFloat64
// Declation for basic field polylineDB.StrokeWidth
StrokeWidth_Data sql.NullFloat64
// Declation for basic field polylineDB.StrokeDashArray
StrokeDashArray_Data sql.NullString
// Declation for basic field polylineDB.StrokeDashArrayWhenSelected
StrokeDashArrayWhenSelected_Data sql.NullString
// Declation for basic field polylineDB.Transform
Transform_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
PolylinePointersEncoding
}
PolylineDB describes a polyline in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model polylineDB
func (*PolylineDB) CopyBasicFieldsFromPolyline ¶
func (polylineDB *PolylineDB) CopyBasicFieldsFromPolyline(polyline *models.Polyline)
CopyBasicFieldsFromPolyline
func (*PolylineDB) CopyBasicFieldsFromPolylineWOP ¶
func (polylineDB *PolylineDB) CopyBasicFieldsFromPolylineWOP(polyline *PolylineWOP)
CopyBasicFieldsFromPolylineWOP
func (*PolylineDB) CopyBasicFieldsFromPolyline_WOP ¶
func (polylineDB *PolylineDB) CopyBasicFieldsFromPolyline_WOP(polyline *models.Polyline_WOP)
CopyBasicFieldsFromPolyline_WOP
func (*PolylineDB) CopyBasicFieldsToPolyline ¶
func (polylineDB *PolylineDB) CopyBasicFieldsToPolyline(polyline *models.Polyline)
CopyBasicFieldsToPolyline
func (*PolylineDB) CopyBasicFieldsToPolylineWOP ¶
func (polylineDB *PolylineDB) CopyBasicFieldsToPolylineWOP(polyline *PolylineWOP)
CopyBasicFieldsToPolylineWOP
func (*PolylineDB) CopyBasicFieldsToPolyline_WOP ¶
func (polylineDB *PolylineDB) CopyBasicFieldsToPolyline_WOP(polyline *models.Polyline_WOP)
CopyBasicFieldsToPolyline_WOP
func (*PolylineDB) DecodePointers ¶
func (polylineDB *PolylineDB) DecodePointers(backRepo *BackRepoStruct, polyline *models.Polyline)
type PolylineDBResponse ¶
type PolylineDBResponse struct {
PolylineDB
}
PolylineDBResponse provides response swagger:response polylineDBResponse
type PolylineDBs ¶
type PolylineDBs []PolylineDB
PolylineDBs arrays polylineDBs swagger:response polylineDBsResponse
type PolylinePointersEncoding ¶
type PolylinePointersEncoding struct {
// field Animates is a slice of pointers to another Struct (optional or 0..1)
Animates IntSlice `gorm:"type:TEXT"`
}
PolylinePointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type PolylineWOP ¶
type PolylineWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
Points string `xlsx:"2"`
Color string `xlsx:"3"`
FillOpacity float64 `xlsx:"4"`
Stroke string `xlsx:"5"`
StrokeOpacity float64 `xlsx:"6"`
StrokeWidth float64 `xlsx:"7"`
StrokeDashArray string `xlsx:"8"`
StrokeDashArrayWhenSelected string `xlsx:"9"`
Transform string `xlsx:"10"`
}
PolylineWOP is a Polyline without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type RectAPI ¶
type RectAPI struct {
gorm.Model
models.Rect_WOP
// encoding of pointers
// for API, it cannot be embedded
RectPointersEncoding RectPointersEncoding
}
RectAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model rectAPI
type RectAnchoredPathAPI ¶
type RectAnchoredPathAPI struct {
gorm.Model
models.RectAnchoredPath_WOP
// encoding of pointers
// for API, it cannot be embedded
RectAnchoredPathPointersEncoding RectAnchoredPathPointersEncoding
}
RectAnchoredPathAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model rectanchoredpathAPI
type RectAnchoredPathDB ¶
type RectAnchoredPathDB struct {
gorm.Model
// Declation for basic field rectanchoredpathDB.Name
Name_Data sql.NullString
// Declation for basic field rectanchoredpathDB.Definition
Definition_Data sql.NullString
// Declation for basic field rectanchoredpathDB.X_Offset
X_Offset_Data sql.NullFloat64
// Declation for basic field rectanchoredpathDB.Y_Offset
Y_Offset_Data sql.NullFloat64
// Declation for basic field rectanchoredpathDB.RectAnchorType
RectAnchorType_Data sql.NullString
// Declation for basic field rectanchoredpathDB.ScalePropotionnally
// provide the sql storage for the boolan
ScalePropotionnally_Data sql.NullBool
// Declation for basic field rectanchoredpathDB.AppliedScaling
AppliedScaling_Data sql.NullFloat64
// Declation for basic field rectanchoredpathDB.Color
Color_Data sql.NullString
// Declation for basic field rectanchoredpathDB.FillOpacity
FillOpacity_Data sql.NullFloat64
// Declation for basic field rectanchoredpathDB.Stroke
Stroke_Data sql.NullString
// Declation for basic field rectanchoredpathDB.StrokeOpacity
StrokeOpacity_Data sql.NullFloat64
// Declation for basic field rectanchoredpathDB.StrokeWidth
StrokeWidth_Data sql.NullFloat64
// Declation for basic field rectanchoredpathDB.StrokeDashArray
StrokeDashArray_Data sql.NullString
// Declation for basic field rectanchoredpathDB.StrokeDashArrayWhenSelected
StrokeDashArrayWhenSelected_Data sql.NullString
// Declation for basic field rectanchoredpathDB.Transform
Transform_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
RectAnchoredPathPointersEncoding
}
RectAnchoredPathDB describes a rectanchoredpath in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model rectanchoredpathDB
func (*RectAnchoredPathDB) CopyBasicFieldsFromRectAnchoredPath ¶
func (rectanchoredpathDB *RectAnchoredPathDB) CopyBasicFieldsFromRectAnchoredPath(rectanchoredpath *models.RectAnchoredPath)
CopyBasicFieldsFromRectAnchoredPath
func (*RectAnchoredPathDB) CopyBasicFieldsFromRectAnchoredPathWOP ¶
func (rectanchoredpathDB *RectAnchoredPathDB) CopyBasicFieldsFromRectAnchoredPathWOP(rectanchoredpath *RectAnchoredPathWOP)
CopyBasicFieldsFromRectAnchoredPathWOP
func (*RectAnchoredPathDB) CopyBasicFieldsFromRectAnchoredPath_WOP ¶
func (rectanchoredpathDB *RectAnchoredPathDB) CopyBasicFieldsFromRectAnchoredPath_WOP(rectanchoredpath *models.RectAnchoredPath_WOP)
CopyBasicFieldsFromRectAnchoredPath_WOP
func (*RectAnchoredPathDB) CopyBasicFieldsToRectAnchoredPath ¶
func (rectanchoredpathDB *RectAnchoredPathDB) CopyBasicFieldsToRectAnchoredPath(rectanchoredpath *models.RectAnchoredPath)
CopyBasicFieldsToRectAnchoredPath
func (*RectAnchoredPathDB) CopyBasicFieldsToRectAnchoredPathWOP ¶
func (rectanchoredpathDB *RectAnchoredPathDB) CopyBasicFieldsToRectAnchoredPathWOP(rectanchoredpath *RectAnchoredPathWOP)
CopyBasicFieldsToRectAnchoredPathWOP
func (*RectAnchoredPathDB) CopyBasicFieldsToRectAnchoredPath_WOP ¶
func (rectanchoredpathDB *RectAnchoredPathDB) CopyBasicFieldsToRectAnchoredPath_WOP(rectanchoredpath *models.RectAnchoredPath_WOP)
CopyBasicFieldsToRectAnchoredPath_WOP
func (*RectAnchoredPathDB) DecodePointers ¶
func (rectanchoredpathDB *RectAnchoredPathDB) DecodePointers(backRepo *BackRepoStruct, rectanchoredpath *models.RectAnchoredPath)
type RectAnchoredPathDBResponse ¶
type RectAnchoredPathDBResponse struct {
RectAnchoredPathDB
}
RectAnchoredPathDBResponse provides response swagger:response rectanchoredpathDBResponse
type RectAnchoredPathDBs ¶
type RectAnchoredPathDBs []RectAnchoredPathDB
RectAnchoredPathDBs arrays rectanchoredpathDBs swagger:response rectanchoredpathDBsResponse
type RectAnchoredPathPointersEncoding ¶
type RectAnchoredPathPointersEncoding struct {
}
RectAnchoredPathPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type RectAnchoredPathWOP ¶
type RectAnchoredPathWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
Definition string `xlsx:"2"`
X_Offset float64 `xlsx:"3"`
Y_Offset float64 `xlsx:"4"`
RectAnchorType models.RectAnchorType `xlsx:"5"`
ScalePropotionnally bool `xlsx:"6"`
AppliedScaling float64 `xlsx:"7"`
Color string `xlsx:"8"`
FillOpacity float64 `xlsx:"9"`
Stroke string `xlsx:"10"`
StrokeOpacity float64 `xlsx:"11"`
StrokeWidth float64 `xlsx:"12"`
StrokeDashArray string `xlsx:"13"`
StrokeDashArrayWhenSelected string `xlsx:"14"`
Transform string `xlsx:"15"`
}
RectAnchoredPathWOP is a RectAnchoredPath without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type RectAnchoredRectAPI ¶
type RectAnchoredRectAPI struct {
gorm.Model
models.RectAnchoredRect_WOP
// encoding of pointers
// for API, it cannot be embedded
RectAnchoredRectPointersEncoding RectAnchoredRectPointersEncoding
}
RectAnchoredRectAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model rectanchoredrectAPI
type RectAnchoredRectDB ¶
type RectAnchoredRectDB struct {
gorm.Model
// Declation for basic field rectanchoredrectDB.Name
Name_Data sql.NullString
// Declation for basic field rectanchoredrectDB.X
X_Data sql.NullFloat64
// Declation for basic field rectanchoredrectDB.Y
Y_Data sql.NullFloat64
// Declation for basic field rectanchoredrectDB.Width
Width_Data sql.NullFloat64
// Declation for basic field rectanchoredrectDB.Height
Height_Data sql.NullFloat64
// Declation for basic field rectanchoredrectDB.RX
RX_Data sql.NullFloat64
// Declation for basic field rectanchoredrectDB.X_Offset
X_Offset_Data sql.NullFloat64
// Declation for basic field rectanchoredrectDB.Y_Offset
Y_Offset_Data sql.NullFloat64
// Declation for basic field rectanchoredrectDB.RectAnchorType
RectAnchorType_Data sql.NullString
// Declation for basic field rectanchoredrectDB.WidthFollowRect
// provide the sql storage for the boolan
WidthFollowRect_Data sql.NullBool
// Declation for basic field rectanchoredrectDB.HeightFollowRect
// provide the sql storage for the boolan
HeightFollowRect_Data sql.NullBool
// Declation for basic field rectanchoredrectDB.HasToolTip
// provide the sql storage for the boolan
HasToolTip_Data sql.NullBool
// Declation for basic field rectanchoredrectDB.ToolTipText
ToolTipText_Data sql.NullString
// Declation for basic field rectanchoredrectDB.Color
Color_Data sql.NullString
// Declation for basic field rectanchoredrectDB.FillOpacity
FillOpacity_Data sql.NullFloat64
// Declation for basic field rectanchoredrectDB.Stroke
Stroke_Data sql.NullString
// Declation for basic field rectanchoredrectDB.StrokeOpacity
StrokeOpacity_Data sql.NullFloat64
// Declation for basic field rectanchoredrectDB.StrokeWidth
StrokeWidth_Data sql.NullFloat64
// Declation for basic field rectanchoredrectDB.StrokeDashArray
StrokeDashArray_Data sql.NullString
// Declation for basic field rectanchoredrectDB.StrokeDashArrayWhenSelected
StrokeDashArrayWhenSelected_Data sql.NullString
// Declation for basic field rectanchoredrectDB.Transform
Transform_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
RectAnchoredRectPointersEncoding
}
RectAnchoredRectDB describes a rectanchoredrect in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model rectanchoredrectDB
func (*RectAnchoredRectDB) CopyBasicFieldsFromRectAnchoredRect ¶
func (rectanchoredrectDB *RectAnchoredRectDB) CopyBasicFieldsFromRectAnchoredRect(rectanchoredrect *models.RectAnchoredRect)
CopyBasicFieldsFromRectAnchoredRect
func (*RectAnchoredRectDB) CopyBasicFieldsFromRectAnchoredRectWOP ¶
func (rectanchoredrectDB *RectAnchoredRectDB) CopyBasicFieldsFromRectAnchoredRectWOP(rectanchoredrect *RectAnchoredRectWOP)
CopyBasicFieldsFromRectAnchoredRectWOP
func (*RectAnchoredRectDB) CopyBasicFieldsFromRectAnchoredRect_WOP ¶
func (rectanchoredrectDB *RectAnchoredRectDB) CopyBasicFieldsFromRectAnchoredRect_WOP(rectanchoredrect *models.RectAnchoredRect_WOP)
CopyBasicFieldsFromRectAnchoredRect_WOP
func (*RectAnchoredRectDB) CopyBasicFieldsToRectAnchoredRect ¶
func (rectanchoredrectDB *RectAnchoredRectDB) CopyBasicFieldsToRectAnchoredRect(rectanchoredrect *models.RectAnchoredRect)
CopyBasicFieldsToRectAnchoredRect
func (*RectAnchoredRectDB) CopyBasicFieldsToRectAnchoredRectWOP ¶
func (rectanchoredrectDB *RectAnchoredRectDB) CopyBasicFieldsToRectAnchoredRectWOP(rectanchoredrect *RectAnchoredRectWOP)
CopyBasicFieldsToRectAnchoredRectWOP
func (*RectAnchoredRectDB) CopyBasicFieldsToRectAnchoredRect_WOP ¶
func (rectanchoredrectDB *RectAnchoredRectDB) CopyBasicFieldsToRectAnchoredRect_WOP(rectanchoredrect *models.RectAnchoredRect_WOP)
CopyBasicFieldsToRectAnchoredRect_WOP
func (*RectAnchoredRectDB) DecodePointers ¶
func (rectanchoredrectDB *RectAnchoredRectDB) DecodePointers(backRepo *BackRepoStruct, rectanchoredrect *models.RectAnchoredRect)
type RectAnchoredRectDBResponse ¶
type RectAnchoredRectDBResponse struct {
RectAnchoredRectDB
}
RectAnchoredRectDBResponse provides response swagger:response rectanchoredrectDBResponse
type RectAnchoredRectDBs ¶
type RectAnchoredRectDBs []RectAnchoredRectDB
RectAnchoredRectDBs arrays rectanchoredrectDBs swagger:response rectanchoredrectDBsResponse
type RectAnchoredRectPointersEncoding ¶
type RectAnchoredRectPointersEncoding struct {
}
RectAnchoredRectPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type RectAnchoredRectWOP ¶
type RectAnchoredRectWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
X float64 `xlsx:"2"`
Y float64 `xlsx:"3"`
Width float64 `xlsx:"4"`
Height float64 `xlsx:"5"`
RX float64 `xlsx:"6"`
X_Offset float64 `xlsx:"7"`
Y_Offset float64 `xlsx:"8"`
RectAnchorType models.RectAnchorType `xlsx:"9"`
WidthFollowRect bool `xlsx:"10"`
HeightFollowRect bool `xlsx:"11"`
HasToolTip bool `xlsx:"12"`
ToolTipText string `xlsx:"13"`
Color string `xlsx:"14"`
FillOpacity float64 `xlsx:"15"`
Stroke string `xlsx:"16"`
StrokeOpacity float64 `xlsx:"17"`
StrokeWidth float64 `xlsx:"18"`
StrokeDashArray string `xlsx:"19"`
StrokeDashArrayWhenSelected string `xlsx:"20"`
Transform string `xlsx:"21"`
}
RectAnchoredRectWOP is a RectAnchoredRect without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type RectAnchoredTextAPI ¶
type RectAnchoredTextAPI struct {
gorm.Model
models.RectAnchoredText_WOP
// encoding of pointers
// for API, it cannot be embedded
RectAnchoredTextPointersEncoding RectAnchoredTextPointersEncoding
}
RectAnchoredTextAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model rectanchoredtextAPI
type RectAnchoredTextDB ¶
type RectAnchoredTextDB struct {
gorm.Model
// Declation for basic field rectanchoredtextDB.Name
Name_Data sql.NullString
// Declation for basic field rectanchoredtextDB.Content
Content_Data sql.NullString
// Declation for basic field rectanchoredtextDB.FontWeight
FontWeight_Data sql.NullString
// Declation for basic field rectanchoredtextDB.FontSize
FontSize_Data sql.NullString
// Declation for basic field rectanchoredtextDB.FontStyle
FontStyle_Data sql.NullString
// Declation for basic field rectanchoredtextDB.LetterSpacing
LetterSpacing_Data sql.NullString
// Declation for basic field rectanchoredtextDB.FontFamily
FontFamily_Data sql.NullString
// Declation for basic field rectanchoredtextDB.WhiteSpace
WhiteSpace_Data sql.NullString
// Declation for basic field rectanchoredtextDB.X_Offset
X_Offset_Data sql.NullFloat64
// Declation for basic field rectanchoredtextDB.Y_Offset
Y_Offset_Data sql.NullFloat64
// Declation for basic field rectanchoredtextDB.RectAnchorType
RectAnchorType_Data sql.NullString
// Declation for basic field rectanchoredtextDB.TextAnchorType
TextAnchorType_Data sql.NullString
// Declation for basic field rectanchoredtextDB.DominantBaseline
DominantBaseline_Data sql.NullString
// Declation for basic field rectanchoredtextDB.WritingMode
WritingMode_Data sql.NullString
// Declation for basic field rectanchoredtextDB.Color
Color_Data sql.NullString
// Declation for basic field rectanchoredtextDB.FillOpacity
FillOpacity_Data sql.NullFloat64
// Declation for basic field rectanchoredtextDB.Stroke
Stroke_Data sql.NullString
// Declation for basic field rectanchoredtextDB.StrokeOpacity
StrokeOpacity_Data sql.NullFloat64
// Declation for basic field rectanchoredtextDB.StrokeWidth
StrokeWidth_Data sql.NullFloat64
// Declation for basic field rectanchoredtextDB.StrokeDashArray
StrokeDashArray_Data sql.NullString
// Declation for basic field rectanchoredtextDB.StrokeDashArrayWhenSelected
StrokeDashArrayWhenSelected_Data sql.NullString
// Declation for basic field rectanchoredtextDB.Transform
Transform_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
RectAnchoredTextPointersEncoding
}
RectAnchoredTextDB describes a rectanchoredtext in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model rectanchoredtextDB
func (*RectAnchoredTextDB) CopyBasicFieldsFromRectAnchoredText ¶
func (rectanchoredtextDB *RectAnchoredTextDB) CopyBasicFieldsFromRectAnchoredText(rectanchoredtext *models.RectAnchoredText)
CopyBasicFieldsFromRectAnchoredText
func (*RectAnchoredTextDB) CopyBasicFieldsFromRectAnchoredTextWOP ¶
func (rectanchoredtextDB *RectAnchoredTextDB) CopyBasicFieldsFromRectAnchoredTextWOP(rectanchoredtext *RectAnchoredTextWOP)
CopyBasicFieldsFromRectAnchoredTextWOP
func (*RectAnchoredTextDB) CopyBasicFieldsFromRectAnchoredText_WOP ¶
func (rectanchoredtextDB *RectAnchoredTextDB) CopyBasicFieldsFromRectAnchoredText_WOP(rectanchoredtext *models.RectAnchoredText_WOP)
CopyBasicFieldsFromRectAnchoredText_WOP
func (*RectAnchoredTextDB) CopyBasicFieldsToRectAnchoredText ¶
func (rectanchoredtextDB *RectAnchoredTextDB) CopyBasicFieldsToRectAnchoredText(rectanchoredtext *models.RectAnchoredText)
CopyBasicFieldsToRectAnchoredText
func (*RectAnchoredTextDB) CopyBasicFieldsToRectAnchoredTextWOP ¶
func (rectanchoredtextDB *RectAnchoredTextDB) CopyBasicFieldsToRectAnchoredTextWOP(rectanchoredtext *RectAnchoredTextWOP)
CopyBasicFieldsToRectAnchoredTextWOP
func (*RectAnchoredTextDB) CopyBasicFieldsToRectAnchoredText_WOP ¶
func (rectanchoredtextDB *RectAnchoredTextDB) CopyBasicFieldsToRectAnchoredText_WOP(rectanchoredtext *models.RectAnchoredText_WOP)
CopyBasicFieldsToRectAnchoredText_WOP
func (*RectAnchoredTextDB) DecodePointers ¶
func (rectanchoredtextDB *RectAnchoredTextDB) DecodePointers(backRepo *BackRepoStruct, rectanchoredtext *models.RectAnchoredText)
type RectAnchoredTextDBResponse ¶
type RectAnchoredTextDBResponse struct {
RectAnchoredTextDB
}
RectAnchoredTextDBResponse provides response swagger:response rectanchoredtextDBResponse
type RectAnchoredTextDBs ¶
type RectAnchoredTextDBs []RectAnchoredTextDB
RectAnchoredTextDBs arrays rectanchoredtextDBs swagger:response rectanchoredtextDBsResponse
type RectAnchoredTextPointersEncoding ¶
type RectAnchoredTextPointersEncoding struct {
// field Animates is a slice of pointers to another Struct (optional or 0..1)
Animates IntSlice `gorm:"type:TEXT"`
}
RectAnchoredTextPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type RectAnchoredTextWOP ¶
type RectAnchoredTextWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
Content string `xlsx:"2"`
FontWeight string `xlsx:"3"`
FontSize string `xlsx:"4"`
FontStyle string `xlsx:"5"`
LetterSpacing string `xlsx:"6"`
FontFamily string `xlsx:"7"`
WhiteSpace models.WhiteSpaceEnum `xlsx:"8"`
X_Offset float64 `xlsx:"9"`
Y_Offset float64 `xlsx:"10"`
RectAnchorType models.RectAnchorType `xlsx:"11"`
TextAnchorType models.TextAnchorType `xlsx:"12"`
DominantBaseline models.DominantBaselineType `xlsx:"13"`
WritingMode models.WritingMode `xlsx:"14"`
Color string `xlsx:"15"`
FillOpacity float64 `xlsx:"16"`
Stroke string `xlsx:"17"`
StrokeOpacity float64 `xlsx:"18"`
StrokeWidth float64 `xlsx:"19"`
StrokeDashArray string `xlsx:"20"`
StrokeDashArrayWhenSelected string `xlsx:"21"`
Transform string `xlsx:"22"`
}
RectAnchoredTextWOP is a RectAnchoredText without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type RectDB ¶
type RectDB struct {
gorm.Model
// Declation for basic field rectDB.Name
Name_Data sql.NullString
// Declation for basic field rectDB.X
X_Data sql.NullFloat64
// Declation for basic field rectDB.Y
Y_Data sql.NullFloat64
// Declation for basic field rectDB.Width
Width_Data sql.NullFloat64
// Declation for basic field rectDB.Height
Height_Data sql.NullFloat64
// Declation for basic field rectDB.RX
RX_Data sql.NullFloat64
// Declation for basic field rectDB.Color
Color_Data sql.NullString
// Declation for basic field rectDB.FillOpacity
FillOpacity_Data sql.NullFloat64
// Declation for basic field rectDB.Stroke
Stroke_Data sql.NullString
// Declation for basic field rectDB.StrokeOpacity
StrokeOpacity_Data sql.NullFloat64
// Declation for basic field rectDB.StrokeWidth
StrokeWidth_Data sql.NullFloat64
// Declation for basic field rectDB.StrokeDashArray
StrokeDashArray_Data sql.NullString
// Declation for basic field rectDB.StrokeDashArrayWhenSelected
StrokeDashArrayWhenSelected_Data sql.NullString
// Declation for basic field rectDB.Transform
Transform_Data sql.NullString
// Declation for basic field rectDB.IsSelectable
// provide the sql storage for the boolan
IsSelectable_Data sql.NullBool
// Declation for basic field rectDB.IsSelected
// provide the sql storage for the boolan
IsSelected_Data sql.NullBool
// Declation for basic field rectDB.CanHaveLeftHandle
// provide the sql storage for the boolan
CanHaveLeftHandle_Data sql.NullBool
// Declation for basic field rectDB.HasLeftHandle
// provide the sql storage for the boolan
HasLeftHandle_Data sql.NullBool
// Declation for basic field rectDB.CanHaveRightHandle
// provide the sql storage for the boolan
CanHaveRightHandle_Data sql.NullBool
// Declation for basic field rectDB.HasRightHandle
// provide the sql storage for the boolan
HasRightHandle_Data sql.NullBool
// Declation for basic field rectDB.CanHaveTopHandle
// provide the sql storage for the boolan
CanHaveTopHandle_Data sql.NullBool
// Declation for basic field rectDB.HasTopHandle
// provide the sql storage for the boolan
HasTopHandle_Data sql.NullBool
// Declation for basic field rectDB.IsScalingProportionally
// provide the sql storage for the boolan
IsScalingProportionally_Data sql.NullBool
// Declation for basic field rectDB.CanHaveBottomHandle
// provide the sql storage for the boolan
CanHaveBottomHandle_Data sql.NullBool
// Declation for basic field rectDB.HasBottomHandle
// provide the sql storage for the boolan
HasBottomHandle_Data sql.NullBool
// Declation for basic field rectDB.CanMoveHorizontaly
// provide the sql storage for the boolan
CanMoveHorizontaly_Data sql.NullBool
// Declation for basic field rectDB.CanMoveVerticaly
// provide the sql storage for the boolan
CanMoveVerticaly_Data sql.NullBool
// Declation for basic field rectDB.ChangeColorWhenHovered
// provide the sql storage for the boolan
ChangeColorWhenHovered_Data sql.NullBool
// Declation for basic field rectDB.ColorWhenHovered
ColorWhenHovered_Data sql.NullString
// Declation for basic field rectDB.OriginalColor
OriginalColor_Data sql.NullString
// Declation for basic field rectDB.FillOpacityWhenHovered
FillOpacityWhenHovered_Data sql.NullFloat64
// Declation for basic field rectDB.OriginalFillOpacity
OriginalFillOpacity_Data sql.NullFloat64
// Declation for basic field rectDB.HasToolTip
// provide the sql storage for the boolan
HasToolTip_Data sql.NullBool
// Declation for basic field rectDB.ToolTipText
ToolTipText_Data sql.NullString
// Declation for basic field rectDB.ToolTipPosition
ToolTipPosition_Data sql.NullString
// Declation for basic field rectDB.MouseX
MouseX_Data sql.NullFloat64
// Declation for basic field rectDB.MouseY
MouseY_Data sql.NullFloat64
// Declation for basic field rectDB.MouseEventKey
MouseEventKey_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
RectPointersEncoding
}
RectDB describes a rect in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model rectDB
func (*RectDB) CopyBasicFieldsFromRect ¶
CopyBasicFieldsFromRect
func (*RectDB) CopyBasicFieldsFromRectWOP ¶
CopyBasicFieldsFromRectWOP
func (*RectDB) CopyBasicFieldsFromRect_WOP ¶
CopyBasicFieldsFromRect_WOP
func (*RectDB) CopyBasicFieldsToRect ¶
CopyBasicFieldsToRect
func (*RectDB) CopyBasicFieldsToRectWOP ¶
CopyBasicFieldsToRectWOP
func (*RectDB) CopyBasicFieldsToRect_WOP ¶
CopyBasicFieldsToRect_WOP
func (*RectDB) DecodePointers ¶
func (rectDB *RectDB) DecodePointers(backRepo *BackRepoStruct, rect *models.Rect)
type RectDBResponse ¶
type RectDBResponse struct {
RectDB
}
RectDBResponse provides response swagger:response rectDBResponse
type RectLinkLinkAPI ¶
type RectLinkLinkAPI struct {
gorm.Model
models.RectLinkLink_WOP
// encoding of pointers
// for API, it cannot be embedded
RectLinkLinkPointersEncoding RectLinkLinkPointersEncoding
}
RectLinkLinkAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model rectlinklinkAPI
type RectLinkLinkDB ¶
type RectLinkLinkDB struct {
gorm.Model
// Declation for basic field rectlinklinkDB.Name
Name_Data sql.NullString
// Declation for basic field rectlinklinkDB.TargetAnchorPosition
TargetAnchorPosition_Data sql.NullFloat64
// Declation for basic field rectlinklinkDB.Color
Color_Data sql.NullString
// Declation for basic field rectlinklinkDB.FillOpacity
FillOpacity_Data sql.NullFloat64
// Declation for basic field rectlinklinkDB.Stroke
Stroke_Data sql.NullString
// Declation for basic field rectlinklinkDB.StrokeOpacity
StrokeOpacity_Data sql.NullFloat64
// Declation for basic field rectlinklinkDB.StrokeWidth
StrokeWidth_Data sql.NullFloat64
// Declation for basic field rectlinklinkDB.StrokeDashArray
StrokeDashArray_Data sql.NullString
// Declation for basic field rectlinklinkDB.StrokeDashArrayWhenSelected
StrokeDashArrayWhenSelected_Data sql.NullString
// Declation for basic field rectlinklinkDB.Transform
Transform_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
RectLinkLinkPointersEncoding
}
RectLinkLinkDB describes a rectlinklink in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model rectlinklinkDB
func (*RectLinkLinkDB) CopyBasicFieldsFromRectLinkLink ¶
func (rectlinklinkDB *RectLinkLinkDB) CopyBasicFieldsFromRectLinkLink(rectlinklink *models.RectLinkLink)
CopyBasicFieldsFromRectLinkLink
func (*RectLinkLinkDB) CopyBasicFieldsFromRectLinkLinkWOP ¶
func (rectlinklinkDB *RectLinkLinkDB) CopyBasicFieldsFromRectLinkLinkWOP(rectlinklink *RectLinkLinkWOP)
CopyBasicFieldsFromRectLinkLinkWOP
func (*RectLinkLinkDB) CopyBasicFieldsFromRectLinkLink_WOP ¶
func (rectlinklinkDB *RectLinkLinkDB) CopyBasicFieldsFromRectLinkLink_WOP(rectlinklink *models.RectLinkLink_WOP)
CopyBasicFieldsFromRectLinkLink_WOP
func (*RectLinkLinkDB) CopyBasicFieldsToRectLinkLink ¶
func (rectlinklinkDB *RectLinkLinkDB) CopyBasicFieldsToRectLinkLink(rectlinklink *models.RectLinkLink)
CopyBasicFieldsToRectLinkLink
func (*RectLinkLinkDB) CopyBasicFieldsToRectLinkLinkWOP ¶
func (rectlinklinkDB *RectLinkLinkDB) CopyBasicFieldsToRectLinkLinkWOP(rectlinklink *RectLinkLinkWOP)
CopyBasicFieldsToRectLinkLinkWOP
func (*RectLinkLinkDB) CopyBasicFieldsToRectLinkLink_WOP ¶
func (rectlinklinkDB *RectLinkLinkDB) CopyBasicFieldsToRectLinkLink_WOP(rectlinklink *models.RectLinkLink_WOP)
CopyBasicFieldsToRectLinkLink_WOP
func (*RectLinkLinkDB) DecodePointers ¶
func (rectlinklinkDB *RectLinkLinkDB) DecodePointers(backRepo *BackRepoStruct, rectlinklink *models.RectLinkLink)
type RectLinkLinkDBResponse ¶
type RectLinkLinkDBResponse struct {
RectLinkLinkDB
}
RectLinkLinkDBResponse provides response swagger:response rectlinklinkDBResponse
type RectLinkLinkDBs ¶
type RectLinkLinkDBs []RectLinkLinkDB
RectLinkLinkDBs arrays rectlinklinkDBs swagger:response rectlinklinkDBsResponse
type RectLinkLinkPointersEncoding ¶
type RectLinkLinkPointersEncoding struct {
// field Start is a pointer to another Struct (optional or 0..1)
// This field is generated into another field to enable AS ONE association
StartID sql.NullInt64
// field End is a pointer to another Struct (optional or 0..1)
// This field is generated into another field to enable AS ONE association
EndID sql.NullInt64
}
RectLinkLinkPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type RectLinkLinkWOP ¶
type RectLinkLinkWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
TargetAnchorPosition float64 `xlsx:"2"`
Color string `xlsx:"3"`
FillOpacity float64 `xlsx:"4"`
Stroke string `xlsx:"5"`
StrokeOpacity float64 `xlsx:"6"`
StrokeWidth float64 `xlsx:"7"`
StrokeDashArray string `xlsx:"8"`
StrokeDashArrayWhenSelected string `xlsx:"9"`
Transform string `xlsx:"10"`
}
RectLinkLinkWOP is a RectLinkLink without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type RectPointersEncoding ¶
type RectPointersEncoding struct {
// field HoveringTrigger is a slice of pointers to another Struct (optional or 0..1)
HoveringTrigger IntSlice `gorm:"type:TEXT"`
// field DisplayConditions is a slice of pointers to another Struct (optional or 0..1)
DisplayConditions IntSlice `gorm:"type:TEXT"`
// field Animations is a slice of pointers to another Struct (optional or 0..1)
Animations IntSlice `gorm:"type:TEXT"`
// field RectAnchoredTexts is a slice of pointers to another Struct (optional or 0..1)
RectAnchoredTexts IntSlice `gorm:"type:TEXT"`
// field RectAnchoredRects is a slice of pointers to another Struct (optional or 0..1)
RectAnchoredRects IntSlice `gorm:"type:TEXT"`
// field RectAnchoredPaths is a slice of pointers to another Struct (optional or 0..1)
RectAnchoredPaths IntSlice `gorm:"type:TEXT"`
}
RectPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type RectWOP ¶
type RectWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
X float64 `xlsx:"2"`
Y float64 `xlsx:"3"`
Width float64 `xlsx:"4"`
Height float64 `xlsx:"5"`
RX float64 `xlsx:"6"`
Color string `xlsx:"7"`
FillOpacity float64 `xlsx:"8"`
Stroke string `xlsx:"9"`
StrokeOpacity float64 `xlsx:"10"`
StrokeWidth float64 `xlsx:"11"`
StrokeDashArray string `xlsx:"12"`
StrokeDashArrayWhenSelected string `xlsx:"13"`
Transform string `xlsx:"14"`
IsSelectable bool `xlsx:"15"`
IsSelected bool `xlsx:"16"`
CanHaveLeftHandle bool `xlsx:"17"`
HasLeftHandle bool `xlsx:"18"`
CanHaveRightHandle bool `xlsx:"19"`
HasRightHandle bool `xlsx:"20"`
CanHaveTopHandle bool `xlsx:"21"`
HasTopHandle bool `xlsx:"22"`
IsScalingProportionally bool `xlsx:"23"`
CanHaveBottomHandle bool `xlsx:"24"`
HasBottomHandle bool `xlsx:"25"`
CanMoveHorizontaly bool `xlsx:"26"`
CanMoveVerticaly bool `xlsx:"27"`
ChangeColorWhenHovered bool `xlsx:"28"`
ColorWhenHovered string `xlsx:"29"`
OriginalColor string `xlsx:"30"`
FillOpacityWhenHovered float64 `xlsx:"31"`
OriginalFillOpacity float64 `xlsx:"32"`
HasToolTip bool `xlsx:"33"`
ToolTipText string `xlsx:"34"`
ToolTipPosition models.ToolTipPositionEnum `xlsx:"35"`
MouseX float64 `xlsx:"36"`
MouseY float64 `xlsx:"37"`
MouseEventKey models.MouseEventKey `xlsx:"38"`
}
RectWOP is a Rect without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type SVGAPI ¶
type SVGAPI struct {
gorm.Model
models.SVG_WOP
// encoding of pointers
// for API, it cannot be embedded
SVGPointersEncoding SVGPointersEncoding
}
SVGAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model svgAPI
type SVGDB ¶
type SVGDB struct {
gorm.Model
// Declation for basic field svgDB.Name
Name_Data sql.NullString
// Declation for basic field svgDB.DrawingState
DrawingState_Data sql.NullString
// Declation for basic field svgDB.IsEditable
// provide the sql storage for the boolan
IsEditable_Data sql.NullBool
// Declation for basic field svgDB.IsSVGFrontEndFileGenerated
// provide the sql storage for the boolan
IsSVGFrontEndFileGenerated_Data sql.NullBool
// Declation for basic field svgDB.IsSVGBackEndFileGenerated
// provide the sql storage for the boolan
IsSVGBackEndFileGenerated_Data sql.NullBool
// Declation for basic field svgDB.DefaultDirectoryForGeneratedImages
DefaultDirectoryForGeneratedImages_Data sql.NullString
// Declation for basic field svgDB.IsControlBannerHidden
// provide the sql storage for the boolan
IsControlBannerHidden_Data sql.NullBool
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
SVGPointersEncoding
}
SVGDB describes a svg in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model svgDB
func (*SVGDB) CopyBasicFieldsFromSVG ¶
CopyBasicFieldsFromSVG
func (*SVGDB) CopyBasicFieldsFromSVGWOP ¶
CopyBasicFieldsFromSVGWOP
func (*SVGDB) CopyBasicFieldsFromSVG_WOP ¶
CopyBasicFieldsFromSVG_WOP
func (*SVGDB) CopyBasicFieldsToSVG ¶
CopyBasicFieldsToSVG
func (*SVGDB) CopyBasicFieldsToSVGWOP ¶
CopyBasicFieldsToSVGWOP
func (*SVGDB) CopyBasicFieldsToSVG_WOP ¶
CopyBasicFieldsToSVG_WOP
func (*SVGDB) DecodePointers ¶
func (svgDB *SVGDB) DecodePointers(backRepo *BackRepoStruct, svg *models.SVG)
type SVGDBResponse ¶
type SVGDBResponse struct {
SVGDB
}
SVGDBResponse provides response swagger:response svgDBResponse
type SVGPointersEncoding ¶
type SVGPointersEncoding struct {
// field Layers is a slice of pointers to another Struct (optional or 0..1)
Layers IntSlice `gorm:"type:TEXT"`
// field StartRect is a pointer to another Struct (optional or 0..1)
// This field is generated into another field to enable AS ONE association
StartRectID sql.NullInt64
// field EndRect is a pointer to another Struct (optional or 0..1)
// This field is generated into another field to enable AS ONE association
EndRectID sql.NullInt64
}
SVGPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type SVGWOP ¶
type SVGWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
DrawingState models.DrawingState `xlsx:"2"`
IsEditable bool `xlsx:"3"`
IsSVGFrontEndFileGenerated bool `xlsx:"4"`
IsSVGBackEndFileGenerated bool `xlsx:"5"`
DefaultDirectoryForGeneratedImages string `xlsx:"6"`
IsControlBannerHidden bool `xlsx:"7"`
}
SVGWOP is a SVG without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type SvgTextAPI ¶
type SvgTextAPI struct {
gorm.Model
models.SvgText_WOP
// encoding of pointers
// for API, it cannot be embedded
SvgTextPointersEncoding SvgTextPointersEncoding
}
SvgTextAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model svgtextAPI
type SvgTextDB ¶
type SvgTextDB struct {
gorm.Model
// Declation for basic field svgtextDB.Name
Name_Data sql.NullString
// Declation for basic field svgtextDB.Text
Text_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
SvgTextPointersEncoding
}
SvgTextDB describes a svgtext in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model svgtextDB
func (*SvgTextDB) CopyBasicFieldsFromSvgText ¶
CopyBasicFieldsFromSvgText
func (*SvgTextDB) CopyBasicFieldsFromSvgTextWOP ¶
func (svgtextDB *SvgTextDB) CopyBasicFieldsFromSvgTextWOP(svgtext *SvgTextWOP)
CopyBasicFieldsFromSvgTextWOP
func (*SvgTextDB) CopyBasicFieldsFromSvgText_WOP ¶
func (svgtextDB *SvgTextDB) CopyBasicFieldsFromSvgText_WOP(svgtext *models.SvgText_WOP)
CopyBasicFieldsFromSvgText_WOP
func (*SvgTextDB) CopyBasicFieldsToSvgText ¶
CopyBasicFieldsToSvgText
func (*SvgTextDB) CopyBasicFieldsToSvgTextWOP ¶
func (svgtextDB *SvgTextDB) CopyBasicFieldsToSvgTextWOP(svgtext *SvgTextWOP)
CopyBasicFieldsToSvgTextWOP
func (*SvgTextDB) CopyBasicFieldsToSvgText_WOP ¶
func (svgtextDB *SvgTextDB) CopyBasicFieldsToSvgText_WOP(svgtext *models.SvgText_WOP)
CopyBasicFieldsToSvgText_WOP
func (*SvgTextDB) DecodePointers ¶
func (svgtextDB *SvgTextDB) DecodePointers(backRepo *BackRepoStruct, svgtext *models.SvgText)
type SvgTextDBResponse ¶
type SvgTextDBResponse struct {
SvgTextDB
}
SvgTextDBResponse provides response swagger:response svgtextDBResponse
type SvgTextDBs ¶
type SvgTextDBs []SvgTextDB
SvgTextDBs arrays svgtextDBs swagger:response svgtextDBsResponse
type SvgTextPointersEncoding ¶
type SvgTextPointersEncoding struct {
}
SvgTextPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type SvgTextWOP ¶
SvgTextWOP is a SvgText without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type TextAPI ¶
type TextAPI struct {
gorm.Model
models.Text_WOP
// encoding of pointers
// for API, it cannot be embedded
TextPointersEncoding TextPointersEncoding
}
TextAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model textAPI
type TextDB ¶
type TextDB struct {
gorm.Model
// Declation for basic field textDB.Name
Name_Data sql.NullString
// Declation for basic field textDB.X
X_Data sql.NullFloat64
// Declation for basic field textDB.Y
Y_Data sql.NullFloat64
// Declation for basic field textDB.Content
Content_Data sql.NullString
// Declation for basic field textDB.Color
Color_Data sql.NullString
// Declation for basic field textDB.FillOpacity
FillOpacity_Data sql.NullFloat64
// Declation for basic field textDB.Stroke
Stroke_Data sql.NullString
// Declation for basic field textDB.StrokeOpacity
StrokeOpacity_Data sql.NullFloat64
// Declation for basic field textDB.StrokeWidth
StrokeWidth_Data sql.NullFloat64
// Declation for basic field textDB.StrokeDashArray
StrokeDashArray_Data sql.NullString
// Declation for basic field textDB.StrokeDashArrayWhenSelected
StrokeDashArrayWhenSelected_Data sql.NullString
// Declation for basic field textDB.Transform
Transform_Data sql.NullString
// Declation for basic field textDB.FontWeight
FontWeight_Data sql.NullString
// Declation for basic field textDB.FontSize
FontSize_Data sql.NullString
// Declation for basic field textDB.FontStyle
FontStyle_Data sql.NullString
// Declation for basic field textDB.LetterSpacing
LetterSpacing_Data sql.NullString
// Declation for basic field textDB.FontFamily
FontFamily_Data sql.NullString
// Declation for basic field textDB.WhiteSpace
WhiteSpace_Data sql.NullString
// encoding of pointers
// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
TextPointersEncoding
}
TextDB describes a text in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model textDB
func (*TextDB) CopyBasicFieldsFromText ¶
CopyBasicFieldsFromText
func (*TextDB) CopyBasicFieldsFromTextWOP ¶
CopyBasicFieldsFromTextWOP
func (*TextDB) CopyBasicFieldsFromText_WOP ¶
CopyBasicFieldsFromText_WOP
func (*TextDB) CopyBasicFieldsToText ¶
CopyBasicFieldsToText
func (*TextDB) CopyBasicFieldsToTextWOP ¶
CopyBasicFieldsToTextWOP
func (*TextDB) CopyBasicFieldsToText_WOP ¶
CopyBasicFieldsToText_WOP
func (*TextDB) DecodePointers ¶
func (textDB *TextDB) DecodePointers(backRepo *BackRepoStruct, text *models.Text)
type TextDBResponse ¶
type TextDBResponse struct {
TextDB
}
TextDBResponse provides response swagger:response textDBResponse
type TextPointersEncoding ¶
type TextPointersEncoding struct {
// field Animates is a slice of pointers to another Struct (optional or 0..1)
Animates IntSlice `gorm:"type:TEXT"`
}
TextPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type TextWOP ¶
type TextWOP struct {
ID int `xlsx:"0"`
Name string `xlsx:"1"`
X float64 `xlsx:"2"`
Y float64 `xlsx:"3"`
Content string `xlsx:"4"`
Color string `xlsx:"5"`
FillOpacity float64 `xlsx:"6"`
Stroke string `xlsx:"7"`
StrokeOpacity float64 `xlsx:"8"`
StrokeWidth float64 `xlsx:"9"`
StrokeDashArray string `xlsx:"10"`
StrokeDashArrayWhenSelected string `xlsx:"11"`
Transform string `xlsx:"12"`
FontWeight string `xlsx:"13"`
FontSize string `xlsx:"14"`
FontStyle string `xlsx:"15"`
LetterSpacing string `xlsx:"16"`
FontFamily string `xlsx:"17"`
WhiteSpace models.WhiteSpaceEnum `xlsx:"18"`
}
TextWOP is a Text without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
Source Files
¶
- AnimateDB.go
- CircleDB.go
- ConditionDB.go
- ControlPointDB.go
- EllipseDB.go
- LayerDB.go
- LineDB.go
- LinkAnchoredTextDB.go
- LinkDB.go
- PathDB.go
- PointDB.go
- PolygoneDB.go
- PolylineDB.go
- RectAnchoredPathDB.go
- RectAnchoredRectDB.go
- RectAnchoredTextDB.go
- RectDB.go
- RectLinkLinkDB.go
- SVGDB.go
- SvgTextDB.go
- TextDB.go
- back_repo.go
- back_repo_data.go
- db.go
- get_instance_db_from_instance.go
- int_slice.go