orm

package
v0.0.0-...-ec7061d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 20 Imported by: 0

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

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

Constants

This section is empty.

Variables

View Source
var BackRepoButtonid_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

View Source
var BackRepoCellBooleanid_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

View Source
var BackRepoCellFloat64id_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

View Source
var BackRepoCellIconid_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

View Source
var BackRepoCellIntid_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

View Source
var BackRepoCellStringid_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

View Source
var BackRepoCellid_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

View Source
var BackRepoDisplayedColumnid_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

View Source
var BackRepoRowid_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

View Source
var BackRepoSVGIconid_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

View Source
var BackRepoTableid_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

View Source
var Button_Fields = []string{

	"ID",
	"Name",
	"Icon",
	"IsDisabled",
	"HasToolTip",
	"ToolTipText",
	"ToolTipPosition",
}
View Source
var CellBoolean_Fields = []string{

	"ID",
	"Name",
	"Value",
}
View Source
var CellFloat64_Fields = []string{

	"ID",
	"Name",
	"Value",
}
View Source
var CellIcon_Fields = []string{

	"ID",
	"Name",
	"Icon",
	"NeedsConfirmation",
	"ConfirmationMessage",
}
View Source
var CellInt_Fields = []string{

	"ID",
	"Name",
	"Value",
}
View Source
var CellString_Fields = []string{

	"ID",
	"Name",
	"Value",
}
View Source
var Cell_Fields = []string{

	"ID",
	"Name",
}
View Source
var DisplayedColumn_Fields = []string{

	"ID",
	"Name",
}
View Source
var Row_Fields = []string{

	"ID",
	"Name",
	"IsChecked",
}
View Source
var SVGIcon_Fields = []string{

	"ID",
	"Name",
	"SVG",
}
View Source
var Table_Fields = []string{

	"ID",
	"Name",
	"HasFiltering",
	"HasColumnSorting",
	"HasPaginator",
	"HasCheckableRows",
	"HasSaveButton",
	"SaveButtonLabel",
	"HasBulkDeleteButton",
	"BulkDeleteButtonTooltip",
	"CanDragDropRows",
	"HasCloseButton",
	"SavingInProgress",
	"NbOfStickyColumns",
}

Functions

func CopyBackRepoToBackRepoData

func CopyBackRepoToBackRepoData(backRepo *BackRepoStruct, backRepoData *BackRepoData)

Types

type BackRepoButtonStruct

type BackRepoButtonStruct struct {
	// stores ButtonDB according to their gorm ID
	Map_ButtonDBID_ButtonDB map[uint]*ButtonDB

	// stores ButtonDB ID according to Button address
	Map_ButtonPtr_ButtonDBID map[*models.Button]uint

	// stores Button according to their gorm ID
	Map_ButtonDBID_ButtonPtr map[uint]*models.Button
	// contains filtered or unexported fields
}

func (*BackRepoButtonStruct) Backup

func (backRepoButton *BackRepoButtonStruct) Backup(dirPath string)

Backup generates a json file from a slice of all ButtonDB instances in the backrepo

func (*BackRepoButtonStruct) BackupXL

func (backRepoButton *BackRepoButtonStruct) BackupXL(file *xlsx.File)

Backup generates a json file from a slice of all ButtonDB instances in the backrepo

func (*BackRepoButtonStruct) CheckoutPhaseOne

func (backRepoButton *BackRepoButtonStruct) CheckoutPhaseOne() (Error error)

BackRepoButton.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 (*BackRepoButtonStruct) CheckoutPhaseOneInstance

func (backRepoButton *BackRepoButtonStruct) CheckoutPhaseOneInstance(buttonDB *ButtonDB) (Error error)

CheckoutPhaseOneInstance takes a buttonDB that has been found in the DB, updates the backRepo and stages the models version of the buttonDB

func (*BackRepoButtonStruct) CheckoutPhaseTwo

func (backRepoButton *BackRepoButtonStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoButton.CheckoutPhaseTwo Checkouts all staged instances of Button to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoButtonStruct) CheckoutPhaseTwoInstance

func (backRepoButton *BackRepoButtonStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, buttonDB *ButtonDB) (Error error)

BackRepoButton.CheckoutPhaseTwoInstance Checkouts staged instances of Button to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoButtonStruct) CommitDeleteInstance

func (backRepoButton *BackRepoButtonStruct) CommitDeleteInstance(id uint) (Error error)

BackRepoButton.CommitDeleteInstance commits deletion of Button to the BackRepo

func (*BackRepoButtonStruct) CommitPhaseOne

func (backRepoButton *BackRepoButtonStruct) CommitPhaseOne(stage *models.Stage) (Error error)

BackRepoButton.CommitPhaseOne commits all staged instances of Button 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 (*BackRepoButtonStruct) CommitPhaseOneInstance

func (backRepoButton *BackRepoButtonStruct) CommitPhaseOneInstance(button *models.Button) (Error error)

BackRepoButton.CommitPhaseOneInstance commits button staged instances of Button 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 (*BackRepoButtonStruct) CommitPhaseTwo

func (backRepoButton *BackRepoButtonStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoButton.CommitPhaseTwo commits all staged instances of Button to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoButtonStruct) CommitPhaseTwoInstance

func (backRepoButton *BackRepoButtonStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, button *models.Button) (Error error)

BackRepoButton.CommitPhaseTwoInstance commits {{structname }} of models.Button to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoButtonStruct) GetButtonDBFromButtonPtr

func (backRepoButton *BackRepoButtonStruct) GetButtonDBFromButtonPtr(button *models.Button) (buttonDB *ButtonDB)

GetButtonDBFromButtonPtr is a handy function to access the back repo instance from the stage instance

func (*BackRepoButtonStruct) GetDB

func (backRepoButton *BackRepoButtonStruct) GetDB() db.DBInterface

func (*BackRepoButtonStruct) GetStage

func (backRepoButton *BackRepoButtonStruct) GetStage() (stage *models.Stage)

func (*BackRepoButtonStruct) ResetReversePointers

func (backRepoButton *BackRepoButtonStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)

BackRepoButton.ResetReversePointers commits all staged instances of Button to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoButtonStruct) ResetReversePointersInstance

func (backRepoButton *BackRepoButtonStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, button *models.Button) (Error error)

func (*BackRepoButtonStruct) RestorePhaseOne

func (backRepoButton *BackRepoButtonStruct) RestorePhaseOne(dirPath string)

RestorePhaseOne read the file "ButtonDB.json" in dirPath that stores an array of ButtonDB and stores it in the database the map BackRepoButtonid_atBckpTime_newID is updated accordingly

func (*BackRepoButtonStruct) RestorePhaseTwo

func (backRepoButton *BackRepoButtonStruct) RestorePhaseTwo()

RestorePhaseTwo uses all map BackRepo<Button>id_atBckpTime_newID to compute new index

func (*BackRepoButtonStruct) RestoreXLPhaseOne

func (backRepoButton *BackRepoButtonStruct) RestoreXLPhaseOne(file *xlsx.File)

RestoreXL from the "Button" sheet all ButtonDB instances

type BackRepoCellBooleanStruct

type BackRepoCellBooleanStruct struct {
	// stores CellBooleanDB according to their gorm ID
	Map_CellBooleanDBID_CellBooleanDB map[uint]*CellBooleanDB

	// stores CellBooleanDB ID according to CellBoolean address
	Map_CellBooleanPtr_CellBooleanDBID map[*models.CellBoolean]uint

	// stores CellBoolean according to their gorm ID
	Map_CellBooleanDBID_CellBooleanPtr map[uint]*models.CellBoolean
	// contains filtered or unexported fields
}

func (*BackRepoCellBooleanStruct) Backup

func (backRepoCellBoolean *BackRepoCellBooleanStruct) Backup(dirPath string)

Backup generates a json file from a slice of all CellBooleanDB instances in the backrepo

func (*BackRepoCellBooleanStruct) BackupXL

func (backRepoCellBoolean *BackRepoCellBooleanStruct) BackupXL(file *xlsx.File)

Backup generates a json file from a slice of all CellBooleanDB instances in the backrepo

func (*BackRepoCellBooleanStruct) CheckoutPhaseOne

func (backRepoCellBoolean *BackRepoCellBooleanStruct) CheckoutPhaseOne() (Error error)

BackRepoCellBoolean.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 (*BackRepoCellBooleanStruct) CheckoutPhaseOneInstance

func (backRepoCellBoolean *BackRepoCellBooleanStruct) CheckoutPhaseOneInstance(cellbooleanDB *CellBooleanDB) (Error error)

CheckoutPhaseOneInstance takes a cellbooleanDB that has been found in the DB, updates the backRepo and stages the models version of the cellbooleanDB

func (*BackRepoCellBooleanStruct) CheckoutPhaseTwo

func (backRepoCellBoolean *BackRepoCellBooleanStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoCellBoolean.CheckoutPhaseTwo Checkouts all staged instances of CellBoolean to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellBooleanStruct) CheckoutPhaseTwoInstance

func (backRepoCellBoolean *BackRepoCellBooleanStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, cellbooleanDB *CellBooleanDB) (Error error)

BackRepoCellBoolean.CheckoutPhaseTwoInstance Checkouts staged instances of CellBoolean to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellBooleanStruct) CommitDeleteInstance

func (backRepoCellBoolean *BackRepoCellBooleanStruct) CommitDeleteInstance(id uint) (Error error)

BackRepoCellBoolean.CommitDeleteInstance commits deletion of CellBoolean to the BackRepo

func (*BackRepoCellBooleanStruct) CommitPhaseOne

func (backRepoCellBoolean *BackRepoCellBooleanStruct) CommitPhaseOne(stage *models.Stage) (Error error)

BackRepoCellBoolean.CommitPhaseOne commits all staged instances of CellBoolean 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 (*BackRepoCellBooleanStruct) CommitPhaseOneInstance

func (backRepoCellBoolean *BackRepoCellBooleanStruct) CommitPhaseOneInstance(cellboolean *models.CellBoolean) (Error error)

BackRepoCellBoolean.CommitPhaseOneInstance commits cellboolean staged instances of CellBoolean 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 (*BackRepoCellBooleanStruct) CommitPhaseTwo

func (backRepoCellBoolean *BackRepoCellBooleanStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoCellBoolean.CommitPhaseTwo commits all staged instances of CellBoolean to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellBooleanStruct) CommitPhaseTwoInstance

func (backRepoCellBoolean *BackRepoCellBooleanStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cellboolean *models.CellBoolean) (Error error)

BackRepoCellBoolean.CommitPhaseTwoInstance commits {{structname }} of models.CellBoolean to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellBooleanStruct) GetCellBooleanDBFromCellBooleanPtr

func (backRepoCellBoolean *BackRepoCellBooleanStruct) GetCellBooleanDBFromCellBooleanPtr(cellboolean *models.CellBoolean) (cellbooleanDB *CellBooleanDB)

GetCellBooleanDBFromCellBooleanPtr is a handy function to access the back repo instance from the stage instance

func (*BackRepoCellBooleanStruct) GetDB

func (backRepoCellBoolean *BackRepoCellBooleanStruct) GetDB() db.DBInterface

func (*BackRepoCellBooleanStruct) GetStage

func (backRepoCellBoolean *BackRepoCellBooleanStruct) GetStage() (stage *models.Stage)

func (*BackRepoCellBooleanStruct) ResetReversePointers

func (backRepoCellBoolean *BackRepoCellBooleanStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)

BackRepoCellBoolean.ResetReversePointers commits all staged instances of CellBoolean to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellBooleanStruct) ResetReversePointersInstance

func (backRepoCellBoolean *BackRepoCellBooleanStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cellboolean *models.CellBoolean) (Error error)

func (*BackRepoCellBooleanStruct) RestorePhaseOne

func (backRepoCellBoolean *BackRepoCellBooleanStruct) RestorePhaseOne(dirPath string)

RestorePhaseOne read the file "CellBooleanDB.json" in dirPath that stores an array of CellBooleanDB and stores it in the database the map BackRepoCellBooleanid_atBckpTime_newID is updated accordingly

func (*BackRepoCellBooleanStruct) RestorePhaseTwo

func (backRepoCellBoolean *BackRepoCellBooleanStruct) RestorePhaseTwo()

RestorePhaseTwo uses all map BackRepo<CellBoolean>id_atBckpTime_newID to compute new index

func (*BackRepoCellBooleanStruct) RestoreXLPhaseOne

func (backRepoCellBoolean *BackRepoCellBooleanStruct) RestoreXLPhaseOne(file *xlsx.File)

RestoreXL from the "CellBoolean" sheet all CellBooleanDB instances

type BackRepoCellFloat64Struct

type BackRepoCellFloat64Struct struct {
	// stores CellFloat64DB according to their gorm ID
	Map_CellFloat64DBID_CellFloat64DB map[uint]*CellFloat64DB

	// stores CellFloat64DB ID according to CellFloat64 address
	Map_CellFloat64Ptr_CellFloat64DBID map[*models.CellFloat64]uint

	// stores CellFloat64 according to their gorm ID
	Map_CellFloat64DBID_CellFloat64Ptr map[uint]*models.CellFloat64
	// contains filtered or unexported fields
}

func (*BackRepoCellFloat64Struct) Backup

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) Backup(dirPath string)

Backup generates a json file from a slice of all CellFloat64DB instances in the backrepo

func (*BackRepoCellFloat64Struct) BackupXL

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) BackupXL(file *xlsx.File)

Backup generates a json file from a slice of all CellFloat64DB instances in the backrepo

func (*BackRepoCellFloat64Struct) CheckoutPhaseOne

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CheckoutPhaseOne() (Error error)

BackRepoCellFloat64.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 (*BackRepoCellFloat64Struct) CheckoutPhaseOneInstance

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CheckoutPhaseOneInstance(cellfloat64DB *CellFloat64DB) (Error error)

CheckoutPhaseOneInstance takes a cellfloat64DB that has been found in the DB, updates the backRepo and stages the models version of the cellfloat64DB

func (*BackRepoCellFloat64Struct) CheckoutPhaseTwo

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoCellFloat64.CheckoutPhaseTwo Checkouts all staged instances of CellFloat64 to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellFloat64Struct) CheckoutPhaseTwoInstance

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, cellfloat64DB *CellFloat64DB) (Error error)

BackRepoCellFloat64.CheckoutPhaseTwoInstance Checkouts staged instances of CellFloat64 to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellFloat64Struct) CommitDeleteInstance

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CommitDeleteInstance(id uint) (Error error)

BackRepoCellFloat64.CommitDeleteInstance commits deletion of CellFloat64 to the BackRepo

func (*BackRepoCellFloat64Struct) CommitPhaseOne

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CommitPhaseOne(stage *models.Stage) (Error error)

BackRepoCellFloat64.CommitPhaseOne commits all staged instances of CellFloat64 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 (*BackRepoCellFloat64Struct) CommitPhaseOneInstance

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CommitPhaseOneInstance(cellfloat64 *models.CellFloat64) (Error error)

BackRepoCellFloat64.CommitPhaseOneInstance commits cellfloat64 staged instances of CellFloat64 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 (*BackRepoCellFloat64Struct) CommitPhaseTwo

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoCellFloat64.CommitPhaseTwo commits all staged instances of CellFloat64 to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellFloat64Struct) CommitPhaseTwoInstance

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cellfloat64 *models.CellFloat64) (Error error)

BackRepoCellFloat64.CommitPhaseTwoInstance commits {{structname }} of models.CellFloat64 to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellFloat64Struct) GetCellFloat64DBFromCellFloat64Ptr

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) GetCellFloat64DBFromCellFloat64Ptr(cellfloat64 *models.CellFloat64) (cellfloat64DB *CellFloat64DB)

GetCellFloat64DBFromCellFloat64Ptr is a handy function to access the back repo instance from the stage instance

func (*BackRepoCellFloat64Struct) GetDB

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) GetDB() db.DBInterface

func (*BackRepoCellFloat64Struct) GetStage

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) GetStage() (stage *models.Stage)

func (*BackRepoCellFloat64Struct) ResetReversePointers

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)

BackRepoCellFloat64.ResetReversePointers commits all staged instances of CellFloat64 to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellFloat64Struct) ResetReversePointersInstance

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cellfloat64 *models.CellFloat64) (Error error)

func (*BackRepoCellFloat64Struct) RestorePhaseOne

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) RestorePhaseOne(dirPath string)

RestorePhaseOne read the file "CellFloat64DB.json" in dirPath that stores an array of CellFloat64DB and stores it in the database the map BackRepoCellFloat64id_atBckpTime_newID is updated accordingly

func (*BackRepoCellFloat64Struct) RestorePhaseTwo

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) RestorePhaseTwo()

RestorePhaseTwo uses all map BackRepo<CellFloat64>id_atBckpTime_newID to compute new index

func (*BackRepoCellFloat64Struct) RestoreXLPhaseOne

func (backRepoCellFloat64 *BackRepoCellFloat64Struct) RestoreXLPhaseOne(file *xlsx.File)

RestoreXL from the "CellFloat64" sheet all CellFloat64DB instances

type BackRepoCellIconStruct

type BackRepoCellIconStruct struct {
	// stores CellIconDB according to their gorm ID
	Map_CellIconDBID_CellIconDB map[uint]*CellIconDB

	// stores CellIconDB ID according to CellIcon address
	Map_CellIconPtr_CellIconDBID map[*models.CellIcon]uint

	// stores CellIcon according to their gorm ID
	Map_CellIconDBID_CellIconPtr map[uint]*models.CellIcon
	// contains filtered or unexported fields
}

func (*BackRepoCellIconStruct) Backup

func (backRepoCellIcon *BackRepoCellIconStruct) Backup(dirPath string)

Backup generates a json file from a slice of all CellIconDB instances in the backrepo

func (*BackRepoCellIconStruct) BackupXL

func (backRepoCellIcon *BackRepoCellIconStruct) BackupXL(file *xlsx.File)

Backup generates a json file from a slice of all CellIconDB instances in the backrepo

func (*BackRepoCellIconStruct) CheckoutPhaseOne

func (backRepoCellIcon *BackRepoCellIconStruct) CheckoutPhaseOne() (Error error)

BackRepoCellIcon.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 (*BackRepoCellIconStruct) CheckoutPhaseOneInstance

func (backRepoCellIcon *BackRepoCellIconStruct) CheckoutPhaseOneInstance(celliconDB *CellIconDB) (Error error)

CheckoutPhaseOneInstance takes a celliconDB that has been found in the DB, updates the backRepo and stages the models version of the celliconDB

func (*BackRepoCellIconStruct) CheckoutPhaseTwo

func (backRepoCellIcon *BackRepoCellIconStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoCellIcon.CheckoutPhaseTwo Checkouts all staged instances of CellIcon to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellIconStruct) CheckoutPhaseTwoInstance

func (backRepoCellIcon *BackRepoCellIconStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, celliconDB *CellIconDB) (Error error)

BackRepoCellIcon.CheckoutPhaseTwoInstance Checkouts staged instances of CellIcon to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellIconStruct) CommitDeleteInstance

func (backRepoCellIcon *BackRepoCellIconStruct) CommitDeleteInstance(id uint) (Error error)

BackRepoCellIcon.CommitDeleteInstance commits deletion of CellIcon to the BackRepo

func (*BackRepoCellIconStruct) CommitPhaseOne

func (backRepoCellIcon *BackRepoCellIconStruct) CommitPhaseOne(stage *models.Stage) (Error error)

BackRepoCellIcon.CommitPhaseOne commits all staged instances of CellIcon 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 (*BackRepoCellIconStruct) CommitPhaseOneInstance

func (backRepoCellIcon *BackRepoCellIconStruct) CommitPhaseOneInstance(cellicon *models.CellIcon) (Error error)

BackRepoCellIcon.CommitPhaseOneInstance commits cellicon staged instances of CellIcon 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 (*BackRepoCellIconStruct) CommitPhaseTwo

func (backRepoCellIcon *BackRepoCellIconStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoCellIcon.CommitPhaseTwo commits all staged instances of CellIcon to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellIconStruct) CommitPhaseTwoInstance

func (backRepoCellIcon *BackRepoCellIconStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cellicon *models.CellIcon) (Error error)

BackRepoCellIcon.CommitPhaseTwoInstance commits {{structname }} of models.CellIcon to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellIconStruct) GetCellIconDBFromCellIconPtr

func (backRepoCellIcon *BackRepoCellIconStruct) GetCellIconDBFromCellIconPtr(cellicon *models.CellIcon) (celliconDB *CellIconDB)

GetCellIconDBFromCellIconPtr is a handy function to access the back repo instance from the stage instance

func (*BackRepoCellIconStruct) GetDB

func (backRepoCellIcon *BackRepoCellIconStruct) GetDB() db.DBInterface

func (*BackRepoCellIconStruct) GetStage

func (backRepoCellIcon *BackRepoCellIconStruct) GetStage() (stage *models.Stage)

func (*BackRepoCellIconStruct) ResetReversePointers

func (backRepoCellIcon *BackRepoCellIconStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)

BackRepoCellIcon.ResetReversePointers commits all staged instances of CellIcon to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellIconStruct) ResetReversePointersInstance

func (backRepoCellIcon *BackRepoCellIconStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cellicon *models.CellIcon) (Error error)

func (*BackRepoCellIconStruct) RestorePhaseOne

func (backRepoCellIcon *BackRepoCellIconStruct) RestorePhaseOne(dirPath string)

RestorePhaseOne read the file "CellIconDB.json" in dirPath that stores an array of CellIconDB and stores it in the database the map BackRepoCellIconid_atBckpTime_newID is updated accordingly

func (*BackRepoCellIconStruct) RestorePhaseTwo

func (backRepoCellIcon *BackRepoCellIconStruct) RestorePhaseTwo()

RestorePhaseTwo uses all map BackRepo<CellIcon>id_atBckpTime_newID to compute new index

func (*BackRepoCellIconStruct) RestoreXLPhaseOne

func (backRepoCellIcon *BackRepoCellIconStruct) RestoreXLPhaseOne(file *xlsx.File)

RestoreXL from the "CellIcon" sheet all CellIconDB instances

type BackRepoCellIntStruct

type BackRepoCellIntStruct struct {
	// stores CellIntDB according to their gorm ID
	Map_CellIntDBID_CellIntDB map[uint]*CellIntDB

	// stores CellIntDB ID according to CellInt address
	Map_CellIntPtr_CellIntDBID map[*models.CellInt]uint

	// stores CellInt according to their gorm ID
	Map_CellIntDBID_CellIntPtr map[uint]*models.CellInt
	// contains filtered or unexported fields
}

func (*BackRepoCellIntStruct) Backup

func (backRepoCellInt *BackRepoCellIntStruct) Backup(dirPath string)

Backup generates a json file from a slice of all CellIntDB instances in the backrepo

func (*BackRepoCellIntStruct) BackupXL

func (backRepoCellInt *BackRepoCellIntStruct) BackupXL(file *xlsx.File)

Backup generates a json file from a slice of all CellIntDB instances in the backrepo

func (*BackRepoCellIntStruct) CheckoutPhaseOne

func (backRepoCellInt *BackRepoCellIntStruct) CheckoutPhaseOne() (Error error)

BackRepoCellInt.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 (*BackRepoCellIntStruct) CheckoutPhaseOneInstance

func (backRepoCellInt *BackRepoCellIntStruct) CheckoutPhaseOneInstance(cellintDB *CellIntDB) (Error error)

CheckoutPhaseOneInstance takes a cellintDB that has been found in the DB, updates the backRepo and stages the models version of the cellintDB

func (*BackRepoCellIntStruct) CheckoutPhaseTwo

func (backRepoCellInt *BackRepoCellIntStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoCellInt.CheckoutPhaseTwo Checkouts all staged instances of CellInt to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellIntStruct) CheckoutPhaseTwoInstance

func (backRepoCellInt *BackRepoCellIntStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, cellintDB *CellIntDB) (Error error)

BackRepoCellInt.CheckoutPhaseTwoInstance Checkouts staged instances of CellInt to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellIntStruct) CommitDeleteInstance

func (backRepoCellInt *BackRepoCellIntStruct) CommitDeleteInstance(id uint) (Error error)

BackRepoCellInt.CommitDeleteInstance commits deletion of CellInt to the BackRepo

func (*BackRepoCellIntStruct) CommitPhaseOne

func (backRepoCellInt *BackRepoCellIntStruct) CommitPhaseOne(stage *models.Stage) (Error error)

BackRepoCellInt.CommitPhaseOne commits all staged instances of CellInt 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 (*BackRepoCellIntStruct) CommitPhaseOneInstance

func (backRepoCellInt *BackRepoCellIntStruct) CommitPhaseOneInstance(cellint *models.CellInt) (Error error)

BackRepoCellInt.CommitPhaseOneInstance commits cellint staged instances of CellInt 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 (*BackRepoCellIntStruct) CommitPhaseTwo

func (backRepoCellInt *BackRepoCellIntStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoCellInt.CommitPhaseTwo commits all staged instances of CellInt to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellIntStruct) CommitPhaseTwoInstance

func (backRepoCellInt *BackRepoCellIntStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cellint *models.CellInt) (Error error)

BackRepoCellInt.CommitPhaseTwoInstance commits {{structname }} of models.CellInt to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellIntStruct) GetCellIntDBFromCellIntPtr

func (backRepoCellInt *BackRepoCellIntStruct) GetCellIntDBFromCellIntPtr(cellint *models.CellInt) (cellintDB *CellIntDB)

GetCellIntDBFromCellIntPtr is a handy function to access the back repo instance from the stage instance

func (*BackRepoCellIntStruct) GetDB

func (backRepoCellInt *BackRepoCellIntStruct) GetDB() db.DBInterface

func (*BackRepoCellIntStruct) GetStage

func (backRepoCellInt *BackRepoCellIntStruct) GetStage() (stage *models.Stage)

func (*BackRepoCellIntStruct) ResetReversePointers

func (backRepoCellInt *BackRepoCellIntStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)

BackRepoCellInt.ResetReversePointers commits all staged instances of CellInt to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellIntStruct) ResetReversePointersInstance

func (backRepoCellInt *BackRepoCellIntStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cellint *models.CellInt) (Error error)

func (*BackRepoCellIntStruct) RestorePhaseOne

func (backRepoCellInt *BackRepoCellIntStruct) RestorePhaseOne(dirPath string)

RestorePhaseOne read the file "CellIntDB.json" in dirPath that stores an array of CellIntDB and stores it in the database the map BackRepoCellIntid_atBckpTime_newID is updated accordingly

func (*BackRepoCellIntStruct) RestorePhaseTwo

func (backRepoCellInt *BackRepoCellIntStruct) RestorePhaseTwo()

RestorePhaseTwo uses all map BackRepo<CellInt>id_atBckpTime_newID to compute new index

func (*BackRepoCellIntStruct) RestoreXLPhaseOne

func (backRepoCellInt *BackRepoCellIntStruct) RestoreXLPhaseOne(file *xlsx.File)

RestoreXL from the "CellInt" sheet all CellIntDB instances

type BackRepoCellStringStruct

type BackRepoCellStringStruct struct {
	// stores CellStringDB according to their gorm ID
	Map_CellStringDBID_CellStringDB map[uint]*CellStringDB

	// stores CellStringDB ID according to CellString address
	Map_CellStringPtr_CellStringDBID map[*models.CellString]uint

	// stores CellString according to their gorm ID
	Map_CellStringDBID_CellStringPtr map[uint]*models.CellString
	// contains filtered or unexported fields
}

func (*BackRepoCellStringStruct) Backup

func (backRepoCellString *BackRepoCellStringStruct) Backup(dirPath string)

Backup generates a json file from a slice of all CellStringDB instances in the backrepo

func (*BackRepoCellStringStruct) BackupXL

func (backRepoCellString *BackRepoCellStringStruct) BackupXL(file *xlsx.File)

Backup generates a json file from a slice of all CellStringDB instances in the backrepo

func (*BackRepoCellStringStruct) CheckoutPhaseOne

func (backRepoCellString *BackRepoCellStringStruct) CheckoutPhaseOne() (Error error)

BackRepoCellString.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 (*BackRepoCellStringStruct) CheckoutPhaseOneInstance

func (backRepoCellString *BackRepoCellStringStruct) CheckoutPhaseOneInstance(cellstringDB *CellStringDB) (Error error)

CheckoutPhaseOneInstance takes a cellstringDB that has been found in the DB, updates the backRepo and stages the models version of the cellstringDB

func (*BackRepoCellStringStruct) CheckoutPhaseTwo

func (backRepoCellString *BackRepoCellStringStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoCellString.CheckoutPhaseTwo Checkouts all staged instances of CellString to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellStringStruct) CheckoutPhaseTwoInstance

func (backRepoCellString *BackRepoCellStringStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, cellstringDB *CellStringDB) (Error error)

BackRepoCellString.CheckoutPhaseTwoInstance Checkouts staged instances of CellString to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellStringStruct) CommitDeleteInstance

func (backRepoCellString *BackRepoCellStringStruct) CommitDeleteInstance(id uint) (Error error)

BackRepoCellString.CommitDeleteInstance commits deletion of CellString to the BackRepo

func (*BackRepoCellStringStruct) CommitPhaseOne

func (backRepoCellString *BackRepoCellStringStruct) CommitPhaseOne(stage *models.Stage) (Error error)

BackRepoCellString.CommitPhaseOne commits all staged instances of CellString 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 (*BackRepoCellStringStruct) CommitPhaseOneInstance

func (backRepoCellString *BackRepoCellStringStruct) CommitPhaseOneInstance(cellstring *models.CellString) (Error error)

BackRepoCellString.CommitPhaseOneInstance commits cellstring staged instances of CellString 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 (*BackRepoCellStringStruct) CommitPhaseTwo

func (backRepoCellString *BackRepoCellStringStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoCellString.CommitPhaseTwo commits all staged instances of CellString to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellStringStruct) CommitPhaseTwoInstance

func (backRepoCellString *BackRepoCellStringStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cellstring *models.CellString) (Error error)

BackRepoCellString.CommitPhaseTwoInstance commits {{structname }} of models.CellString to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellStringStruct) GetCellStringDBFromCellStringPtr

func (backRepoCellString *BackRepoCellStringStruct) GetCellStringDBFromCellStringPtr(cellstring *models.CellString) (cellstringDB *CellStringDB)

GetCellStringDBFromCellStringPtr is a handy function to access the back repo instance from the stage instance

func (*BackRepoCellStringStruct) GetDB

func (backRepoCellString *BackRepoCellStringStruct) GetDB() db.DBInterface

func (*BackRepoCellStringStruct) GetStage

func (backRepoCellString *BackRepoCellStringStruct) GetStage() (stage *models.Stage)

func (*BackRepoCellStringStruct) ResetReversePointers

func (backRepoCellString *BackRepoCellStringStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)

BackRepoCellString.ResetReversePointers commits all staged instances of CellString to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellStringStruct) ResetReversePointersInstance

func (backRepoCellString *BackRepoCellStringStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cellstring *models.CellString) (Error error)

func (*BackRepoCellStringStruct) RestorePhaseOne

func (backRepoCellString *BackRepoCellStringStruct) RestorePhaseOne(dirPath string)

RestorePhaseOne read the file "CellStringDB.json" in dirPath that stores an array of CellStringDB and stores it in the database the map BackRepoCellStringid_atBckpTime_newID is updated accordingly

func (*BackRepoCellStringStruct) RestorePhaseTwo

func (backRepoCellString *BackRepoCellStringStruct) RestorePhaseTwo()

RestorePhaseTwo uses all map BackRepo<CellString>id_atBckpTime_newID to compute new index

func (*BackRepoCellStringStruct) RestoreXLPhaseOne

func (backRepoCellString *BackRepoCellStringStruct) RestoreXLPhaseOne(file *xlsx.File)

RestoreXL from the "CellString" sheet all CellStringDB instances

type BackRepoCellStruct

type BackRepoCellStruct struct {
	// stores CellDB according to their gorm ID
	Map_CellDBID_CellDB map[uint]*CellDB

	// stores CellDB ID according to Cell address
	Map_CellPtr_CellDBID map[*models.Cell]uint

	// stores Cell according to their gorm ID
	Map_CellDBID_CellPtr map[uint]*models.Cell
	// contains filtered or unexported fields
}

func (*BackRepoCellStruct) Backup

func (backRepoCell *BackRepoCellStruct) Backup(dirPath string)

Backup generates a json file from a slice of all CellDB instances in the backrepo

func (*BackRepoCellStruct) BackupXL

func (backRepoCell *BackRepoCellStruct) BackupXL(file *xlsx.File)

Backup generates a json file from a slice of all CellDB instances in the backrepo

func (*BackRepoCellStruct) CheckoutPhaseOne

func (backRepoCell *BackRepoCellStruct) CheckoutPhaseOne() (Error error)

BackRepoCell.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 (*BackRepoCellStruct) CheckoutPhaseOneInstance

func (backRepoCell *BackRepoCellStruct) CheckoutPhaseOneInstance(cellDB *CellDB) (Error error)

CheckoutPhaseOneInstance takes a cellDB that has been found in the DB, updates the backRepo and stages the models version of the cellDB

func (*BackRepoCellStruct) CheckoutPhaseTwo

func (backRepoCell *BackRepoCellStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoCell.CheckoutPhaseTwo Checkouts all staged instances of Cell to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellStruct) CheckoutPhaseTwoInstance

func (backRepoCell *BackRepoCellStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, cellDB *CellDB) (Error error)

BackRepoCell.CheckoutPhaseTwoInstance Checkouts staged instances of Cell to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellStruct) CommitDeleteInstance

func (backRepoCell *BackRepoCellStruct) CommitDeleteInstance(id uint) (Error error)

BackRepoCell.CommitDeleteInstance commits deletion of Cell to the BackRepo

func (*BackRepoCellStruct) CommitPhaseOne

func (backRepoCell *BackRepoCellStruct) CommitPhaseOne(stage *models.Stage) (Error error)

BackRepoCell.CommitPhaseOne commits all staged instances of Cell 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 (*BackRepoCellStruct) CommitPhaseOneInstance

func (backRepoCell *BackRepoCellStruct) CommitPhaseOneInstance(cell *models.Cell) (Error error)

BackRepoCell.CommitPhaseOneInstance commits cell staged instances of Cell 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 (*BackRepoCellStruct) CommitPhaseTwo

func (backRepoCell *BackRepoCellStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoCell.CommitPhaseTwo commits all staged instances of Cell to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellStruct) CommitPhaseTwoInstance

func (backRepoCell *BackRepoCellStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cell *models.Cell) (Error error)

BackRepoCell.CommitPhaseTwoInstance commits {{structname }} of models.Cell to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellStruct) GetCellDBFromCellPtr

func (backRepoCell *BackRepoCellStruct) GetCellDBFromCellPtr(cell *models.Cell) (cellDB *CellDB)

GetCellDBFromCellPtr is a handy function to access the back repo instance from the stage instance

func (*BackRepoCellStruct) GetDB

func (backRepoCell *BackRepoCellStruct) GetDB() db.DBInterface

func (*BackRepoCellStruct) GetStage

func (backRepoCell *BackRepoCellStruct) GetStage() (stage *models.Stage)

func (*BackRepoCellStruct) ResetReversePointers

func (backRepoCell *BackRepoCellStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)

BackRepoCell.ResetReversePointers commits all staged instances of Cell to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoCellStruct) ResetReversePointersInstance

func (backRepoCell *BackRepoCellStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cell *models.Cell) (Error error)

func (*BackRepoCellStruct) RestorePhaseOne

func (backRepoCell *BackRepoCellStruct) RestorePhaseOne(dirPath string)

RestorePhaseOne read the file "CellDB.json" in dirPath that stores an array of CellDB and stores it in the database the map BackRepoCellid_atBckpTime_newID is updated accordingly

func (*BackRepoCellStruct) RestorePhaseTwo

func (backRepoCell *BackRepoCellStruct) RestorePhaseTwo()

RestorePhaseTwo uses all map BackRepo<Cell>id_atBckpTime_newID to compute new index

func (*BackRepoCellStruct) RestoreXLPhaseOne

func (backRepoCell *BackRepoCellStruct) RestoreXLPhaseOne(file *xlsx.File)

RestoreXL from the "Cell" sheet all CellDB instances

type BackRepoData

type BackRepoData struct {
	ButtonAPIs []*ButtonAPI

	CellAPIs []*CellAPI

	CellBooleanAPIs []*CellBooleanAPI

	CellFloat64APIs []*CellFloat64API

	CellIconAPIs []*CellIconAPI

	CellIntAPIs []*CellIntAPI

	CellStringAPIs []*CellStringAPI

	DisplayedColumnAPIs []*DisplayedColumnAPI

	RowAPIs []*RowAPI

	SVGIconAPIs []*SVGIconAPI

	TableAPIs []*TableAPI

	// index of the web socket for this stack type (unique among all stack instances)
	GONG__Index int
}

type BackRepoDisplayedColumnStruct

type BackRepoDisplayedColumnStruct struct {
	// stores DisplayedColumnDB according to their gorm ID
	Map_DisplayedColumnDBID_DisplayedColumnDB map[uint]*DisplayedColumnDB

	// stores DisplayedColumnDB ID according to DisplayedColumn address
	Map_DisplayedColumnPtr_DisplayedColumnDBID map[*models.DisplayedColumn]uint

	// stores DisplayedColumn according to their gorm ID
	Map_DisplayedColumnDBID_DisplayedColumnPtr map[uint]*models.DisplayedColumn
	// contains filtered or unexported fields
}

func (*BackRepoDisplayedColumnStruct) Backup

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) Backup(dirPath string)

Backup generates a json file from a slice of all DisplayedColumnDB instances in the backrepo

func (*BackRepoDisplayedColumnStruct) BackupXL

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) BackupXL(file *xlsx.File)

Backup generates a json file from a slice of all DisplayedColumnDB instances in the backrepo

func (*BackRepoDisplayedColumnStruct) CheckoutPhaseOne

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CheckoutPhaseOne() (Error error)

BackRepoDisplayedColumn.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 (*BackRepoDisplayedColumnStruct) CheckoutPhaseOneInstance

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CheckoutPhaseOneInstance(displayedcolumnDB *DisplayedColumnDB) (Error error)

CheckoutPhaseOneInstance takes a displayedcolumnDB that has been found in the DB, updates the backRepo and stages the models version of the displayedcolumnDB

func (*BackRepoDisplayedColumnStruct) CheckoutPhaseTwo

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoDisplayedColumn.CheckoutPhaseTwo Checkouts all staged instances of DisplayedColumn to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoDisplayedColumnStruct) CheckoutPhaseTwoInstance

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, displayedcolumnDB *DisplayedColumnDB) (Error error)

BackRepoDisplayedColumn.CheckoutPhaseTwoInstance Checkouts staged instances of DisplayedColumn to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoDisplayedColumnStruct) CommitDeleteInstance

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CommitDeleteInstance(id uint) (Error error)

BackRepoDisplayedColumn.CommitDeleteInstance commits deletion of DisplayedColumn to the BackRepo

func (*BackRepoDisplayedColumnStruct) CommitPhaseOne

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CommitPhaseOne(stage *models.Stage) (Error error)

BackRepoDisplayedColumn.CommitPhaseOne commits all staged instances of DisplayedColumn 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 (*BackRepoDisplayedColumnStruct) CommitPhaseOneInstance

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CommitPhaseOneInstance(displayedcolumn *models.DisplayedColumn) (Error error)

BackRepoDisplayedColumn.CommitPhaseOneInstance commits displayedcolumn staged instances of DisplayedColumn 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 (*BackRepoDisplayedColumnStruct) CommitPhaseTwo

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoDisplayedColumn.CommitPhaseTwo commits all staged instances of DisplayedColumn to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoDisplayedColumnStruct) CommitPhaseTwoInstance

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, displayedcolumn *models.DisplayedColumn) (Error error)

BackRepoDisplayedColumn.CommitPhaseTwoInstance commits {{structname }} of models.DisplayedColumn to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoDisplayedColumnStruct) GetDB

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) GetDB() db.DBInterface

func (*BackRepoDisplayedColumnStruct) GetDisplayedColumnDBFromDisplayedColumnPtr

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) GetDisplayedColumnDBFromDisplayedColumnPtr(displayedcolumn *models.DisplayedColumn) (displayedcolumnDB *DisplayedColumnDB)

GetDisplayedColumnDBFromDisplayedColumnPtr is a handy function to access the back repo instance from the stage instance

func (*BackRepoDisplayedColumnStruct) GetStage

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) GetStage() (stage *models.Stage)

func (*BackRepoDisplayedColumnStruct) ResetReversePointers

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)

BackRepoDisplayedColumn.ResetReversePointers commits all staged instances of DisplayedColumn to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoDisplayedColumnStruct) ResetReversePointersInstance

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, displayedcolumn *models.DisplayedColumn) (Error error)

func (*BackRepoDisplayedColumnStruct) RestorePhaseOne

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) RestorePhaseOne(dirPath string)

RestorePhaseOne read the file "DisplayedColumnDB.json" in dirPath that stores an array of DisplayedColumnDB and stores it in the database the map BackRepoDisplayedColumnid_atBckpTime_newID is updated accordingly

func (*BackRepoDisplayedColumnStruct) RestorePhaseTwo

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) RestorePhaseTwo()

RestorePhaseTwo uses all map BackRepo<DisplayedColumn>id_atBckpTime_newID to compute new index

func (*BackRepoDisplayedColumnStruct) RestoreXLPhaseOne

func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) RestoreXLPhaseOne(file *xlsx.File)

RestoreXL from the "DisplayedColumn" sheet all DisplayedColumnDB instances

type BackRepoRowStruct

type BackRepoRowStruct struct {
	// stores RowDB according to their gorm ID
	Map_RowDBID_RowDB map[uint]*RowDB

	// stores RowDB ID according to Row address
	Map_RowPtr_RowDBID map[*models.Row]uint

	// stores Row according to their gorm ID
	Map_RowDBID_RowPtr map[uint]*models.Row
	// contains filtered or unexported fields
}

func (*BackRepoRowStruct) Backup

func (backRepoRow *BackRepoRowStruct) Backup(dirPath string)

Backup generates a json file from a slice of all RowDB instances in the backrepo

func (*BackRepoRowStruct) BackupXL

func (backRepoRow *BackRepoRowStruct) BackupXL(file *xlsx.File)

Backup generates a json file from a slice of all RowDB instances in the backrepo

func (*BackRepoRowStruct) CheckoutPhaseOne

func (backRepoRow *BackRepoRowStruct) CheckoutPhaseOne() (Error error)

BackRepoRow.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 (*BackRepoRowStruct) CheckoutPhaseOneInstance

func (backRepoRow *BackRepoRowStruct) CheckoutPhaseOneInstance(rowDB *RowDB) (Error error)

CheckoutPhaseOneInstance takes a rowDB that has been found in the DB, updates the backRepo and stages the models version of the rowDB

func (*BackRepoRowStruct) CheckoutPhaseTwo

func (backRepoRow *BackRepoRowStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoRow.CheckoutPhaseTwo Checkouts all staged instances of Row to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoRowStruct) CheckoutPhaseTwoInstance

func (backRepoRow *BackRepoRowStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, rowDB *RowDB) (Error error)

BackRepoRow.CheckoutPhaseTwoInstance Checkouts staged instances of Row to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoRowStruct) CommitDeleteInstance

func (backRepoRow *BackRepoRowStruct) CommitDeleteInstance(id uint) (Error error)

BackRepoRow.CommitDeleteInstance commits deletion of Row to the BackRepo

func (*BackRepoRowStruct) CommitPhaseOne

func (backRepoRow *BackRepoRowStruct) CommitPhaseOne(stage *models.Stage) (Error error)

BackRepoRow.CommitPhaseOne commits all staged instances of Row 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 (*BackRepoRowStruct) CommitPhaseOneInstance

func (backRepoRow *BackRepoRowStruct) CommitPhaseOneInstance(row *models.Row) (Error error)

BackRepoRow.CommitPhaseOneInstance commits row staged instances of Row 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 (*BackRepoRowStruct) CommitPhaseTwo

func (backRepoRow *BackRepoRowStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoRow.CommitPhaseTwo commits all staged instances of Row to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoRowStruct) CommitPhaseTwoInstance

func (backRepoRow *BackRepoRowStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, row *models.Row) (Error error)

BackRepoRow.CommitPhaseTwoInstance commits {{structname }} of models.Row to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoRowStruct) GetDB

func (backRepoRow *BackRepoRowStruct) GetDB() db.DBInterface

func (*BackRepoRowStruct) GetRowDBFromRowPtr

func (backRepoRow *BackRepoRowStruct) GetRowDBFromRowPtr(row *models.Row) (rowDB *RowDB)

GetRowDBFromRowPtr is a handy function to access the back repo instance from the stage instance

func (*BackRepoRowStruct) GetStage

func (backRepoRow *BackRepoRowStruct) GetStage() (stage *models.Stage)

func (*BackRepoRowStruct) ResetReversePointers

func (backRepoRow *BackRepoRowStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)

BackRepoRow.ResetReversePointers commits all staged instances of Row to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoRowStruct) ResetReversePointersInstance

func (backRepoRow *BackRepoRowStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, row *models.Row) (Error error)

func (*BackRepoRowStruct) RestorePhaseOne

func (backRepoRow *BackRepoRowStruct) RestorePhaseOne(dirPath string)

RestorePhaseOne read the file "RowDB.json" in dirPath that stores an array of RowDB and stores it in the database the map BackRepoRowid_atBckpTime_newID is updated accordingly

func (*BackRepoRowStruct) RestorePhaseTwo

func (backRepoRow *BackRepoRowStruct) RestorePhaseTwo()

RestorePhaseTwo uses all map BackRepo<Row>id_atBckpTime_newID to compute new index

func (*BackRepoRowStruct) RestoreXLPhaseOne

func (backRepoRow *BackRepoRowStruct) RestoreXLPhaseOne(file *xlsx.File)

RestoreXL from the "Row" sheet all RowDB instances

type BackRepoSVGIconStruct

type BackRepoSVGIconStruct struct {
	// stores SVGIconDB according to their gorm ID
	Map_SVGIconDBID_SVGIconDB map[uint]*SVGIconDB

	// stores SVGIconDB ID according to SVGIcon address
	Map_SVGIconPtr_SVGIconDBID map[*models.SVGIcon]uint

	// stores SVGIcon according to their gorm ID
	Map_SVGIconDBID_SVGIconPtr map[uint]*models.SVGIcon
	// contains filtered or unexported fields
}

func (*BackRepoSVGIconStruct) Backup

func (backRepoSVGIcon *BackRepoSVGIconStruct) Backup(dirPath string)

Backup generates a json file from a slice of all SVGIconDB instances in the backrepo

func (*BackRepoSVGIconStruct) BackupXL

func (backRepoSVGIcon *BackRepoSVGIconStruct) BackupXL(file *xlsx.File)

Backup generates a json file from a slice of all SVGIconDB instances in the backrepo

func (*BackRepoSVGIconStruct) CheckoutPhaseOne

func (backRepoSVGIcon *BackRepoSVGIconStruct) CheckoutPhaseOne() (Error error)

BackRepoSVGIcon.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 (*BackRepoSVGIconStruct) CheckoutPhaseOneInstance

func (backRepoSVGIcon *BackRepoSVGIconStruct) CheckoutPhaseOneInstance(svgiconDB *SVGIconDB) (Error error)

CheckoutPhaseOneInstance takes a svgiconDB that has been found in the DB, updates the backRepo and stages the models version of the svgiconDB

func (*BackRepoSVGIconStruct) CheckoutPhaseTwo

func (backRepoSVGIcon *BackRepoSVGIconStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoSVGIcon.CheckoutPhaseTwo Checkouts all staged instances of SVGIcon to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoSVGIconStruct) CheckoutPhaseTwoInstance

func (backRepoSVGIcon *BackRepoSVGIconStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, svgiconDB *SVGIconDB) (Error error)

BackRepoSVGIcon.CheckoutPhaseTwoInstance Checkouts staged instances of SVGIcon to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoSVGIconStruct) CommitDeleteInstance

func (backRepoSVGIcon *BackRepoSVGIconStruct) CommitDeleteInstance(id uint) (Error error)

BackRepoSVGIcon.CommitDeleteInstance commits deletion of SVGIcon to the BackRepo

func (*BackRepoSVGIconStruct) CommitPhaseOne

func (backRepoSVGIcon *BackRepoSVGIconStruct) CommitPhaseOne(stage *models.Stage) (Error error)

BackRepoSVGIcon.CommitPhaseOne commits all staged instances of SVGIcon 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 (*BackRepoSVGIconStruct) CommitPhaseOneInstance

func (backRepoSVGIcon *BackRepoSVGIconStruct) CommitPhaseOneInstance(svgicon *models.SVGIcon) (Error error)

BackRepoSVGIcon.CommitPhaseOneInstance commits svgicon staged instances of SVGIcon 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 (*BackRepoSVGIconStruct) CommitPhaseTwo

func (backRepoSVGIcon *BackRepoSVGIconStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoSVGIcon.CommitPhaseTwo commits all staged instances of SVGIcon to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoSVGIconStruct) CommitPhaseTwoInstance

func (backRepoSVGIcon *BackRepoSVGIconStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, svgicon *models.SVGIcon) (Error error)

BackRepoSVGIcon.CommitPhaseTwoInstance commits {{structname }} of models.SVGIcon to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoSVGIconStruct) GetDB

func (backRepoSVGIcon *BackRepoSVGIconStruct) GetDB() db.DBInterface

func (*BackRepoSVGIconStruct) GetSVGIconDBFromSVGIconPtr

func (backRepoSVGIcon *BackRepoSVGIconStruct) GetSVGIconDBFromSVGIconPtr(svgicon *models.SVGIcon) (svgiconDB *SVGIconDB)

GetSVGIconDBFromSVGIconPtr is a handy function to access the back repo instance from the stage instance

func (*BackRepoSVGIconStruct) GetStage

func (backRepoSVGIcon *BackRepoSVGIconStruct) GetStage() (stage *models.Stage)

func (*BackRepoSVGIconStruct) ResetReversePointers

func (backRepoSVGIcon *BackRepoSVGIconStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)

BackRepoSVGIcon.ResetReversePointers commits all staged instances of SVGIcon to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoSVGIconStruct) ResetReversePointersInstance

func (backRepoSVGIcon *BackRepoSVGIconStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, svgicon *models.SVGIcon) (Error error)

func (*BackRepoSVGIconStruct) RestorePhaseOne

func (backRepoSVGIcon *BackRepoSVGIconStruct) RestorePhaseOne(dirPath string)

RestorePhaseOne read the file "SVGIconDB.json" in dirPath that stores an array of SVGIconDB and stores it in the database the map BackRepoSVGIconid_atBckpTime_newID is updated accordingly

func (*BackRepoSVGIconStruct) RestorePhaseTwo

func (backRepoSVGIcon *BackRepoSVGIconStruct) RestorePhaseTwo()

RestorePhaseTwo uses all map BackRepo<SVGIcon>id_atBckpTime_newID to compute new index

func (*BackRepoSVGIconStruct) RestoreXLPhaseOne

func (backRepoSVGIcon *BackRepoSVGIconStruct) RestoreXLPhaseOne(file *xlsx.File)

RestoreXL from the "SVGIcon" sheet all SVGIconDB instances

type BackRepoStruct

type BackRepoStruct struct {
	// insertion point for per struct back repo declarations
	BackRepoButton BackRepoButtonStruct

	BackRepoCell BackRepoCellStruct

	BackRepoCellBoolean BackRepoCellBooleanStruct

	BackRepoCellFloat64 BackRepoCellFloat64Struct

	BackRepoCellIcon BackRepoCellIconStruct

	BackRepoCellInt BackRepoCellIntStruct

	BackRepoCellString BackRepoCellStringStruct

	BackRepoDisplayedColumn BackRepoDisplayedColumnStruct

	BackRepoRow BackRepoRowStruct

	BackRepoSVGIcon BackRepoSVGIconStruct

	BackRepoTable BackRepoTableStruct

	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) CheckoutButton

func (backRepo *BackRepoStruct) CheckoutButton(button *models.Button)

CommitButton allows checkout of a single button (if already staged and with a BackRepo id)

func (*BackRepoStruct) CheckoutCell

func (backRepo *BackRepoStruct) CheckoutCell(cell *models.Cell)

CommitCell allows checkout of a single cell (if already staged and with a BackRepo id)

func (*BackRepoStruct) CheckoutCellBoolean

func (backRepo *BackRepoStruct) CheckoutCellBoolean(cellboolean *models.CellBoolean)

CommitCellBoolean allows checkout of a single cellboolean (if already staged and with a BackRepo id)

func (*BackRepoStruct) CheckoutCellFloat64

func (backRepo *BackRepoStruct) CheckoutCellFloat64(cellfloat64 *models.CellFloat64)

CommitCellFloat64 allows checkout of a single cellfloat64 (if already staged and with a BackRepo id)

func (*BackRepoStruct) CheckoutCellIcon

func (backRepo *BackRepoStruct) CheckoutCellIcon(cellicon *models.CellIcon)

CommitCellIcon allows checkout of a single cellicon (if already staged and with a BackRepo id)

func (*BackRepoStruct) CheckoutCellInt

func (backRepo *BackRepoStruct) CheckoutCellInt(cellint *models.CellInt)

CommitCellInt allows checkout of a single cellint (if already staged and with a BackRepo id)

func (*BackRepoStruct) CheckoutCellString

func (backRepo *BackRepoStruct) CheckoutCellString(cellstring *models.CellString)

CommitCellString allows checkout of a single cellstring (if already staged and with a BackRepo id)

func (*BackRepoStruct) CheckoutDisplayedColumn

func (backRepo *BackRepoStruct) CheckoutDisplayedColumn(displayedcolumn *models.DisplayedColumn)

CommitDisplayedColumn allows checkout of a single displayedcolumn (if already staged and with a BackRepo id)

func (*BackRepoStruct) CheckoutRow

func (backRepo *BackRepoStruct) CheckoutRow(row *models.Row)

CommitRow allows checkout of a single row (if already staged and with a BackRepo id)

func (*BackRepoStruct) CheckoutSVGIcon

func (backRepo *BackRepoStruct) CheckoutSVGIcon(svgicon *models.SVGIcon)

CommitSVGIcon allows checkout of a single svgicon (if already staged and with a BackRepo id)

func (*BackRepoStruct) CheckoutTable

func (backRepo *BackRepoStruct) CheckoutTable(table *models.Table)

CommitTable allows checkout of a single table (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) CommitButton

func (backRepo *BackRepoStruct) CommitButton(button *models.Button)

CommitButton allows commit of a single button (if already staged)

func (*BackRepoStruct) CommitCell

func (backRepo *BackRepoStruct) CommitCell(cell *models.Cell)

CommitCell allows commit of a single cell (if already staged)

func (*BackRepoStruct) CommitCellBoolean

func (backRepo *BackRepoStruct) CommitCellBoolean(cellboolean *models.CellBoolean)

CommitCellBoolean allows commit of a single cellboolean (if already staged)

func (*BackRepoStruct) CommitCellFloat64

func (backRepo *BackRepoStruct) CommitCellFloat64(cellfloat64 *models.CellFloat64)

CommitCellFloat64 allows commit of a single cellfloat64 (if already staged)

func (*BackRepoStruct) CommitCellIcon

func (backRepo *BackRepoStruct) CommitCellIcon(cellicon *models.CellIcon)

CommitCellIcon allows commit of a single cellicon (if already staged)

func (*BackRepoStruct) CommitCellInt

func (backRepo *BackRepoStruct) CommitCellInt(cellint *models.CellInt)

CommitCellInt allows commit of a single cellint (if already staged)

func (*BackRepoStruct) CommitCellString

func (backRepo *BackRepoStruct) CommitCellString(cellstring *models.CellString)

CommitCellString allows commit of a single cellstring (if already staged)

func (*BackRepoStruct) CommitDisplayedColumn

func (backRepo *BackRepoStruct) CommitDisplayedColumn(displayedcolumn *models.DisplayedColumn)

CommitDisplayedColumn allows commit of a single displayedcolumn (if already staged)

func (*BackRepoStruct) CommitRow

func (backRepo *BackRepoStruct) CommitRow(row *models.Row)

CommitRow allows commit of a single row (if already staged)

func (*BackRepoStruct) CommitSVGIcon

func (backRepo *BackRepoStruct) CommitSVGIcon(svgicon *models.SVGIcon)

CommitSVGIcon allows commit of a single svgicon (if already staged)

func (*BackRepoStruct) CommitTable

func (backRepo *BackRepoStruct) CommitTable(table *models.Table)

CommitTable allows commit of a single table (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 BackRepoTableStruct

type BackRepoTableStruct struct {
	// stores TableDB according to their gorm ID
	Map_TableDBID_TableDB map[uint]*TableDB

	// stores TableDB ID according to Table address
	Map_TablePtr_TableDBID map[*models.Table]uint

	// stores Table according to their gorm ID
	Map_TableDBID_TablePtr map[uint]*models.Table
	// contains filtered or unexported fields
}

func (*BackRepoTableStruct) Backup

func (backRepoTable *BackRepoTableStruct) Backup(dirPath string)

Backup generates a json file from a slice of all TableDB instances in the backrepo

func (*BackRepoTableStruct) BackupXL

func (backRepoTable *BackRepoTableStruct) BackupXL(file *xlsx.File)

Backup generates a json file from a slice of all TableDB instances in the backrepo

func (*BackRepoTableStruct) CheckoutPhaseOne

func (backRepoTable *BackRepoTableStruct) CheckoutPhaseOne() (Error error)

BackRepoTable.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 (*BackRepoTableStruct) CheckoutPhaseOneInstance

func (backRepoTable *BackRepoTableStruct) CheckoutPhaseOneInstance(tableDB *TableDB) (Error error)

CheckoutPhaseOneInstance takes a tableDB that has been found in the DB, updates the backRepo and stages the models version of the tableDB

func (*BackRepoTableStruct) CheckoutPhaseTwo

func (backRepoTable *BackRepoTableStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoTable.CheckoutPhaseTwo Checkouts all staged instances of Table to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoTableStruct) CheckoutPhaseTwoInstance

func (backRepoTable *BackRepoTableStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, tableDB *TableDB) (Error error)

BackRepoTable.CheckoutPhaseTwoInstance Checkouts staged instances of Table to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoTableStruct) CommitDeleteInstance

func (backRepoTable *BackRepoTableStruct) CommitDeleteInstance(id uint) (Error error)

BackRepoTable.CommitDeleteInstance commits deletion of Table to the BackRepo

func (*BackRepoTableStruct) CommitPhaseOne

func (backRepoTable *BackRepoTableStruct) CommitPhaseOne(stage *models.Stage) (Error error)

BackRepoTable.CommitPhaseOne commits all staged instances of Table 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 (*BackRepoTableStruct) CommitPhaseOneInstance

func (backRepoTable *BackRepoTableStruct) CommitPhaseOneInstance(table *models.Table) (Error error)

BackRepoTable.CommitPhaseOneInstance commits table staged instances of Table 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 (*BackRepoTableStruct) CommitPhaseTwo

func (backRepoTable *BackRepoTableStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)

BackRepoTable.CommitPhaseTwo commits all staged instances of Table to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoTableStruct) CommitPhaseTwoInstance

func (backRepoTable *BackRepoTableStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, table *models.Table) (Error error)

BackRepoTable.CommitPhaseTwoInstance commits {{structname }} of models.Table to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoTableStruct) GetDB

func (backRepoTable *BackRepoTableStruct) GetDB() db.DBInterface

func (*BackRepoTableStruct) GetStage

func (backRepoTable *BackRepoTableStruct) GetStage() (stage *models.Stage)

func (*BackRepoTableStruct) GetTableDBFromTablePtr

func (backRepoTable *BackRepoTableStruct) GetTableDBFromTablePtr(table *models.Table) (tableDB *TableDB)

GetTableDBFromTablePtr is a handy function to access the back repo instance from the stage instance

func (*BackRepoTableStruct) ResetReversePointers

func (backRepoTable *BackRepoTableStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)

BackRepoTable.ResetReversePointers commits all staged instances of Table to the BackRepo Phase Two is the update of instance with the field in the database

func (*BackRepoTableStruct) ResetReversePointersInstance

func (backRepoTable *BackRepoTableStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, table *models.Table) (Error error)

func (*BackRepoTableStruct) RestorePhaseOne

func (backRepoTable *BackRepoTableStruct) RestorePhaseOne(dirPath string)

RestorePhaseOne read the file "TableDB.json" in dirPath that stores an array of TableDB and stores it in the database the map BackRepoTableid_atBckpTime_newID is updated accordingly

func (*BackRepoTableStruct) RestorePhaseTwo

func (backRepoTable *BackRepoTableStruct) RestorePhaseTwo()

RestorePhaseTwo uses all map BackRepo<Table>id_atBckpTime_newID to compute new index

func (*BackRepoTableStruct) RestoreXLPhaseOne

func (backRepoTable *BackRepoTableStruct) RestoreXLPhaseOne(file *xlsx.File)

RestoreXL from the "Table" sheet all TableDB instances

type ButtonAPI

type ButtonAPI struct {
	gorm.Model

	models.Button_WOP

	// encoding of pointers
	// for API, it cannot be embedded
	ButtonPointersEncoding ButtonPointersEncoding
}

ButtonAPI 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 buttonAPI

type ButtonDB

type ButtonDB struct {
	gorm.Model

	// Declation for basic field buttonDB.Name
	Name_Data sql.NullString

	// Declation for basic field buttonDB.Icon
	Icon_Data sql.NullString

	// Declation for basic field buttonDB.IsDisabled
	// provide the sql storage for the boolan
	IsDisabled_Data sql.NullBool

	// Declation for basic field buttonDB.HasToolTip
	// provide the sql storage for the boolan
	HasToolTip_Data sql.NullBool

	// Declation for basic field buttonDB.ToolTipText
	ToolTipText_Data sql.NullString

	// Declation for basic field buttonDB.ToolTipPosition
	ToolTipPosition_Data sql.NullString

	// encoding of pointers
	// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
	ButtonPointersEncoding
}

ButtonDB describes a button 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 buttonDB

func (*ButtonDB) CopyBasicFieldsFromButton

func (buttonDB *ButtonDB) CopyBasicFieldsFromButton(button *models.Button)

CopyBasicFieldsFromButton

func (*ButtonDB) CopyBasicFieldsFromButtonWOP

func (buttonDB *ButtonDB) CopyBasicFieldsFromButtonWOP(button *ButtonWOP)

CopyBasicFieldsFromButtonWOP

func (*ButtonDB) CopyBasicFieldsFromButton_WOP

func (buttonDB *ButtonDB) CopyBasicFieldsFromButton_WOP(button *models.Button_WOP)

CopyBasicFieldsFromButton_WOP

func (*ButtonDB) CopyBasicFieldsToButton

func (buttonDB *ButtonDB) CopyBasicFieldsToButton(button *models.Button)

CopyBasicFieldsToButton

func (*ButtonDB) CopyBasicFieldsToButtonWOP

func (buttonDB *ButtonDB) CopyBasicFieldsToButtonWOP(button *ButtonWOP)

CopyBasicFieldsToButtonWOP

func (*ButtonDB) CopyBasicFieldsToButton_WOP

func (buttonDB *ButtonDB) CopyBasicFieldsToButton_WOP(button *models.Button_WOP)

CopyBasicFieldsToButton_WOP

func (*ButtonDB) DecodePointers

func (buttonDB *ButtonDB) DecodePointers(backRepo *BackRepoStruct, button *models.Button)

type ButtonDBResponse

type ButtonDBResponse struct {
	ButtonDB
}

ButtonDBResponse provides response swagger:response buttonDBResponse

type ButtonDBs

type ButtonDBs []ButtonDB

ButtonDBs arrays buttonDBs swagger:response buttonDBsResponse

type ButtonPointersEncoding

type ButtonPointersEncoding struct {

	// field SVGIcon is a pointer to another Struct (optional or 0..1)
	// This field is generated into another field to enable AS ONE association
	SVGIconID sql.NullInt64
}

ButtonPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct

type ButtonWOP

type ButtonWOP struct {
	ID int `xlsx:"0"`

	Name string `xlsx:"1"`

	Icon string `xlsx:"2"`

	IsDisabled bool `xlsx:"3"`

	HasToolTip bool `xlsx:"4"`

	ToolTipText string `xlsx:"5"`

	ToolTipPosition models.ToolTipPositionEnum `xlsx:"6"`
}

ButtonWOP is a Button without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint

type CellAPI

type CellAPI struct {
	gorm.Model

	models.Cell_WOP

	// encoding of pointers
	// for API, it cannot be embedded
	CellPointersEncoding CellPointersEncoding
}

CellAPI 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 cellAPI

type CellBooleanAPI

type CellBooleanAPI struct {
	gorm.Model

	models.CellBoolean_WOP

	// encoding of pointers
	// for API, it cannot be embedded
	CellBooleanPointersEncoding CellBooleanPointersEncoding
}

CellBooleanAPI 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 cellbooleanAPI

type CellBooleanDB

type CellBooleanDB struct {
	gorm.Model

	// Declation for basic field cellbooleanDB.Name
	Name_Data sql.NullString

	// Declation for basic field cellbooleanDB.Value
	// provide the sql storage for the boolan
	Value_Data sql.NullBool

	// encoding of pointers
	// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
	CellBooleanPointersEncoding
}

CellBooleanDB describes a cellboolean 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 cellbooleanDB

func (*CellBooleanDB) CopyBasicFieldsFromCellBoolean

func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsFromCellBoolean(cellboolean *models.CellBoolean)

CopyBasicFieldsFromCellBoolean

func (*CellBooleanDB) CopyBasicFieldsFromCellBooleanWOP

func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsFromCellBooleanWOP(cellboolean *CellBooleanWOP)

CopyBasicFieldsFromCellBooleanWOP

func (*CellBooleanDB) CopyBasicFieldsFromCellBoolean_WOP

func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsFromCellBoolean_WOP(cellboolean *models.CellBoolean_WOP)

CopyBasicFieldsFromCellBoolean_WOP

func (*CellBooleanDB) CopyBasicFieldsToCellBoolean

func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsToCellBoolean(cellboolean *models.CellBoolean)

CopyBasicFieldsToCellBoolean

func (*CellBooleanDB) CopyBasicFieldsToCellBooleanWOP

func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsToCellBooleanWOP(cellboolean *CellBooleanWOP)

CopyBasicFieldsToCellBooleanWOP

func (*CellBooleanDB) CopyBasicFieldsToCellBoolean_WOP

func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsToCellBoolean_WOP(cellboolean *models.CellBoolean_WOP)

CopyBasicFieldsToCellBoolean_WOP

func (*CellBooleanDB) DecodePointers

func (cellbooleanDB *CellBooleanDB) DecodePointers(backRepo *BackRepoStruct, cellboolean *models.CellBoolean)

type CellBooleanDBResponse

type CellBooleanDBResponse struct {
	CellBooleanDB
}

CellBooleanDBResponse provides response swagger:response cellbooleanDBResponse

type CellBooleanDBs

type CellBooleanDBs []CellBooleanDB

CellBooleanDBs arrays cellbooleanDBs swagger:response cellbooleanDBsResponse

type CellBooleanPointersEncoding

type CellBooleanPointersEncoding struct {
}

CellBooleanPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct

type CellBooleanWOP

type CellBooleanWOP struct {
	ID int `xlsx:"0"`

	Name string `xlsx:"1"`

	Value bool `xlsx:"2"`
}

CellBooleanWOP is a CellBoolean without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint

type CellDB

type CellDB struct {
	gorm.Model

	// Declation for basic field cellDB.Name
	Name_Data sql.NullString

	// encoding of pointers
	// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
	CellPointersEncoding
}

CellDB describes a cell 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 cellDB

func (*CellDB) CopyBasicFieldsFromCell

func (cellDB *CellDB) CopyBasicFieldsFromCell(cell *models.Cell)

CopyBasicFieldsFromCell

func (*CellDB) CopyBasicFieldsFromCellWOP

func (cellDB *CellDB) CopyBasicFieldsFromCellWOP(cell *CellWOP)

CopyBasicFieldsFromCellWOP

func (*CellDB) CopyBasicFieldsFromCell_WOP

func (cellDB *CellDB) CopyBasicFieldsFromCell_WOP(cell *models.Cell_WOP)

CopyBasicFieldsFromCell_WOP

func (*CellDB) CopyBasicFieldsToCell

func (cellDB *CellDB) CopyBasicFieldsToCell(cell *models.Cell)

CopyBasicFieldsToCell

func (*CellDB) CopyBasicFieldsToCellWOP

func (cellDB *CellDB) CopyBasicFieldsToCellWOP(cell *CellWOP)

CopyBasicFieldsToCellWOP

func (*CellDB) CopyBasicFieldsToCell_WOP

func (cellDB *CellDB) CopyBasicFieldsToCell_WOP(cell *models.Cell_WOP)

CopyBasicFieldsToCell_WOP

func (*CellDB) DecodePointers

func (cellDB *CellDB) DecodePointers(backRepo *BackRepoStruct, cell *models.Cell)

type CellDBResponse

type CellDBResponse struct {
	CellDB
}

CellDBResponse provides response swagger:response cellDBResponse

type CellDBs

type CellDBs []CellDB

CellDBs arrays cellDBs swagger:response cellDBsResponse

type CellFloat64API

type CellFloat64API struct {
	gorm.Model

	models.CellFloat64_WOP

	// encoding of pointers
	// for API, it cannot be embedded
	CellFloat64PointersEncoding CellFloat64PointersEncoding
}

CellFloat64API 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 cellfloat64API

type CellFloat64DB

type CellFloat64DB struct {
	gorm.Model

	// Declation for basic field cellfloat64DB.Name
	Name_Data sql.NullString

	// Declation for basic field cellfloat64DB.Value
	Value_Data sql.NullFloat64

	// encoding of pointers
	// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
	CellFloat64PointersEncoding
}

CellFloat64DB describes a cellfloat64 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 cellfloat64DB

func (*CellFloat64DB) CopyBasicFieldsFromCellFloat64

func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsFromCellFloat64(cellfloat64 *models.CellFloat64)

CopyBasicFieldsFromCellFloat64

func (*CellFloat64DB) CopyBasicFieldsFromCellFloat64WOP

func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsFromCellFloat64WOP(cellfloat64 *CellFloat64WOP)

CopyBasicFieldsFromCellFloat64WOP

func (*CellFloat64DB) CopyBasicFieldsFromCellFloat64_WOP

func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsFromCellFloat64_WOP(cellfloat64 *models.CellFloat64_WOP)

CopyBasicFieldsFromCellFloat64_WOP

func (*CellFloat64DB) CopyBasicFieldsToCellFloat64

func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsToCellFloat64(cellfloat64 *models.CellFloat64)

CopyBasicFieldsToCellFloat64

func (*CellFloat64DB) CopyBasicFieldsToCellFloat64WOP

func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsToCellFloat64WOP(cellfloat64 *CellFloat64WOP)

CopyBasicFieldsToCellFloat64WOP

func (*CellFloat64DB) CopyBasicFieldsToCellFloat64_WOP

func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsToCellFloat64_WOP(cellfloat64 *models.CellFloat64_WOP)

CopyBasicFieldsToCellFloat64_WOP

func (*CellFloat64DB) DecodePointers

func (cellfloat64DB *CellFloat64DB) DecodePointers(backRepo *BackRepoStruct, cellfloat64 *models.CellFloat64)

type CellFloat64DBResponse

type CellFloat64DBResponse struct {
	CellFloat64DB
}

CellFloat64DBResponse provides response swagger:response cellfloat64DBResponse

type CellFloat64DBs

type CellFloat64DBs []CellFloat64DB

CellFloat64DBs arrays cellfloat64DBs swagger:response cellfloat64DBsResponse

type CellFloat64PointersEncoding

type CellFloat64PointersEncoding struct {
}

CellFloat64PointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct

type CellFloat64WOP

type CellFloat64WOP struct {
	ID int `xlsx:"0"`

	Name string `xlsx:"1"`

	Value float64 `xlsx:"2"`
}

CellFloat64WOP is a CellFloat64 without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint

type CellIconAPI

type CellIconAPI struct {
	gorm.Model

	models.CellIcon_WOP

	// encoding of pointers
	// for API, it cannot be embedded
	CellIconPointersEncoding CellIconPointersEncoding
}

CellIconAPI 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 celliconAPI

type CellIconDB

type CellIconDB struct {
	gorm.Model

	// Declation for basic field celliconDB.Name
	Name_Data sql.NullString

	// Declation for basic field celliconDB.Icon
	Icon_Data sql.NullString

	// Declation for basic field celliconDB.NeedsConfirmation
	// provide the sql storage for the boolan
	NeedsConfirmation_Data sql.NullBool

	// Declation for basic field celliconDB.ConfirmationMessage
	ConfirmationMessage_Data sql.NullString

	// encoding of pointers
	// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
	CellIconPointersEncoding
}

CellIconDB describes a cellicon 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 celliconDB

func (*CellIconDB) CopyBasicFieldsFromCellIcon

func (celliconDB *CellIconDB) CopyBasicFieldsFromCellIcon(cellicon *models.CellIcon)

CopyBasicFieldsFromCellIcon

func (*CellIconDB) CopyBasicFieldsFromCellIconWOP

func (celliconDB *CellIconDB) CopyBasicFieldsFromCellIconWOP(cellicon *CellIconWOP)

CopyBasicFieldsFromCellIconWOP

func (*CellIconDB) CopyBasicFieldsFromCellIcon_WOP

func (celliconDB *CellIconDB) CopyBasicFieldsFromCellIcon_WOP(cellicon *models.CellIcon_WOP)

CopyBasicFieldsFromCellIcon_WOP

func (*CellIconDB) CopyBasicFieldsToCellIcon

func (celliconDB *CellIconDB) CopyBasicFieldsToCellIcon(cellicon *models.CellIcon)

CopyBasicFieldsToCellIcon

func (*CellIconDB) CopyBasicFieldsToCellIconWOP

func (celliconDB *CellIconDB) CopyBasicFieldsToCellIconWOP(cellicon *CellIconWOP)

CopyBasicFieldsToCellIconWOP

func (*CellIconDB) CopyBasicFieldsToCellIcon_WOP

func (celliconDB *CellIconDB) CopyBasicFieldsToCellIcon_WOP(cellicon *models.CellIcon_WOP)

CopyBasicFieldsToCellIcon_WOP

func (*CellIconDB) DecodePointers

func (celliconDB *CellIconDB) DecodePointers(backRepo *BackRepoStruct, cellicon *models.CellIcon)

type CellIconDBResponse

type CellIconDBResponse struct {
	CellIconDB
}

CellIconDBResponse provides response swagger:response celliconDBResponse

type CellIconDBs

type CellIconDBs []CellIconDB

CellIconDBs arrays celliconDBs swagger:response celliconDBsResponse

type CellIconPointersEncoding

type CellIconPointersEncoding struct {
}

CellIconPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct

type CellIconWOP

type CellIconWOP struct {
	ID int `xlsx:"0"`

	Name string `xlsx:"1"`

	Icon string `xlsx:"2"`

	NeedsConfirmation bool `xlsx:"3"`

	ConfirmationMessage string `xlsx:"4"`
}

CellIconWOP is a CellIcon without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint

type CellIntAPI

type CellIntAPI struct {
	gorm.Model

	models.CellInt_WOP

	// encoding of pointers
	// for API, it cannot be embedded
	CellIntPointersEncoding CellIntPointersEncoding
}

CellIntAPI 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 cellintAPI

type CellIntDB

type CellIntDB struct {
	gorm.Model

	// Declation for basic field cellintDB.Name
	Name_Data sql.NullString

	// Declation for basic field cellintDB.Value
	Value_Data sql.NullInt64

	// encoding of pointers
	// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
	CellIntPointersEncoding
}

CellIntDB describes a cellint 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 cellintDB

func (*CellIntDB) CopyBasicFieldsFromCellInt

func (cellintDB *CellIntDB) CopyBasicFieldsFromCellInt(cellint *models.CellInt)

CopyBasicFieldsFromCellInt

func (*CellIntDB) CopyBasicFieldsFromCellIntWOP

func (cellintDB *CellIntDB) CopyBasicFieldsFromCellIntWOP(cellint *CellIntWOP)

CopyBasicFieldsFromCellIntWOP

func (*CellIntDB) CopyBasicFieldsFromCellInt_WOP

func (cellintDB *CellIntDB) CopyBasicFieldsFromCellInt_WOP(cellint *models.CellInt_WOP)

CopyBasicFieldsFromCellInt_WOP

func (*CellIntDB) CopyBasicFieldsToCellInt

func (cellintDB *CellIntDB) CopyBasicFieldsToCellInt(cellint *models.CellInt)

CopyBasicFieldsToCellInt

func (*CellIntDB) CopyBasicFieldsToCellIntWOP

func (cellintDB *CellIntDB) CopyBasicFieldsToCellIntWOP(cellint *CellIntWOP)

CopyBasicFieldsToCellIntWOP

func (*CellIntDB) CopyBasicFieldsToCellInt_WOP

func (cellintDB *CellIntDB) CopyBasicFieldsToCellInt_WOP(cellint *models.CellInt_WOP)

CopyBasicFieldsToCellInt_WOP

func (*CellIntDB) DecodePointers

func (cellintDB *CellIntDB) DecodePointers(backRepo *BackRepoStruct, cellint *models.CellInt)

type CellIntDBResponse

type CellIntDBResponse struct {
	CellIntDB
}

CellIntDBResponse provides response swagger:response cellintDBResponse

type CellIntDBs

type CellIntDBs []CellIntDB

CellIntDBs arrays cellintDBs swagger:response cellintDBsResponse

type CellIntPointersEncoding

type CellIntPointersEncoding struct {
}

CellIntPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct

type CellIntWOP

type CellIntWOP struct {
	ID int `xlsx:"0"`

	Name string `xlsx:"1"`

	Value int `xlsx:"2"`
}

CellIntWOP is a CellInt without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint

type CellPointersEncoding

type CellPointersEncoding struct {

	// field CellString is a pointer to another Struct (optional or 0..1)
	// This field is generated into another field to enable AS ONE association
	CellStringID sql.NullInt64

	// field CellFloat64 is a pointer to another Struct (optional or 0..1)
	// This field is generated into another field to enable AS ONE association
	CellFloat64ID sql.NullInt64

	// field CellInt is a pointer to another Struct (optional or 0..1)
	// This field is generated into another field to enable AS ONE association
	CellIntID sql.NullInt64

	// field CellBool is a pointer to another Struct (optional or 0..1)
	// This field is generated into another field to enable AS ONE association
	CellBoolID sql.NullInt64

	// field CellIcon is a pointer to another Struct (optional or 0..1)
	// This field is generated into another field to enable AS ONE association
	CellIconID sql.NullInt64
}

CellPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct

type CellStringAPI

type CellStringAPI struct {
	gorm.Model

	models.CellString_WOP

	// encoding of pointers
	// for API, it cannot be embedded
	CellStringPointersEncoding CellStringPointersEncoding
}

CellStringAPI 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 cellstringAPI

type CellStringDB

type CellStringDB struct {
	gorm.Model

	// Declation for basic field cellstringDB.Name
	Name_Data sql.NullString

	// Declation for basic field cellstringDB.Value
	Value_Data sql.NullString

	// encoding of pointers
	// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
	CellStringPointersEncoding
}

CellStringDB describes a cellstring 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 cellstringDB

func (*CellStringDB) CopyBasicFieldsFromCellString

func (cellstringDB *CellStringDB) CopyBasicFieldsFromCellString(cellstring *models.CellString)

CopyBasicFieldsFromCellString

func (*CellStringDB) CopyBasicFieldsFromCellStringWOP

func (cellstringDB *CellStringDB) CopyBasicFieldsFromCellStringWOP(cellstring *CellStringWOP)

CopyBasicFieldsFromCellStringWOP

func (*CellStringDB) CopyBasicFieldsFromCellString_WOP

func (cellstringDB *CellStringDB) CopyBasicFieldsFromCellString_WOP(cellstring *models.CellString_WOP)

CopyBasicFieldsFromCellString_WOP

func (*CellStringDB) CopyBasicFieldsToCellString

func (cellstringDB *CellStringDB) CopyBasicFieldsToCellString(cellstring *models.CellString)

CopyBasicFieldsToCellString

func (*CellStringDB) CopyBasicFieldsToCellStringWOP

func (cellstringDB *CellStringDB) CopyBasicFieldsToCellStringWOP(cellstring *CellStringWOP)

CopyBasicFieldsToCellStringWOP

func (*CellStringDB) CopyBasicFieldsToCellString_WOP

func (cellstringDB *CellStringDB) CopyBasicFieldsToCellString_WOP(cellstring *models.CellString_WOP)

CopyBasicFieldsToCellString_WOP

func (*CellStringDB) DecodePointers

func (cellstringDB *CellStringDB) DecodePointers(backRepo *BackRepoStruct, cellstring *models.CellString)

type CellStringDBResponse

type CellStringDBResponse struct {
	CellStringDB
}

CellStringDBResponse provides response swagger:response cellstringDBResponse

type CellStringDBs

type CellStringDBs []CellStringDB

CellStringDBs arrays cellstringDBs swagger:response cellstringDBsResponse

type CellStringPointersEncoding

type CellStringPointersEncoding struct {
}

CellStringPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct

type CellStringWOP

type CellStringWOP struct {
	ID int `xlsx:"0"`

	Name string `xlsx:"1"`

	Value string `xlsx:"2"`
}

CellStringWOP is a CellString without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint

type CellWOP

type CellWOP struct {
	ID int `xlsx:"0"`

	Name string `xlsx:"1"`
}

CellWOP is a Cell 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 NewDBLite

func NewDBLite() *DBLite

NewDBLite creates a new instance of DBLite

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) First

func (db *DBLite) First(instanceDB any, conds ...any) (db.DBInterface, error)

First retrieves the first record 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

func (*DBLite) Unscoped

func (db *DBLite) Unscoped() (db.DBInterface, error)

Unscoped sets the unscoped flag for soft-deletes (not used in this implementation)

func (*DBLite) Updates

func (db *DBLite) Updates(instanceDB any) (db.DBInterface, error)

Updates modifies an existing record in the database

type DisplayedColumnAPI

type DisplayedColumnAPI struct {
	gorm.Model

	models.DisplayedColumn_WOP

	// encoding of pointers
	// for API, it cannot be embedded
	DisplayedColumnPointersEncoding DisplayedColumnPointersEncoding
}

DisplayedColumnAPI 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 displayedcolumnAPI

type DisplayedColumnDB

type DisplayedColumnDB struct {
	gorm.Model

	// Declation for basic field displayedcolumnDB.Name
	Name_Data sql.NullString

	// encoding of pointers
	// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
	DisplayedColumnPointersEncoding
}

DisplayedColumnDB describes a displayedcolumn 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 displayedcolumnDB

func (*DisplayedColumnDB) CopyBasicFieldsFromDisplayedColumn

func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsFromDisplayedColumn(displayedcolumn *models.DisplayedColumn)

CopyBasicFieldsFromDisplayedColumn

func (*DisplayedColumnDB) CopyBasicFieldsFromDisplayedColumnWOP

func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsFromDisplayedColumnWOP(displayedcolumn *DisplayedColumnWOP)

CopyBasicFieldsFromDisplayedColumnWOP

func (*DisplayedColumnDB) CopyBasicFieldsFromDisplayedColumn_WOP

func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsFromDisplayedColumn_WOP(displayedcolumn *models.DisplayedColumn_WOP)

CopyBasicFieldsFromDisplayedColumn_WOP

func (*DisplayedColumnDB) CopyBasicFieldsToDisplayedColumn

func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsToDisplayedColumn(displayedcolumn *models.DisplayedColumn)

CopyBasicFieldsToDisplayedColumn

func (*DisplayedColumnDB) CopyBasicFieldsToDisplayedColumnWOP

func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsToDisplayedColumnWOP(displayedcolumn *DisplayedColumnWOP)

CopyBasicFieldsToDisplayedColumnWOP

func (*DisplayedColumnDB) CopyBasicFieldsToDisplayedColumn_WOP

func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsToDisplayedColumn_WOP(displayedcolumn *models.DisplayedColumn_WOP)

CopyBasicFieldsToDisplayedColumn_WOP

func (*DisplayedColumnDB) DecodePointers

func (displayedcolumnDB *DisplayedColumnDB) DecodePointers(backRepo *BackRepoStruct, displayedcolumn *models.DisplayedColumn)

type DisplayedColumnDBResponse

type DisplayedColumnDBResponse struct {
	DisplayedColumnDB
}

DisplayedColumnDBResponse provides response swagger:response displayedcolumnDBResponse

type DisplayedColumnDBs

type DisplayedColumnDBs []DisplayedColumnDB

DisplayedColumnDBs arrays displayedcolumnDBs swagger:response displayedcolumnDBsResponse

type DisplayedColumnPointersEncoding

type DisplayedColumnPointersEncoding struct {
}

DisplayedColumnPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct

type DisplayedColumnWOP

type DisplayedColumnWOP struct {
	ID int `xlsx:"0"`

	Name string `xlsx:"1"`
}

DisplayedColumnWOP is a DisplayedColumn 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

func (*IntSlice) Scan

func (s *IntSlice) Scan(value interface{}) error

Scan makes IntSlice implement the sql.Scanner interface.

func (IntSlice) Value

func (s IntSlice) Value() (driver.Value, error)

Value makes IntSlice implement the driver.Valuer interface.

type RowAPI

type RowAPI struct {
	gorm.Model

	models.Row_WOP

	// encoding of pointers
	// for API, it cannot be embedded
	RowPointersEncoding RowPointersEncoding
}

RowAPI 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 rowAPI

type RowDB

type RowDB struct {
	gorm.Model

	// Declation for basic field rowDB.Name
	Name_Data sql.NullString

	// Declation for basic field rowDB.IsChecked
	// provide the sql storage for the boolan
	IsChecked_Data sql.NullBool

	// encoding of pointers
	// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
	RowPointersEncoding
}

RowDB describes a row 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 rowDB

func (*RowDB) CopyBasicFieldsFromRow

func (rowDB *RowDB) CopyBasicFieldsFromRow(row *models.Row)

CopyBasicFieldsFromRow

func (*RowDB) CopyBasicFieldsFromRowWOP

func (rowDB *RowDB) CopyBasicFieldsFromRowWOP(row *RowWOP)

CopyBasicFieldsFromRowWOP

func (*RowDB) CopyBasicFieldsFromRow_WOP

func (rowDB *RowDB) CopyBasicFieldsFromRow_WOP(row *models.Row_WOP)

CopyBasicFieldsFromRow_WOP

func (*RowDB) CopyBasicFieldsToRow

func (rowDB *RowDB) CopyBasicFieldsToRow(row *models.Row)

CopyBasicFieldsToRow

func (*RowDB) CopyBasicFieldsToRowWOP

func (rowDB *RowDB) CopyBasicFieldsToRowWOP(row *RowWOP)

CopyBasicFieldsToRowWOP

func (*RowDB) CopyBasicFieldsToRow_WOP

func (rowDB *RowDB) CopyBasicFieldsToRow_WOP(row *models.Row_WOP)

CopyBasicFieldsToRow_WOP

func (*RowDB) DecodePointers

func (rowDB *RowDB) DecodePointers(backRepo *BackRepoStruct, row *models.Row)

type RowDBResponse

type RowDBResponse struct {
	RowDB
}

RowDBResponse provides response swagger:response rowDBResponse

type RowDBs

type RowDBs []RowDB

RowDBs arrays rowDBs swagger:response rowDBsResponse

type RowPointersEncoding

type RowPointersEncoding struct {

	// field Cells is a slice of pointers to another Struct (optional or 0..1)
	Cells IntSlice `gorm:"type:TEXT"`
}

RowPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct

type RowWOP

type RowWOP struct {
	ID int `xlsx:"0"`

	Name string `xlsx:"1"`

	IsChecked bool `xlsx:"2"`
}

RowWOP is a Row without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint

type SVGIconAPI

type SVGIconAPI struct {
	gorm.Model

	models.SVGIcon_WOP

	// encoding of pointers
	// for API, it cannot be embedded
	SVGIconPointersEncoding SVGIconPointersEncoding
}

SVGIconAPI 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 svgiconAPI

type SVGIconDB

type SVGIconDB struct {
	gorm.Model

	// Declation for basic field svgiconDB.Name
	Name_Data sql.NullString

	// Declation for basic field svgiconDB.SVG
	SVG_Data sql.NullString

	// encoding of pointers
	// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
	SVGIconPointersEncoding
}

SVGIconDB describes a svgicon 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 svgiconDB

func (*SVGIconDB) CopyBasicFieldsFromSVGIcon

func (svgiconDB *SVGIconDB) CopyBasicFieldsFromSVGIcon(svgicon *models.SVGIcon)

CopyBasicFieldsFromSVGIcon

func (*SVGIconDB) CopyBasicFieldsFromSVGIconWOP

func (svgiconDB *SVGIconDB) CopyBasicFieldsFromSVGIconWOP(svgicon *SVGIconWOP)

CopyBasicFieldsFromSVGIconWOP

func (*SVGIconDB) CopyBasicFieldsFromSVGIcon_WOP

func (svgiconDB *SVGIconDB) CopyBasicFieldsFromSVGIcon_WOP(svgicon *models.SVGIcon_WOP)

CopyBasicFieldsFromSVGIcon_WOP

func (*SVGIconDB) CopyBasicFieldsToSVGIcon

func (svgiconDB *SVGIconDB) CopyBasicFieldsToSVGIcon(svgicon *models.SVGIcon)

CopyBasicFieldsToSVGIcon

func (*SVGIconDB) CopyBasicFieldsToSVGIconWOP

func (svgiconDB *SVGIconDB) CopyBasicFieldsToSVGIconWOP(svgicon *SVGIconWOP)

CopyBasicFieldsToSVGIconWOP

func (*SVGIconDB) CopyBasicFieldsToSVGIcon_WOP

func (svgiconDB *SVGIconDB) CopyBasicFieldsToSVGIcon_WOP(svgicon *models.SVGIcon_WOP)

CopyBasicFieldsToSVGIcon_WOP

func (*SVGIconDB) DecodePointers

func (svgiconDB *SVGIconDB) DecodePointers(backRepo *BackRepoStruct, svgicon *models.SVGIcon)

type SVGIconDBResponse

type SVGIconDBResponse struct {
	SVGIconDB
}

SVGIconDBResponse provides response swagger:response svgiconDBResponse

type SVGIconDBs

type SVGIconDBs []SVGIconDB

SVGIconDBs arrays svgiconDBs swagger:response svgiconDBsResponse

type SVGIconPointersEncoding

type SVGIconPointersEncoding struct {
}

SVGIconPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct

type SVGIconWOP

type SVGIconWOP struct {
	ID int `xlsx:"0"`

	Name string `xlsx:"1"`

	SVG string `xlsx:"2"`
}

SVGIconWOP is a SVGIcon without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint

type TableAPI

type TableAPI struct {
	gorm.Model

	models.Table_WOP

	// encoding of pointers
	// for API, it cannot be embedded
	TablePointersEncoding TablePointersEncoding
}

TableAPI 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 tableAPI

type TableDB

type TableDB struct {
	gorm.Model

	// Declation for basic field tableDB.Name
	Name_Data sql.NullString

	// Declation for basic field tableDB.HasFiltering
	// provide the sql storage for the boolan
	HasFiltering_Data sql.NullBool

	// Declation for basic field tableDB.HasColumnSorting
	// provide the sql storage for the boolan
	HasColumnSorting_Data sql.NullBool

	// Declation for basic field tableDB.HasPaginator
	// provide the sql storage for the boolan
	HasPaginator_Data sql.NullBool

	// Declation for basic field tableDB.HasCheckableRows
	// provide the sql storage for the boolan
	HasCheckableRows_Data sql.NullBool

	// Declation for basic field tableDB.HasSaveButton
	// provide the sql storage for the boolan
	HasSaveButton_Data sql.NullBool

	// Declation for basic field tableDB.SaveButtonLabel
	SaveButtonLabel_Data sql.NullString

	// Declation for basic field tableDB.HasBulkDeleteButton
	// provide the sql storage for the boolan
	HasBulkDeleteButton_Data sql.NullBool

	// Declation for basic field tableDB.BulkDeleteButtonTooltip
	BulkDeleteButtonTooltip_Data sql.NullString

	// Declation for basic field tableDB.CanDragDropRows
	// provide the sql storage for the boolan
	CanDragDropRows_Data sql.NullBool

	// Declation for basic field tableDB.HasCloseButton
	// provide the sql storage for the boolan
	HasCloseButton_Data sql.NullBool

	// Declation for basic field tableDB.SavingInProgress
	// provide the sql storage for the boolan
	SavingInProgress_Data sql.NullBool

	// Declation for basic field tableDB.NbOfStickyColumns
	NbOfStickyColumns_Data sql.NullInt64

	// encoding of pointers
	// for GORM serialization, it is necessary to embed to Pointer Encoding declaration
	TablePointersEncoding
}

TableDB describes a table 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 tableDB

func (*TableDB) CopyBasicFieldsFromTable

func (tableDB *TableDB) CopyBasicFieldsFromTable(table *models.Table)

CopyBasicFieldsFromTable

func (*TableDB) CopyBasicFieldsFromTableWOP

func (tableDB *TableDB) CopyBasicFieldsFromTableWOP(table *TableWOP)

CopyBasicFieldsFromTableWOP

func (*TableDB) CopyBasicFieldsFromTable_WOP

func (tableDB *TableDB) CopyBasicFieldsFromTable_WOP(table *models.Table_WOP)

CopyBasicFieldsFromTable_WOP

func (*TableDB) CopyBasicFieldsToTable

func (tableDB *TableDB) CopyBasicFieldsToTable(table *models.Table)

CopyBasicFieldsToTable

func (*TableDB) CopyBasicFieldsToTableWOP

func (tableDB *TableDB) CopyBasicFieldsToTableWOP(table *TableWOP)

CopyBasicFieldsToTableWOP

func (*TableDB) CopyBasicFieldsToTable_WOP

func (tableDB *TableDB) CopyBasicFieldsToTable_WOP(table *models.Table_WOP)

CopyBasicFieldsToTable_WOP

func (*TableDB) DecodePointers

func (tableDB *TableDB) DecodePointers(backRepo *BackRepoStruct, table *models.Table)

type TableDBResponse

type TableDBResponse struct {
	TableDB
}

TableDBResponse provides response swagger:response tableDBResponse

type TableDBs

type TableDBs []TableDB

TableDBs arrays tableDBs swagger:response tableDBsResponse

type TablePointersEncoding

type TablePointersEncoding struct {

	// field DisplayedColumns is a slice of pointers to another Struct (optional or 0..1)
	DisplayedColumns IntSlice `gorm:"type:TEXT"`

	// field Rows is a slice of pointers to another Struct (optional or 0..1)
	Rows IntSlice `gorm:"type:TEXT"`

	// field RowsSelectedForBulkDelete is a slice of pointers to another Struct (optional or 0..1)
	RowsSelectedForBulkDelete IntSlice `gorm:"type:TEXT"`

	// field Buttons is a slice of pointers to another Struct (optional or 0..1)
	Buttons IntSlice `gorm:"type:TEXT"`
}

TablePointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct

type TableWOP

type TableWOP struct {
	ID int `xlsx:"0"`

	Name string `xlsx:"1"`

	HasFiltering bool `xlsx:"2"`

	HasColumnSorting bool `xlsx:"3"`

	HasPaginator bool `xlsx:"4"`

	HasCheckableRows bool `xlsx:"5"`

	HasSaveButton bool `xlsx:"6"`

	SaveButtonLabel string `xlsx:"7"`

	HasBulkDeleteButton bool `xlsx:"8"`

	BulkDeleteButtonTooltip string `xlsx:"9"`

	CanDragDropRows bool `xlsx:"10"`

	HasCloseButton bool `xlsx:"11"`

	SavingInProgress bool `xlsx:"12"`

	NbOfStickyColumns int `xlsx:"13"`
}

TableWOP is a Table without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint

Directories

Path Synopsis
generated code - do not edit
generated code - do not edit

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL