Documentation ¶
Overview ¶
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
do not modify, generated file
generated code - do not edit
generated code - do not edit
generated code - do not edit
Index ¶
- Variables
- func GetID[T models.Gongstruct](stage *models.StageStruct, backRepo *BackRepoStruct, instance *T) (id int)
- func GetIDPointer[T models.PointerToGongstruct](stage *models.StageStruct, backRepo *BackRepoStruct, instance T) (id int)
- func GetInstanceDBFromInstance[T models.Gongstruct, T2 GongstructDB](stage *models.StageStruct, backRepo *BackRepoStruct, instance *T) (ret *T2)
- func GetReverseFieldOwner[T models.Gongstruct](stage *models.StageStruct, backRepo *BackRepoStruct, instance *T, ...) (res any)
- func GetReverseFieldOwnerName[T models.Gongstruct](stage *models.StageStruct, backRepo *BackRepoStruct, instance *T, ...) (res string)
- type BackRepoCheckBoxStruct
- func (backRepoCheckBox *BackRepoCheckBoxStruct) Backup(dirPath string)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) BackupXL(file *xlsx.File)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseOne() (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseOneInstance(checkboxDB *CheckBoxDB) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, checkboxDB *CheckBoxDB) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseOneInstance(checkbox *models.CheckBox) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, checkbox *models.CheckBox) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) GetCheckBoxDBFromCheckBoxPtr(checkbox *models.CheckBox) (checkboxDB *CheckBoxDB)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) GetDB() *gorm.DB
- func (backRepoCheckBox *BackRepoCheckBoxStruct) GetStage() (stage *models.StageStruct)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, checkbox *models.CheckBox) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) RestorePhaseOne(dirPath string)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) RestorePhaseTwo()
- func (backRepoCheckBox *BackRepoCheckBoxStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormDivStruct
- func (backRepoFormDiv *BackRepoFormDivStruct) Backup(dirPath string)
- func (backRepoFormDiv *BackRepoFormDivStruct) BackupXL(file *xlsx.File)
- func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseOneInstance(formdivDB *FormDivDB) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formdivDB *FormDivDB) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseOneInstance(formdiv *models.FormDiv) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formdiv *models.FormDiv) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) GetDB() *gorm.DB
- func (backRepoFormDiv *BackRepoFormDivStruct) GetFormDivDBFromFormDivPtr(formdiv *models.FormDiv) (formdivDB *FormDivDB)
- func (backRepoFormDiv *BackRepoFormDivStruct) GetStage() (stage *models.StageStruct)
- func (backRepoFormDiv *BackRepoFormDivStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formdiv *models.FormDiv) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormDiv *BackRepoFormDivStruct) RestorePhaseTwo()
- func (backRepoFormDiv *BackRepoFormDivStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormEditAssocButtonStruct
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) Backup(dirPath string)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) BackupXL(file *xlsx.File)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseOneInstance(formeditassocbuttonDB *FormEditAssocButtonDB) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formeditassocbuttonDB *FormEditAssocButtonDB) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseOneInstance(formeditassocbutton *models.FormEditAssocButton) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, ...) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) GetDB() *gorm.DB
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) GetFormEditAssocButtonDBFromFormEditAssocButtonPtr(formeditassocbutton *models.FormEditAssocButton) (formeditassocbuttonDB *FormEditAssocButtonDB)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) GetStage() (stage *models.StageStruct)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, ...) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) RestorePhaseTwo()
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldDateStruct
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) Backup(dirPath string)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) BackupXL(file *xlsx.File)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseOneInstance(formfielddateDB *FormFieldDateDB) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfielddateDB *FormFieldDateDB) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseOneInstance(formfielddate *models.FormFieldDate) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfielddate *models.FormFieldDate) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) GetDB() *gorm.DB
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) GetFormFieldDateDBFromFormFieldDatePtr(formfielddate *models.FormFieldDate) (formfielddateDB *FormFieldDateDB)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) GetStage() (stage *models.StageStruct)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfielddate *models.FormFieldDate) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) RestorePhaseTwo()
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldDateTimeStruct
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) Backup(dirPath string)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) BackupXL(file *xlsx.File)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseOneInstance(formfielddatetimeDB *FormFieldDateTimeDB) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfielddatetimeDB *FormFieldDateTimeDB) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseOneInstance(formfielddatetime *models.FormFieldDateTime) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, ...) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) GetDB() *gorm.DB
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) GetFormFieldDateTimeDBFromFormFieldDateTimePtr(formfielddatetime *models.FormFieldDateTime) (formfielddatetimeDB *FormFieldDateTimeDB)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) GetStage() (stage *models.StageStruct)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, ...) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) RestorePhaseTwo()
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldFloat64Struct
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) Backup(dirPath string)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) BackupXL(file *xlsx.File)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseOne() (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseOneInstance(formfieldfloat64DB *FormFieldFloat64DB) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldfloat64DB *FormFieldFloat64DB) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseOne(stage *models.StageStruct) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseOneInstance(formfieldfloat64 *models.FormFieldFloat64) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldfloat64 *models.FormFieldFloat64) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) GetDB() *gorm.DB
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) GetFormFieldFloat64DBFromFormFieldFloat64Ptr(formfieldfloat64 *models.FormFieldFloat64) (formfieldfloat64DB *FormFieldFloat64DB)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) GetStage() (stage *models.StageStruct)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldfloat64 *models.FormFieldFloat64) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) RestorePhaseOne(dirPath string)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) RestorePhaseTwo()
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldIntStruct
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) Backup(dirPath string)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) BackupXL(file *xlsx.File)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseOneInstance(formfieldintDB *FormFieldIntDB) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldintDB *FormFieldIntDB) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseOneInstance(formfieldint *models.FormFieldInt) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldint *models.FormFieldInt) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) GetDB() *gorm.DB
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) GetFormFieldIntDBFromFormFieldIntPtr(formfieldint *models.FormFieldInt) (formfieldintDB *FormFieldIntDB)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) GetStage() (stage *models.StageStruct)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldint *models.FormFieldInt) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) RestorePhaseTwo()
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldSelectStruct
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) Backup(dirPath string)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) BackupXL(file *xlsx.File)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseOneInstance(formfieldselectDB *FormFieldSelectDB) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldselectDB *FormFieldSelectDB) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseOneInstance(formfieldselect *models.FormFieldSelect) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldselect *models.FormFieldSelect) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) GetDB() *gorm.DB
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) GetFormFieldSelectDBFromFormFieldSelectPtr(formfieldselect *models.FormFieldSelect) (formfieldselectDB *FormFieldSelectDB)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) GetStage() (stage *models.StageStruct)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldselect *models.FormFieldSelect) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) RestorePhaseTwo()
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldStringStruct
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) Backup(dirPath string)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) BackupXL(file *xlsx.File)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseOneInstance(formfieldstringDB *FormFieldStringDB) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldstringDB *FormFieldStringDB) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseOneInstance(formfieldstring *models.FormFieldString) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldstring *models.FormFieldString) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) GetDB() *gorm.DB
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) GetFormFieldStringDBFromFormFieldStringPtr(formfieldstring *models.FormFieldString) (formfieldstringDB *FormFieldStringDB)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) GetStage() (stage *models.StageStruct)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldstring *models.FormFieldString) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) RestorePhaseTwo()
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldStruct
- func (backRepoFormField *BackRepoFormFieldStruct) Backup(dirPath string)
- func (backRepoFormField *BackRepoFormFieldStruct) BackupXL(file *xlsx.File)
- func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseOneInstance(formfieldDB *FormFieldDB) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldDB *FormFieldDB) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseOneInstance(formfield *models.FormField) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfield *models.FormField) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) GetDB() *gorm.DB
- func (backRepoFormField *BackRepoFormFieldStruct) GetFormFieldDBFromFormFieldPtr(formfield *models.FormField) (formfieldDB *FormFieldDB)
- func (backRepoFormField *BackRepoFormFieldStruct) GetStage() (stage *models.StageStruct)
- func (backRepoFormField *BackRepoFormFieldStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfield *models.FormField) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormField *BackRepoFormFieldStruct) RestorePhaseTwo()
- func (backRepoFormField *BackRepoFormFieldStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldTimeStruct
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) Backup(dirPath string)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) BackupXL(file *xlsx.File)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseOneInstance(formfieldtimeDB *FormFieldTimeDB) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldtimeDB *FormFieldTimeDB) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseOneInstance(formfieldtime *models.FormFieldTime) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldtime *models.FormFieldTime) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) GetDB() *gorm.DB
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) GetFormFieldTimeDBFromFormFieldTimePtr(formfieldtime *models.FormFieldTime) (formfieldtimeDB *FormFieldTimeDB)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) GetStage() (stage *models.StageStruct)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldtime *models.FormFieldTime) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) RestorePhaseTwo()
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormGroupStruct
- func (backRepoFormGroup *BackRepoFormGroupStruct) Backup(dirPath string)
- func (backRepoFormGroup *BackRepoFormGroupStruct) BackupXL(file *xlsx.File)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseOneInstance(formgroupDB *FormGroupDB) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formgroupDB *FormGroupDB) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseOneInstance(formgroup *models.FormGroup) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formgroup *models.FormGroup) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) GetDB() *gorm.DB
- func (backRepoFormGroup *BackRepoFormGroupStruct) GetFormGroupDBFromFormGroupPtr(formgroup *models.FormGroup) (formgroupDB *FormGroupDB)
- func (backRepoFormGroup *BackRepoFormGroupStruct) GetStage() (stage *models.StageStruct)
- func (backRepoFormGroup *BackRepoFormGroupStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formgroup *models.FormGroup) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormGroup *BackRepoFormGroupStruct) RestorePhaseTwo()
- func (backRepoFormGroup *BackRepoFormGroupStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormSortAssocButtonStruct
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) Backup(dirPath string)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) BackupXL(file *xlsx.File)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseOneInstance(formsortassocbuttonDB *FormSortAssocButtonDB) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formsortassocbuttonDB *FormSortAssocButtonDB) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseOneInstance(formsortassocbutton *models.FormSortAssocButton) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, ...) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) GetDB() *gorm.DB
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) GetFormSortAssocButtonDBFromFormSortAssocButtonPtr(formsortassocbutton *models.FormSortAssocButton) (formsortassocbuttonDB *FormSortAssocButtonDB)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) GetStage() (stage *models.StageStruct)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, ...) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) RestorePhaseTwo()
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoOptionStruct
- func (backRepoOption *BackRepoOptionStruct) Backup(dirPath string)
- func (backRepoOption *BackRepoOptionStruct) BackupXL(file *xlsx.File)
- func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseOne() (Error error)
- func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseOneInstance(optionDB *OptionDB) (Error error)
- func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, optionDB *OptionDB) (Error error)
- func (backRepoOption *BackRepoOptionStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoOption *BackRepoOptionStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
- func (backRepoOption *BackRepoOptionStruct) CommitPhaseOneInstance(option *models.Option) (Error error)
- func (backRepoOption *BackRepoOptionStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoOption *BackRepoOptionStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, option *models.Option) (Error error)
- func (backRepoOption *BackRepoOptionStruct) GetDB() *gorm.DB
- func (backRepoOption *BackRepoOptionStruct) GetOptionDBFromOptionPtr(option *models.Option) (optionDB *OptionDB)
- func (backRepoOption *BackRepoOptionStruct) GetStage() (stage *models.StageStruct)
- func (backRepoOption *BackRepoOptionStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoOption *BackRepoOptionStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, option *models.Option) (Error error)
- func (backRepoOption *BackRepoOptionStruct) RestorePhaseOne(dirPath string)
- func (backRepoOption *BackRepoOptionStruct) RestorePhaseTwo()
- func (backRepoOption *BackRepoOptionStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoStruct
- func (backRepo *BackRepoStruct) Backup(stage *models.StageStruct, dirPath string)
- func (backRepo *BackRepoStruct) BackupXL(stage *models.StageStruct, dirPath string)
- func (backRepo *BackRepoStruct) Checkout(stage *models.StageStruct)
- func (backRepo *BackRepoStruct) CheckoutCheckBox(checkbox *models.CheckBox)
- func (backRepo *BackRepoStruct) CheckoutFormDiv(formdiv *models.FormDiv)
- func (backRepo *BackRepoStruct) CheckoutFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
- func (backRepo *BackRepoStruct) CheckoutFormField(formfield *models.FormField)
- func (backRepo *BackRepoStruct) CheckoutFormFieldDate(formfielddate *models.FormFieldDate)
- func (backRepo *BackRepoStruct) CheckoutFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
- func (backRepo *BackRepoStruct) CheckoutFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
- func (backRepo *BackRepoStruct) CheckoutFormFieldInt(formfieldint *models.FormFieldInt)
- func (backRepo *BackRepoStruct) CheckoutFormFieldSelect(formfieldselect *models.FormFieldSelect)
- func (backRepo *BackRepoStruct) CheckoutFormFieldString(formfieldstring *models.FormFieldString)
- func (backRepo *BackRepoStruct) CheckoutFormFieldTime(formfieldtime *models.FormFieldTime)
- func (backRepo *BackRepoStruct) CheckoutFormGroup(formgroup *models.FormGroup)
- func (backRepo *BackRepoStruct) CheckoutFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
- func (backRepo *BackRepoStruct) CheckoutOption(option *models.Option)
- func (backRepo *BackRepoStruct) Commit(stage *models.StageStruct)
- func (backRepo *BackRepoStruct) CommitCheckBox(checkbox *models.CheckBox)
- func (backRepo *BackRepoStruct) CommitFormDiv(formdiv *models.FormDiv)
- func (backRepo *BackRepoStruct) CommitFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
- func (backRepo *BackRepoStruct) CommitFormField(formfield *models.FormField)
- func (backRepo *BackRepoStruct) CommitFormFieldDate(formfielddate *models.FormFieldDate)
- func (backRepo *BackRepoStruct) CommitFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
- func (backRepo *BackRepoStruct) CommitFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
- func (backRepo *BackRepoStruct) CommitFormFieldInt(formfieldint *models.FormFieldInt)
- func (backRepo *BackRepoStruct) CommitFormFieldSelect(formfieldselect *models.FormFieldSelect)
- func (backRepo *BackRepoStruct) CommitFormFieldString(formfieldstring *models.FormFieldString)
- func (backRepo *BackRepoStruct) CommitFormFieldTime(formfieldtime *models.FormFieldTime)
- func (backRepo *BackRepoStruct) CommitFormGroup(formgroup *models.FormGroup)
- func (backRepo *BackRepoStruct) CommitFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
- func (backRepo *BackRepoStruct) CommitOption(option *models.Option)
- func (backRepo *BackRepoStruct) GetLastCommitFromBackNb() uint
- func (backRepo *BackRepoStruct) GetLastPushFromFrontNb() uint
- func (backRepo *BackRepoStruct) GetStage() (stage *models.StageStruct)
- func (backRepo *BackRepoStruct) IncrementCommitFromBackNb() uint
- func (backRepo *BackRepoStruct) IncrementPushFromFrontNb() uint
- func (backRepo *BackRepoStruct) Restore(stage *models.StageStruct, dirPath string)
- func (backRepo *BackRepoStruct) RestoreXL(stage *models.StageStruct, dirPath string)
- type CheckBoxAPI
- type CheckBoxDB
- func (checkboxDB *CheckBoxDB) CopyBasicFieldsFromCheckBox(checkbox *models.CheckBox)
- func (checkboxDB *CheckBoxDB) CopyBasicFieldsFromCheckBoxWOP(checkbox *CheckBoxWOP)
- func (checkboxDB *CheckBoxDB) CopyBasicFieldsFromCheckBox_WOP(checkbox *models.CheckBox_WOP)
- func (checkboxDB *CheckBoxDB) CopyBasicFieldsToCheckBox(checkbox *models.CheckBox)
- func (checkboxDB *CheckBoxDB) CopyBasicFieldsToCheckBoxWOP(checkbox *CheckBoxWOP)
- func (checkboxDB *CheckBoxDB) CopyBasicFieldsToCheckBox_WOP(checkbox *models.CheckBox_WOP)
- func (checkboxDB *CheckBoxDB) DecodePointers(backRepo *BackRepoStruct, checkbox *models.CheckBox)
- type CheckBoxDBResponse
- type CheckBoxDBs
- type CheckBoxPointersEncoding
- type CheckBoxWOP
- type FormDivAPI
- type FormDivDB
- func (formdivDB *FormDivDB) CopyBasicFieldsFromFormDiv(formdiv *models.FormDiv)
- func (formdivDB *FormDivDB) CopyBasicFieldsFromFormDivWOP(formdiv *FormDivWOP)
- func (formdivDB *FormDivDB) CopyBasicFieldsFromFormDiv_WOP(formdiv *models.FormDiv_WOP)
- func (formdivDB *FormDivDB) CopyBasicFieldsToFormDiv(formdiv *models.FormDiv)
- func (formdivDB *FormDivDB) CopyBasicFieldsToFormDivWOP(formdiv *FormDivWOP)
- func (formdivDB *FormDivDB) CopyBasicFieldsToFormDiv_WOP(formdiv *models.FormDiv_WOP)
- func (formdivDB *FormDivDB) DecodePointers(backRepo *BackRepoStruct, formdiv *models.FormDiv)
- type FormDivDBResponse
- type FormDivDBs
- type FormDivPointersEncoding
- type FormDivWOP
- type FormEditAssocButtonAPI
- type FormEditAssocButtonDB
- func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
- func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButtonWOP(formeditassocbutton *FormEditAssocButtonWOP)
- func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButton_WOP(formeditassocbutton *models.FormEditAssocButton_WOP)
- func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
- func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButtonWOP(formeditassocbutton *FormEditAssocButtonWOP)
- func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButton_WOP(formeditassocbutton *models.FormEditAssocButton_WOP)
- func (formeditassocbuttonDB *FormEditAssocButtonDB) DecodePointers(backRepo *BackRepoStruct, formeditassocbutton *models.FormEditAssocButton)
- type FormEditAssocButtonDBResponse
- type FormEditAssocButtonDBs
- type FormEditAssocButtonPointersEncoding
- type FormEditAssocButtonWOP
- type FormFieldAPI
- type FormFieldDB
- func (formfieldDB *FormFieldDB) CopyBasicFieldsFromFormField(formfield *models.FormField)
- func (formfieldDB *FormFieldDB) CopyBasicFieldsFromFormFieldWOP(formfield *FormFieldWOP)
- func (formfieldDB *FormFieldDB) CopyBasicFieldsFromFormField_WOP(formfield *models.FormField_WOP)
- func (formfieldDB *FormFieldDB) CopyBasicFieldsToFormField(formfield *models.FormField)
- func (formfieldDB *FormFieldDB) CopyBasicFieldsToFormFieldWOP(formfield *FormFieldWOP)
- func (formfieldDB *FormFieldDB) CopyBasicFieldsToFormField_WOP(formfield *models.FormField_WOP)
- func (formfieldDB *FormFieldDB) DecodePointers(backRepo *BackRepoStruct, formfield *models.FormField)
- type FormFieldDBResponse
- type FormFieldDBs
- type FormFieldDateAPI
- type FormFieldDateDB
- func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsFromFormFieldDate(formfielddate *models.FormFieldDate)
- func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsFromFormFieldDateWOP(formfielddate *FormFieldDateWOP)
- func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsFromFormFieldDate_WOP(formfielddate *models.FormFieldDate_WOP)
- func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsToFormFieldDate(formfielddate *models.FormFieldDate)
- func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsToFormFieldDateWOP(formfielddate *FormFieldDateWOP)
- func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsToFormFieldDate_WOP(formfielddate *models.FormFieldDate_WOP)
- func (formfielddateDB *FormFieldDateDB) DecodePointers(backRepo *BackRepoStruct, formfielddate *models.FormFieldDate)
- type FormFieldDateDBResponse
- type FormFieldDateDBs
- type FormFieldDatePointersEncoding
- type FormFieldDateTimeAPI
- type FormFieldDateTimeDB
- func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
- func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTimeWOP(formfielddatetime *FormFieldDateTimeWOP)
- func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTime_WOP(formfielddatetime *models.FormFieldDateTime_WOP)
- func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
- func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTimeWOP(formfielddatetime *FormFieldDateTimeWOP)
- func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTime_WOP(formfielddatetime *models.FormFieldDateTime_WOP)
- func (formfielddatetimeDB *FormFieldDateTimeDB) DecodePointers(backRepo *BackRepoStruct, formfielddatetime *models.FormFieldDateTime)
- type FormFieldDateTimeDBResponse
- type FormFieldDateTimeDBs
- type FormFieldDateTimePointersEncoding
- type FormFieldDateTimeWOP
- type FormFieldDateWOP
- type FormFieldFloat64API
- type FormFieldFloat64DB
- func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
- func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64WOP(formfieldfloat64 *FormFieldFloat64WOP)
- func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64_WOP(formfieldfloat64 *models.FormFieldFloat64_WOP)
- func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
- func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64WOP(formfieldfloat64 *FormFieldFloat64WOP)
- func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64_WOP(formfieldfloat64 *models.FormFieldFloat64_WOP)
- func (formfieldfloat64DB *FormFieldFloat64DB) DecodePointers(backRepo *BackRepoStruct, formfieldfloat64 *models.FormFieldFloat64)
- type FormFieldFloat64DBResponse
- type FormFieldFloat64DBs
- type FormFieldFloat64PointersEncoding
- type FormFieldFloat64WOP
- type FormFieldIntAPI
- type FormFieldIntDB
- func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsFromFormFieldInt(formfieldint *models.FormFieldInt)
- func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsFromFormFieldIntWOP(formfieldint *FormFieldIntWOP)
- func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsFromFormFieldInt_WOP(formfieldint *models.FormFieldInt_WOP)
- func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsToFormFieldInt(formfieldint *models.FormFieldInt)
- func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsToFormFieldIntWOP(formfieldint *FormFieldIntWOP)
- func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsToFormFieldInt_WOP(formfieldint *models.FormFieldInt_WOP)
- func (formfieldintDB *FormFieldIntDB) DecodePointers(backRepo *BackRepoStruct, formfieldint *models.FormFieldInt)
- type FormFieldIntDBResponse
- type FormFieldIntDBs
- type FormFieldIntPointersEncoding
- type FormFieldIntWOP
- type FormFieldPointersEncoding
- type FormFieldSelectAPI
- type FormFieldSelectDB
- func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelect(formfieldselect *models.FormFieldSelect)
- func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelectWOP(formfieldselect *FormFieldSelectWOP)
- func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelect_WOP(formfieldselect *models.FormFieldSelect_WOP)
- func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsToFormFieldSelect(formfieldselect *models.FormFieldSelect)
- func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsToFormFieldSelectWOP(formfieldselect *FormFieldSelectWOP)
- func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsToFormFieldSelect_WOP(formfieldselect *models.FormFieldSelect_WOP)
- func (formfieldselectDB *FormFieldSelectDB) DecodePointers(backRepo *BackRepoStruct, formfieldselect *models.FormFieldSelect)
- type FormFieldSelectDBResponse
- type FormFieldSelectDBs
- type FormFieldSelectPointersEncoding
- type FormFieldSelectWOP
- type FormFieldStringAPI
- type FormFieldStringDB
- func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsFromFormFieldString(formfieldstring *models.FormFieldString)
- func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsFromFormFieldStringWOP(formfieldstring *FormFieldStringWOP)
- func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsFromFormFieldString_WOP(formfieldstring *models.FormFieldString_WOP)
- func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsToFormFieldString(formfieldstring *models.FormFieldString)
- func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsToFormFieldStringWOP(formfieldstring *FormFieldStringWOP)
- func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsToFormFieldString_WOP(formfieldstring *models.FormFieldString_WOP)
- func (formfieldstringDB *FormFieldStringDB) DecodePointers(backRepo *BackRepoStruct, formfieldstring *models.FormFieldString)
- type FormFieldStringDBResponse
- type FormFieldStringDBs
- type FormFieldStringPointersEncoding
- type FormFieldStringWOP
- type FormFieldTimeAPI
- type FormFieldTimeDB
- func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsFromFormFieldTime(formfieldtime *models.FormFieldTime)
- func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsFromFormFieldTimeWOP(formfieldtime *FormFieldTimeWOP)
- func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsFromFormFieldTime_WOP(formfieldtime *models.FormFieldTime_WOP)
- func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsToFormFieldTime(formfieldtime *models.FormFieldTime)
- func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsToFormFieldTimeWOP(formfieldtime *FormFieldTimeWOP)
- func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsToFormFieldTime_WOP(formfieldtime *models.FormFieldTime_WOP)
- func (formfieldtimeDB *FormFieldTimeDB) DecodePointers(backRepo *BackRepoStruct, formfieldtime *models.FormFieldTime)
- type FormFieldTimeDBResponse
- type FormFieldTimeDBs
- type FormFieldTimePointersEncoding
- type FormFieldTimeWOP
- type FormFieldWOP
- type FormGroupAPI
- type FormGroupDB
- func (formgroupDB *FormGroupDB) CopyBasicFieldsFromFormGroup(formgroup *models.FormGroup)
- func (formgroupDB *FormGroupDB) CopyBasicFieldsFromFormGroupWOP(formgroup *FormGroupWOP)
- func (formgroupDB *FormGroupDB) CopyBasicFieldsFromFormGroup_WOP(formgroup *models.FormGroup_WOP)
- func (formgroupDB *FormGroupDB) CopyBasicFieldsToFormGroup(formgroup *models.FormGroup)
- func (formgroupDB *FormGroupDB) CopyBasicFieldsToFormGroupWOP(formgroup *FormGroupWOP)
- func (formgroupDB *FormGroupDB) CopyBasicFieldsToFormGroup_WOP(formgroup *models.FormGroup_WOP)
- func (formgroupDB *FormGroupDB) DecodePointers(backRepo *BackRepoStruct, formgroup *models.FormGroup)
- type FormGroupDBResponse
- type FormGroupDBs
- type FormGroupPointersEncoding
- type FormGroupWOP
- type FormSortAssocButtonAPI
- type FormSortAssocButtonDB
- func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
- func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButtonWOP(formsortassocbutton *FormSortAssocButtonWOP)
- func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButton_WOP(formsortassocbutton *models.FormSortAssocButton_WOP)
- func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
- func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButtonWOP(formsortassocbutton *FormSortAssocButtonWOP)
- func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButton_WOP(formsortassocbutton *models.FormSortAssocButton_WOP)
- func (formsortassocbuttonDB *FormSortAssocButtonDB) DecodePointers(backRepo *BackRepoStruct, formsortassocbutton *models.FormSortAssocButton)
- type FormSortAssocButtonDBResponse
- type FormSortAssocButtonDBs
- type FormSortAssocButtonPointersEncoding
- type FormSortAssocButtonWOP
- type GongstructDB
- type IntSlice
- type OptionAPI
- type OptionDB
- func (optionDB *OptionDB) CopyBasicFieldsFromOption(option *models.Option)
- func (optionDB *OptionDB) CopyBasicFieldsFromOptionWOP(option *OptionWOP)
- func (optionDB *OptionDB) CopyBasicFieldsFromOption_WOP(option *models.Option_WOP)
- func (optionDB *OptionDB) CopyBasicFieldsToOption(option *models.Option)
- func (optionDB *OptionDB) CopyBasicFieldsToOptionWOP(option *OptionWOP)
- func (optionDB *OptionDB) CopyBasicFieldsToOption_WOP(option *models.Option_WOP)
- func (optionDB *OptionDB) DecodePointers(backRepo *BackRepoStruct, option *models.Option)
- type OptionDBResponse
- type OptionDBs
- type OptionPointersEncoding
- type OptionWOP
Constants ¶
This section is empty.
Variables ¶
var BackRepoCheckBoxid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormDivid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormEditAssocButtonid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldDateTimeid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldDateid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldFloat64id_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldIntid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldSelectid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldStringid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldTimeid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormGroupid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormSortAssocButtonid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoOptionid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var CheckBox_Fields = []string{
"ID",
"Name",
"Value",
}
var FormDiv_Fields = []string{
"ID",
"Name",
}
var FormEditAssocButton_Fields = []string{
"ID",
"Name",
"Label",
}
var FormFieldDateTime_Fields = []string{
"ID",
"Name",
"Value",
}
var FormFieldDate_Fields = []string{
"ID",
"Name",
"Value",
}
var FormFieldFloat64_Fields = []string{
"ID",
"Name",
"Value",
"HasMinValidator",
"MinValue",
"HasMaxValidator",
"MaxValue",
}
var FormFieldInt_Fields = []string{
"ID",
"Name",
"Value",
"HasMinValidator",
"MinValue",
"HasMaxValidator",
"MaxValue",
}
var FormFieldSelect_Fields = []string{
"ID",
"Name",
"CanBeEmpty",
}
var FormFieldString_Fields = []string{
"ID",
"Name",
"Value",
"IsTextArea",
}
var FormFieldTime_Fields = []string{
"ID",
"Name",
"Value",
"Step",
}
var FormField_Fields = []string{
"ID",
"Name",
"InputTypeEnum",
"Label",
"Placeholder",
"HasBespokeWidth",
"BespokeWidthPx",
}
var FormGroup_Fields = []string{
"ID",
"Name",
"Label",
}
var FormSortAssocButton_Fields = []string{
"ID",
"Name",
"Label",
}
var Option_Fields = []string{
"ID",
"Name",
}
Functions ¶
func GetID ¶
func GetID[T models.Gongstruct]( stage *models.StageStruct, backRepo *BackRepoStruct, instance *T) (id int)
func GetIDPointer ¶
func GetIDPointer[T models.PointerToGongstruct]( stage *models.StageStruct, backRepo *BackRepoStruct, instance T) (id int)
func GetInstanceDBFromInstance ¶
func GetInstanceDBFromInstance[T models.Gongstruct, T2 GongstructDB]( stage *models.StageStruct, backRepo *BackRepoStruct, instance *T) (ret *T2)
func GetReverseFieldOwner ¶
func GetReverseFieldOwner[T models.Gongstruct]( stage *models.StageStruct, backRepo *BackRepoStruct, instance *T, reverseField *models.ReverseField) (res any)
func GetReverseFieldOwnerName ¶
func GetReverseFieldOwnerName[T models.Gongstruct]( stage *models.StageStruct, backRepo *BackRepoStruct, instance *T, reverseField *models.ReverseField) (res string)
Types ¶
type BackRepoCheckBoxStruct ¶
type BackRepoCheckBoxStruct struct { // stores CheckBoxDB according to their gorm ID Map_CheckBoxDBID_CheckBoxDB map[uint]*CheckBoxDB // stores CheckBoxDB ID according to CheckBox address Map_CheckBoxPtr_CheckBoxDBID map[*models.CheckBox]uint // stores CheckBox according to their gorm ID Map_CheckBoxDBID_CheckBoxPtr map[uint]*models.CheckBox // contains filtered or unexported fields }
func (*BackRepoCheckBoxStruct) Backup ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) Backup(dirPath string)
Backup generates a json file from a slice of all CheckBoxDB instances in the backrepo
func (*BackRepoCheckBoxStruct) BackupXL ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all CheckBoxDB instances in the backrepo
func (*BackRepoCheckBoxStruct) CheckoutPhaseOne ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseOne() (Error error)
BackRepoCheckBox.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 (*BackRepoCheckBoxStruct) CheckoutPhaseOneInstance ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseOneInstance(checkboxDB *CheckBoxDB) (Error error)
CheckoutPhaseOneInstance takes a checkboxDB that has been found in the DB, updates the backRepo and stages the models version of the checkboxDB
func (*BackRepoCheckBoxStruct) CheckoutPhaseTwo ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCheckBox.CheckoutPhaseTwo Checkouts all staged instances of CheckBox to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCheckBoxStruct) CheckoutPhaseTwoInstance ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, checkboxDB *CheckBoxDB) (Error error)
BackRepoCheckBox.CheckoutPhaseTwoInstance Checkouts staged instances of CheckBox to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCheckBoxStruct) CommitDeleteInstance ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoCheckBox.CommitDeleteInstance commits deletion of CheckBox to the BackRepo
func (*BackRepoCheckBoxStruct) CommitPhaseOne ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
BackRepoCheckBox.CommitPhaseOne commits all staged instances of CheckBox 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 (*BackRepoCheckBoxStruct) CommitPhaseOneInstance ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseOneInstance(checkbox *models.CheckBox) (Error error)
BackRepoCheckBox.CommitPhaseOneInstance commits checkbox staged instances of CheckBox 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 (*BackRepoCheckBoxStruct) CommitPhaseTwo ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCheckBox.CommitPhaseTwo commits all staged instances of CheckBox to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCheckBoxStruct) CommitPhaseTwoInstance ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, checkbox *models.CheckBox) (Error error)
BackRepoCheckBox.CommitPhaseTwoInstance commits {{structname }} of models.CheckBox to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCheckBoxStruct) GetCheckBoxDBFromCheckBoxPtr ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) GetCheckBoxDBFromCheckBoxPtr(checkbox *models.CheckBox) (checkboxDB *CheckBoxDB)
GetCheckBoxDBFromCheckBoxPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoCheckBoxStruct) GetDB ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) GetDB() *gorm.DB
func (*BackRepoCheckBoxStruct) GetStage ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) GetStage() (stage *models.StageStruct)
func (*BackRepoCheckBoxStruct) ResetReversePointers ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoCheckBox.ResetReversePointers commits all staged instances of CheckBox to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCheckBoxStruct) ResetReversePointersInstance ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, checkbox *models.CheckBox) (Error error)
func (*BackRepoCheckBoxStruct) RestorePhaseOne ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "CheckBoxDB.json" in dirPath that stores an array of CheckBoxDB and stores it in the database the map BackRepoCheckBoxid_atBckpTime_newID is updated accordingly
func (*BackRepoCheckBoxStruct) RestorePhaseTwo ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<CheckBox>id_atBckpTime_newID to compute new index
func (*BackRepoCheckBoxStruct) RestoreXLPhaseOne ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "CheckBox" sheet all CheckBoxDB instances
type BackRepoFormDivStruct ¶
type BackRepoFormDivStruct struct { // stores FormDivDB according to their gorm ID Map_FormDivDBID_FormDivDB map[uint]*FormDivDB // stores FormDivDB ID according to FormDiv address Map_FormDivPtr_FormDivDBID map[*models.FormDiv]uint // stores FormDiv according to their gorm ID Map_FormDivDBID_FormDivPtr map[uint]*models.FormDiv // contains filtered or unexported fields }
func (*BackRepoFormDivStruct) Backup ¶
func (backRepoFormDiv *BackRepoFormDivStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormDivDB instances in the backrepo
func (*BackRepoFormDivStruct) BackupXL ¶
func (backRepoFormDiv *BackRepoFormDivStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormDivDB instances in the backrepo
func (*BackRepoFormDivStruct) CheckoutPhaseOne ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseOne() (Error error)
BackRepoFormDiv.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 (*BackRepoFormDivStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseOneInstance(formdivDB *FormDivDB) (Error error)
CheckoutPhaseOneInstance takes a formdivDB that has been found in the DB, updates the backRepo and stages the models version of the formdivDB
func (*BackRepoFormDivStruct) CheckoutPhaseTwo ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormDiv.CheckoutPhaseTwo Checkouts all staged instances of FormDiv to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormDivStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formdivDB *FormDivDB) (Error error)
BackRepoFormDiv.CheckoutPhaseTwoInstance Checkouts staged instances of FormDiv to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormDivStruct) CommitDeleteInstance ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormDiv.CommitDeleteInstance commits deletion of FormDiv to the BackRepo
func (*BackRepoFormDivStruct) CommitPhaseOne ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
BackRepoFormDiv.CommitPhaseOne commits all staged instances of FormDiv 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 (*BackRepoFormDivStruct) CommitPhaseOneInstance ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseOneInstance(formdiv *models.FormDiv) (Error error)
BackRepoFormDiv.CommitPhaseOneInstance commits formdiv staged instances of FormDiv 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 (*BackRepoFormDivStruct) CommitPhaseTwo ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormDiv.CommitPhaseTwo commits all staged instances of FormDiv to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormDivStruct) CommitPhaseTwoInstance ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formdiv *models.FormDiv) (Error error)
BackRepoFormDiv.CommitPhaseTwoInstance commits {{structname }} of models.FormDiv to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormDivStruct) GetDB ¶
func (backRepoFormDiv *BackRepoFormDivStruct) GetDB() *gorm.DB
func (*BackRepoFormDivStruct) GetFormDivDBFromFormDivPtr ¶
func (backRepoFormDiv *BackRepoFormDivStruct) GetFormDivDBFromFormDivPtr(formdiv *models.FormDiv) (formdivDB *FormDivDB)
GetFormDivDBFromFormDivPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormDivStruct) GetStage ¶
func (backRepoFormDiv *BackRepoFormDivStruct) GetStage() (stage *models.StageStruct)
func (*BackRepoFormDivStruct) ResetReversePointers ¶
func (backRepoFormDiv *BackRepoFormDivStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormDiv.ResetReversePointers commits all staged instances of FormDiv to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormDivStruct) ResetReversePointersInstance ¶
func (backRepoFormDiv *BackRepoFormDivStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formdiv *models.FormDiv) (Error error)
func (*BackRepoFormDivStruct) RestorePhaseOne ¶
func (backRepoFormDiv *BackRepoFormDivStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormDivDB.json" in dirPath that stores an array of FormDivDB and stores it in the database the map BackRepoFormDivid_atBckpTime_newID is updated accordingly
func (*BackRepoFormDivStruct) RestorePhaseTwo ¶
func (backRepoFormDiv *BackRepoFormDivStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormDiv>id_atBckpTime_newID to compute new index
func (*BackRepoFormDivStruct) RestoreXLPhaseOne ¶
func (backRepoFormDiv *BackRepoFormDivStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormDiv" sheet all FormDivDB instances
type BackRepoFormEditAssocButtonStruct ¶
type BackRepoFormEditAssocButtonStruct struct { // stores FormEditAssocButtonDB according to their gorm ID Map_FormEditAssocButtonDBID_FormEditAssocButtonDB map[uint]*FormEditAssocButtonDB // stores FormEditAssocButtonDB ID according to FormEditAssocButton address Map_FormEditAssocButtonPtr_FormEditAssocButtonDBID map[*models.FormEditAssocButton]uint // stores FormEditAssocButton according to their gorm ID Map_FormEditAssocButtonDBID_FormEditAssocButtonPtr map[uint]*models.FormEditAssocButton // contains filtered or unexported fields }
func (*BackRepoFormEditAssocButtonStruct) Backup ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormEditAssocButtonDB instances in the backrepo
func (*BackRepoFormEditAssocButtonStruct) BackupXL ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormEditAssocButtonDB instances in the backrepo
func (*BackRepoFormEditAssocButtonStruct) CheckoutPhaseOne ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseOne() (Error error)
BackRepoFormEditAssocButton.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 (*BackRepoFormEditAssocButtonStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseOneInstance(formeditassocbuttonDB *FormEditAssocButtonDB) (Error error)
CheckoutPhaseOneInstance takes a formeditassocbuttonDB that has been found in the DB, updates the backRepo and stages the models version of the formeditassocbuttonDB
func (*BackRepoFormEditAssocButtonStruct) CheckoutPhaseTwo ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormEditAssocButton.CheckoutPhaseTwo Checkouts all staged instances of FormEditAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormEditAssocButtonStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formeditassocbuttonDB *FormEditAssocButtonDB) (Error error)
BackRepoFormEditAssocButton.CheckoutPhaseTwoInstance Checkouts staged instances of FormEditAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormEditAssocButtonStruct) CommitDeleteInstance ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormEditAssocButton.CommitDeleteInstance commits deletion of FormEditAssocButton to the BackRepo
func (*BackRepoFormEditAssocButtonStruct) CommitPhaseOne ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
BackRepoFormEditAssocButton.CommitPhaseOne commits all staged instances of FormEditAssocButton 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 (*BackRepoFormEditAssocButtonStruct) CommitPhaseOneInstance ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseOneInstance(formeditassocbutton *models.FormEditAssocButton) (Error error)
BackRepoFormEditAssocButton.CommitPhaseOneInstance commits formeditassocbutton staged instances of FormEditAssocButton 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 (*BackRepoFormEditAssocButtonStruct) CommitPhaseTwo ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormEditAssocButton.CommitPhaseTwo commits all staged instances of FormEditAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormEditAssocButtonStruct) CommitPhaseTwoInstance ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formeditassocbutton *models.FormEditAssocButton) (Error error)
BackRepoFormEditAssocButton.CommitPhaseTwoInstance commits {{structname }} of models.FormEditAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormEditAssocButtonStruct) GetDB ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) GetDB() *gorm.DB
func (*BackRepoFormEditAssocButtonStruct) GetFormEditAssocButtonDBFromFormEditAssocButtonPtr ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) GetFormEditAssocButtonDBFromFormEditAssocButtonPtr(formeditassocbutton *models.FormEditAssocButton) (formeditassocbuttonDB *FormEditAssocButtonDB)
GetFormEditAssocButtonDBFromFormEditAssocButtonPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormEditAssocButtonStruct) GetStage ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) GetStage() (stage *models.StageStruct)
func (*BackRepoFormEditAssocButtonStruct) ResetReversePointers ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormEditAssocButton.ResetReversePointers commits all staged instances of FormEditAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormEditAssocButtonStruct) ResetReversePointersInstance ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formeditassocbutton *models.FormEditAssocButton) (Error error)
func (*BackRepoFormEditAssocButtonStruct) RestorePhaseOne ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormEditAssocButtonDB.json" in dirPath that stores an array of FormEditAssocButtonDB and stores it in the database the map BackRepoFormEditAssocButtonid_atBckpTime_newID is updated accordingly
func (*BackRepoFormEditAssocButtonStruct) RestorePhaseTwo ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormEditAssocButton>id_atBckpTime_newID to compute new index
func (*BackRepoFormEditAssocButtonStruct) RestoreXLPhaseOne ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormEditAssocButton" sheet all FormEditAssocButtonDB instances
type BackRepoFormFieldDateStruct ¶
type BackRepoFormFieldDateStruct struct { // stores FormFieldDateDB according to their gorm ID Map_FormFieldDateDBID_FormFieldDateDB map[uint]*FormFieldDateDB // stores FormFieldDateDB ID according to FormFieldDate address Map_FormFieldDatePtr_FormFieldDateDBID map[*models.FormFieldDate]uint // stores FormFieldDate according to their gorm ID Map_FormFieldDateDBID_FormFieldDatePtr map[uint]*models.FormFieldDate // contains filtered or unexported fields }
func (*BackRepoFormFieldDateStruct) Backup ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldDateDB instances in the backrepo
func (*BackRepoFormFieldDateStruct) BackupXL ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldDateDB instances in the backrepo
func (*BackRepoFormFieldDateStruct) CheckoutPhaseOne ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseOne() (Error error)
BackRepoFormFieldDate.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 (*BackRepoFormFieldDateStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseOneInstance(formfielddateDB *FormFieldDateDB) (Error error)
CheckoutPhaseOneInstance takes a formfielddateDB that has been found in the DB, updates the backRepo and stages the models version of the formfielddateDB
func (*BackRepoFormFieldDateStruct) CheckoutPhaseTwo ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldDate.CheckoutPhaseTwo Checkouts all staged instances of FormFieldDate to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfielddateDB *FormFieldDateDB) (Error error)
BackRepoFormFieldDate.CheckoutPhaseTwoInstance Checkouts staged instances of FormFieldDate to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateStruct) CommitDeleteInstance ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormFieldDate.CommitDeleteInstance commits deletion of FormFieldDate to the BackRepo
func (*BackRepoFormFieldDateStruct) CommitPhaseOne ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
BackRepoFormFieldDate.CommitPhaseOne commits all staged instances of FormFieldDate 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 (*BackRepoFormFieldDateStruct) CommitPhaseOneInstance ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseOneInstance(formfielddate *models.FormFieldDate) (Error error)
BackRepoFormFieldDate.CommitPhaseOneInstance commits formfielddate staged instances of FormFieldDate 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 (*BackRepoFormFieldDateStruct) CommitPhaseTwo ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldDate.CommitPhaseTwo commits all staged instances of FormFieldDate to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateStruct) CommitPhaseTwoInstance ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfielddate *models.FormFieldDate) (Error error)
BackRepoFormFieldDate.CommitPhaseTwoInstance commits {{structname }} of models.FormFieldDate to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateStruct) GetDB ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) GetDB() *gorm.DB
func (*BackRepoFormFieldDateStruct) GetFormFieldDateDBFromFormFieldDatePtr ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) GetFormFieldDateDBFromFormFieldDatePtr(formfielddate *models.FormFieldDate) (formfielddateDB *FormFieldDateDB)
GetFormFieldDateDBFromFormFieldDatePtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldDateStruct) GetStage ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) GetStage() (stage *models.StageStruct)
func (*BackRepoFormFieldDateStruct) ResetReversePointers ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldDate.ResetReversePointers commits all staged instances of FormFieldDate to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateStruct) ResetReversePointersInstance ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfielddate *models.FormFieldDate) (Error error)
func (*BackRepoFormFieldDateStruct) RestorePhaseOne ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldDateDB.json" in dirPath that stores an array of FormFieldDateDB and stores it in the database the map BackRepoFormFieldDateid_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldDateStruct) RestorePhaseTwo ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormFieldDate>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldDateStruct) RestoreXLPhaseOne ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormFieldDate" sheet all FormFieldDateDB instances
type BackRepoFormFieldDateTimeStruct ¶
type BackRepoFormFieldDateTimeStruct struct { // stores FormFieldDateTimeDB according to their gorm ID Map_FormFieldDateTimeDBID_FormFieldDateTimeDB map[uint]*FormFieldDateTimeDB // stores FormFieldDateTimeDB ID according to FormFieldDateTime address Map_FormFieldDateTimePtr_FormFieldDateTimeDBID map[*models.FormFieldDateTime]uint // stores FormFieldDateTime according to their gorm ID Map_FormFieldDateTimeDBID_FormFieldDateTimePtr map[uint]*models.FormFieldDateTime // contains filtered or unexported fields }
func (*BackRepoFormFieldDateTimeStruct) Backup ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldDateTimeDB instances in the backrepo
func (*BackRepoFormFieldDateTimeStruct) BackupXL ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldDateTimeDB instances in the backrepo
func (*BackRepoFormFieldDateTimeStruct) CheckoutPhaseOne ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseOne() (Error error)
BackRepoFormFieldDateTime.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 (*BackRepoFormFieldDateTimeStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseOneInstance(formfielddatetimeDB *FormFieldDateTimeDB) (Error error)
CheckoutPhaseOneInstance takes a formfielddatetimeDB that has been found in the DB, updates the backRepo and stages the models version of the formfielddatetimeDB
func (*BackRepoFormFieldDateTimeStruct) CheckoutPhaseTwo ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldDateTime.CheckoutPhaseTwo Checkouts all staged instances of FormFieldDateTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateTimeStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfielddatetimeDB *FormFieldDateTimeDB) (Error error)
BackRepoFormFieldDateTime.CheckoutPhaseTwoInstance Checkouts staged instances of FormFieldDateTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateTimeStruct) CommitDeleteInstance ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormFieldDateTime.CommitDeleteInstance commits deletion of FormFieldDateTime to the BackRepo
func (*BackRepoFormFieldDateTimeStruct) CommitPhaseOne ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
BackRepoFormFieldDateTime.CommitPhaseOne commits all staged instances of FormFieldDateTime 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 (*BackRepoFormFieldDateTimeStruct) CommitPhaseOneInstance ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseOneInstance(formfielddatetime *models.FormFieldDateTime) (Error error)
BackRepoFormFieldDateTime.CommitPhaseOneInstance commits formfielddatetime staged instances of FormFieldDateTime 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 (*BackRepoFormFieldDateTimeStruct) CommitPhaseTwo ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldDateTime.CommitPhaseTwo commits all staged instances of FormFieldDateTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateTimeStruct) CommitPhaseTwoInstance ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfielddatetime *models.FormFieldDateTime) (Error error)
BackRepoFormFieldDateTime.CommitPhaseTwoInstance commits {{structname }} of models.FormFieldDateTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateTimeStruct) GetDB ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) GetDB() *gorm.DB
func (*BackRepoFormFieldDateTimeStruct) GetFormFieldDateTimeDBFromFormFieldDateTimePtr ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) GetFormFieldDateTimeDBFromFormFieldDateTimePtr(formfielddatetime *models.FormFieldDateTime) (formfielddatetimeDB *FormFieldDateTimeDB)
GetFormFieldDateTimeDBFromFormFieldDateTimePtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldDateTimeStruct) GetStage ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) GetStage() (stage *models.StageStruct)
func (*BackRepoFormFieldDateTimeStruct) ResetReversePointers ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldDateTime.ResetReversePointers commits all staged instances of FormFieldDateTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateTimeStruct) ResetReversePointersInstance ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfielddatetime *models.FormFieldDateTime) (Error error)
func (*BackRepoFormFieldDateTimeStruct) RestorePhaseOne ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldDateTimeDB.json" in dirPath that stores an array of FormFieldDateTimeDB and stores it in the database the map BackRepoFormFieldDateTimeid_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldDateTimeStruct) RestorePhaseTwo ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormFieldDateTime>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldDateTimeStruct) RestoreXLPhaseOne ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormFieldDateTime" sheet all FormFieldDateTimeDB instances
type BackRepoFormFieldFloat64Struct ¶
type BackRepoFormFieldFloat64Struct struct { // stores FormFieldFloat64DB according to their gorm ID Map_FormFieldFloat64DBID_FormFieldFloat64DB map[uint]*FormFieldFloat64DB // stores FormFieldFloat64DB ID according to FormFieldFloat64 address Map_FormFieldFloat64Ptr_FormFieldFloat64DBID map[*models.FormFieldFloat64]uint // stores FormFieldFloat64 according to their gorm ID Map_FormFieldFloat64DBID_FormFieldFloat64Ptr map[uint]*models.FormFieldFloat64 // contains filtered or unexported fields }
func (*BackRepoFormFieldFloat64Struct) Backup ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldFloat64DB instances in the backrepo
func (*BackRepoFormFieldFloat64Struct) BackupXL ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldFloat64DB instances in the backrepo
func (*BackRepoFormFieldFloat64Struct) CheckoutPhaseOne ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseOne() (Error error)
BackRepoFormFieldFloat64.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 (*BackRepoFormFieldFloat64Struct) CheckoutPhaseOneInstance ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseOneInstance(formfieldfloat64DB *FormFieldFloat64DB) (Error error)
CheckoutPhaseOneInstance takes a formfieldfloat64DB that has been found in the DB, updates the backRepo and stages the models version of the formfieldfloat64DB
func (*BackRepoFormFieldFloat64Struct) CheckoutPhaseTwo ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldFloat64.CheckoutPhaseTwo Checkouts all staged instances of FormFieldFloat64 to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldFloat64Struct) CheckoutPhaseTwoInstance ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldfloat64DB *FormFieldFloat64DB) (Error error)
BackRepoFormFieldFloat64.CheckoutPhaseTwoInstance Checkouts staged instances of FormFieldFloat64 to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldFloat64Struct) CommitDeleteInstance ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormFieldFloat64.CommitDeleteInstance commits deletion of FormFieldFloat64 to the BackRepo
func (*BackRepoFormFieldFloat64Struct) CommitPhaseOne ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseOne(stage *models.StageStruct) (Error error)
BackRepoFormFieldFloat64.CommitPhaseOne commits all staged instances of FormFieldFloat64 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 (*BackRepoFormFieldFloat64Struct) CommitPhaseOneInstance ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseOneInstance(formfieldfloat64 *models.FormFieldFloat64) (Error error)
BackRepoFormFieldFloat64.CommitPhaseOneInstance commits formfieldfloat64 staged instances of FormFieldFloat64 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 (*BackRepoFormFieldFloat64Struct) CommitPhaseTwo ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldFloat64.CommitPhaseTwo commits all staged instances of FormFieldFloat64 to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldFloat64Struct) CommitPhaseTwoInstance ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldfloat64 *models.FormFieldFloat64) (Error error)
BackRepoFormFieldFloat64.CommitPhaseTwoInstance commits {{structname }} of models.FormFieldFloat64 to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldFloat64Struct) GetDB ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) GetDB() *gorm.DB
func (*BackRepoFormFieldFloat64Struct) GetFormFieldFloat64DBFromFormFieldFloat64Ptr ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) GetFormFieldFloat64DBFromFormFieldFloat64Ptr(formfieldfloat64 *models.FormFieldFloat64) (formfieldfloat64DB *FormFieldFloat64DB)
GetFormFieldFloat64DBFromFormFieldFloat64Ptr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldFloat64Struct) GetStage ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) GetStage() (stage *models.StageStruct)
func (*BackRepoFormFieldFloat64Struct) ResetReversePointers ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldFloat64.ResetReversePointers commits all staged instances of FormFieldFloat64 to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldFloat64Struct) ResetReversePointersInstance ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldfloat64 *models.FormFieldFloat64) (Error error)
func (*BackRepoFormFieldFloat64Struct) RestorePhaseOne ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldFloat64DB.json" in dirPath that stores an array of FormFieldFloat64DB and stores it in the database the map BackRepoFormFieldFloat64id_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldFloat64Struct) RestorePhaseTwo ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormFieldFloat64>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldFloat64Struct) RestoreXLPhaseOne ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormFieldFloat64" sheet all FormFieldFloat64DB instances
type BackRepoFormFieldIntStruct ¶
type BackRepoFormFieldIntStruct struct { // stores FormFieldIntDB according to their gorm ID Map_FormFieldIntDBID_FormFieldIntDB map[uint]*FormFieldIntDB // stores FormFieldIntDB ID according to FormFieldInt address Map_FormFieldIntPtr_FormFieldIntDBID map[*models.FormFieldInt]uint // stores FormFieldInt according to their gorm ID Map_FormFieldIntDBID_FormFieldIntPtr map[uint]*models.FormFieldInt // contains filtered or unexported fields }
func (*BackRepoFormFieldIntStruct) Backup ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldIntDB instances in the backrepo
func (*BackRepoFormFieldIntStruct) BackupXL ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldIntDB instances in the backrepo
func (*BackRepoFormFieldIntStruct) CheckoutPhaseOne ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseOne() (Error error)
BackRepoFormFieldInt.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 (*BackRepoFormFieldIntStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseOneInstance(formfieldintDB *FormFieldIntDB) (Error error)
CheckoutPhaseOneInstance takes a formfieldintDB that has been found in the DB, updates the backRepo and stages the models version of the formfieldintDB
func (*BackRepoFormFieldIntStruct) CheckoutPhaseTwo ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldInt.CheckoutPhaseTwo Checkouts all staged instances of FormFieldInt to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldIntStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldintDB *FormFieldIntDB) (Error error)
BackRepoFormFieldInt.CheckoutPhaseTwoInstance Checkouts staged instances of FormFieldInt to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldIntStruct) CommitDeleteInstance ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormFieldInt.CommitDeleteInstance commits deletion of FormFieldInt to the BackRepo
func (*BackRepoFormFieldIntStruct) CommitPhaseOne ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
BackRepoFormFieldInt.CommitPhaseOne commits all staged instances of FormFieldInt 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 (*BackRepoFormFieldIntStruct) CommitPhaseOneInstance ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseOneInstance(formfieldint *models.FormFieldInt) (Error error)
BackRepoFormFieldInt.CommitPhaseOneInstance commits formfieldint staged instances of FormFieldInt 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 (*BackRepoFormFieldIntStruct) CommitPhaseTwo ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldInt.CommitPhaseTwo commits all staged instances of FormFieldInt to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldIntStruct) CommitPhaseTwoInstance ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldint *models.FormFieldInt) (Error error)
BackRepoFormFieldInt.CommitPhaseTwoInstance commits {{structname }} of models.FormFieldInt to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldIntStruct) GetDB ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) GetDB() *gorm.DB
func (*BackRepoFormFieldIntStruct) GetFormFieldIntDBFromFormFieldIntPtr ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) GetFormFieldIntDBFromFormFieldIntPtr(formfieldint *models.FormFieldInt) (formfieldintDB *FormFieldIntDB)
GetFormFieldIntDBFromFormFieldIntPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldIntStruct) GetStage ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) GetStage() (stage *models.StageStruct)
func (*BackRepoFormFieldIntStruct) ResetReversePointers ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldInt.ResetReversePointers commits all staged instances of FormFieldInt to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldIntStruct) ResetReversePointersInstance ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldint *models.FormFieldInt) (Error error)
func (*BackRepoFormFieldIntStruct) RestorePhaseOne ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldIntDB.json" in dirPath that stores an array of FormFieldIntDB and stores it in the database the map BackRepoFormFieldIntid_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldIntStruct) RestorePhaseTwo ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormFieldInt>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldIntStruct) RestoreXLPhaseOne ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormFieldInt" sheet all FormFieldIntDB instances
type BackRepoFormFieldSelectStruct ¶
type BackRepoFormFieldSelectStruct struct { // stores FormFieldSelectDB according to their gorm ID Map_FormFieldSelectDBID_FormFieldSelectDB map[uint]*FormFieldSelectDB // stores FormFieldSelectDB ID according to FormFieldSelect address Map_FormFieldSelectPtr_FormFieldSelectDBID map[*models.FormFieldSelect]uint // stores FormFieldSelect according to their gorm ID Map_FormFieldSelectDBID_FormFieldSelectPtr map[uint]*models.FormFieldSelect // contains filtered or unexported fields }
func (*BackRepoFormFieldSelectStruct) Backup ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldSelectDB instances in the backrepo
func (*BackRepoFormFieldSelectStruct) BackupXL ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldSelectDB instances in the backrepo
func (*BackRepoFormFieldSelectStruct) CheckoutPhaseOne ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseOne() (Error error)
BackRepoFormFieldSelect.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 (*BackRepoFormFieldSelectStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseOneInstance(formfieldselectDB *FormFieldSelectDB) (Error error)
CheckoutPhaseOneInstance takes a formfieldselectDB that has been found in the DB, updates the backRepo and stages the models version of the formfieldselectDB
func (*BackRepoFormFieldSelectStruct) CheckoutPhaseTwo ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldSelect.CheckoutPhaseTwo Checkouts all staged instances of FormFieldSelect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldSelectStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldselectDB *FormFieldSelectDB) (Error error)
BackRepoFormFieldSelect.CheckoutPhaseTwoInstance Checkouts staged instances of FormFieldSelect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldSelectStruct) CommitDeleteInstance ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormFieldSelect.CommitDeleteInstance commits deletion of FormFieldSelect to the BackRepo
func (*BackRepoFormFieldSelectStruct) CommitPhaseOne ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
BackRepoFormFieldSelect.CommitPhaseOne commits all staged instances of FormFieldSelect 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 (*BackRepoFormFieldSelectStruct) CommitPhaseOneInstance ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseOneInstance(formfieldselect *models.FormFieldSelect) (Error error)
BackRepoFormFieldSelect.CommitPhaseOneInstance commits formfieldselect staged instances of FormFieldSelect 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 (*BackRepoFormFieldSelectStruct) CommitPhaseTwo ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldSelect.CommitPhaseTwo commits all staged instances of FormFieldSelect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldSelectStruct) CommitPhaseTwoInstance ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldselect *models.FormFieldSelect) (Error error)
BackRepoFormFieldSelect.CommitPhaseTwoInstance commits {{structname }} of models.FormFieldSelect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldSelectStruct) GetDB ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) GetDB() *gorm.DB
func (*BackRepoFormFieldSelectStruct) GetFormFieldSelectDBFromFormFieldSelectPtr ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) GetFormFieldSelectDBFromFormFieldSelectPtr(formfieldselect *models.FormFieldSelect) (formfieldselectDB *FormFieldSelectDB)
GetFormFieldSelectDBFromFormFieldSelectPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldSelectStruct) GetStage ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) GetStage() (stage *models.StageStruct)
func (*BackRepoFormFieldSelectStruct) ResetReversePointers ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldSelect.ResetReversePointers commits all staged instances of FormFieldSelect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldSelectStruct) ResetReversePointersInstance ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldselect *models.FormFieldSelect) (Error error)
func (*BackRepoFormFieldSelectStruct) RestorePhaseOne ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldSelectDB.json" in dirPath that stores an array of FormFieldSelectDB and stores it in the database the map BackRepoFormFieldSelectid_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldSelectStruct) RestorePhaseTwo ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormFieldSelect>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldSelectStruct) RestoreXLPhaseOne ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormFieldSelect" sheet all FormFieldSelectDB instances
type BackRepoFormFieldStringStruct ¶
type BackRepoFormFieldStringStruct struct { // stores FormFieldStringDB according to their gorm ID Map_FormFieldStringDBID_FormFieldStringDB map[uint]*FormFieldStringDB // stores FormFieldStringDB ID according to FormFieldString address Map_FormFieldStringPtr_FormFieldStringDBID map[*models.FormFieldString]uint // stores FormFieldString according to their gorm ID Map_FormFieldStringDBID_FormFieldStringPtr map[uint]*models.FormFieldString // contains filtered or unexported fields }
func (*BackRepoFormFieldStringStruct) Backup ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldStringDB instances in the backrepo
func (*BackRepoFormFieldStringStruct) BackupXL ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldStringDB instances in the backrepo
func (*BackRepoFormFieldStringStruct) CheckoutPhaseOne ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseOne() (Error error)
BackRepoFormFieldString.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 (*BackRepoFormFieldStringStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseOneInstance(formfieldstringDB *FormFieldStringDB) (Error error)
CheckoutPhaseOneInstance takes a formfieldstringDB that has been found in the DB, updates the backRepo and stages the models version of the formfieldstringDB
func (*BackRepoFormFieldStringStruct) CheckoutPhaseTwo ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldString.CheckoutPhaseTwo Checkouts all staged instances of FormFieldString to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStringStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldstringDB *FormFieldStringDB) (Error error)
BackRepoFormFieldString.CheckoutPhaseTwoInstance Checkouts staged instances of FormFieldString to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStringStruct) CommitDeleteInstance ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormFieldString.CommitDeleteInstance commits deletion of FormFieldString to the BackRepo
func (*BackRepoFormFieldStringStruct) CommitPhaseOne ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
BackRepoFormFieldString.CommitPhaseOne commits all staged instances of FormFieldString 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 (*BackRepoFormFieldStringStruct) CommitPhaseOneInstance ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseOneInstance(formfieldstring *models.FormFieldString) (Error error)
BackRepoFormFieldString.CommitPhaseOneInstance commits formfieldstring staged instances of FormFieldString 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 (*BackRepoFormFieldStringStruct) CommitPhaseTwo ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldString.CommitPhaseTwo commits all staged instances of FormFieldString to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStringStruct) CommitPhaseTwoInstance ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldstring *models.FormFieldString) (Error error)
BackRepoFormFieldString.CommitPhaseTwoInstance commits {{structname }} of models.FormFieldString to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStringStruct) GetDB ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) GetDB() *gorm.DB
func (*BackRepoFormFieldStringStruct) GetFormFieldStringDBFromFormFieldStringPtr ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) GetFormFieldStringDBFromFormFieldStringPtr(formfieldstring *models.FormFieldString) (formfieldstringDB *FormFieldStringDB)
GetFormFieldStringDBFromFormFieldStringPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldStringStruct) GetStage ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) GetStage() (stage *models.StageStruct)
func (*BackRepoFormFieldStringStruct) ResetReversePointers ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldString.ResetReversePointers commits all staged instances of FormFieldString to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStringStruct) ResetReversePointersInstance ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldstring *models.FormFieldString) (Error error)
func (*BackRepoFormFieldStringStruct) RestorePhaseOne ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldStringDB.json" in dirPath that stores an array of FormFieldStringDB and stores it in the database the map BackRepoFormFieldStringid_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldStringStruct) RestorePhaseTwo ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormFieldString>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldStringStruct) RestoreXLPhaseOne ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormFieldString" sheet all FormFieldStringDB instances
type BackRepoFormFieldStruct ¶
type BackRepoFormFieldStruct struct { // stores FormFieldDB according to their gorm ID Map_FormFieldDBID_FormFieldDB map[uint]*FormFieldDB // stores FormFieldDB ID according to FormField address Map_FormFieldPtr_FormFieldDBID map[*models.FormField]uint // stores FormField according to their gorm ID Map_FormFieldDBID_FormFieldPtr map[uint]*models.FormField // contains filtered or unexported fields }
func (*BackRepoFormFieldStruct) Backup ¶
func (backRepoFormField *BackRepoFormFieldStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldDB instances in the backrepo
func (*BackRepoFormFieldStruct) BackupXL ¶
func (backRepoFormField *BackRepoFormFieldStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldDB instances in the backrepo
func (*BackRepoFormFieldStruct) CheckoutPhaseOne ¶
func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseOne() (Error error)
BackRepoFormField.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 (*BackRepoFormFieldStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseOneInstance(formfieldDB *FormFieldDB) (Error error)
CheckoutPhaseOneInstance takes a formfieldDB that has been found in the DB, updates the backRepo and stages the models version of the formfieldDB
func (*BackRepoFormFieldStruct) CheckoutPhaseTwo ¶
func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormField.CheckoutPhaseTwo Checkouts all staged instances of FormField to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldDB *FormFieldDB) (Error error)
BackRepoFormField.CheckoutPhaseTwoInstance Checkouts staged instances of FormField to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStruct) CommitDeleteInstance ¶
func (backRepoFormField *BackRepoFormFieldStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormField.CommitDeleteInstance commits deletion of FormField to the BackRepo
func (*BackRepoFormFieldStruct) CommitPhaseOne ¶
func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
BackRepoFormField.CommitPhaseOne commits all staged instances of FormField 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 (*BackRepoFormFieldStruct) CommitPhaseOneInstance ¶
func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseOneInstance(formfield *models.FormField) (Error error)
BackRepoFormField.CommitPhaseOneInstance commits formfield staged instances of FormField 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 (*BackRepoFormFieldStruct) CommitPhaseTwo ¶
func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormField.CommitPhaseTwo commits all staged instances of FormField to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStruct) CommitPhaseTwoInstance ¶
func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfield *models.FormField) (Error error)
BackRepoFormField.CommitPhaseTwoInstance commits {{structname }} of models.FormField to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStruct) GetDB ¶
func (backRepoFormField *BackRepoFormFieldStruct) GetDB() *gorm.DB
func (*BackRepoFormFieldStruct) GetFormFieldDBFromFormFieldPtr ¶
func (backRepoFormField *BackRepoFormFieldStruct) GetFormFieldDBFromFormFieldPtr(formfield *models.FormField) (formfieldDB *FormFieldDB)
GetFormFieldDBFromFormFieldPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldStruct) GetStage ¶
func (backRepoFormField *BackRepoFormFieldStruct) GetStage() (stage *models.StageStruct)
func (*BackRepoFormFieldStruct) ResetReversePointers ¶
func (backRepoFormField *BackRepoFormFieldStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormField.ResetReversePointers commits all staged instances of FormField to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStruct) ResetReversePointersInstance ¶
func (backRepoFormField *BackRepoFormFieldStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfield *models.FormField) (Error error)
func (*BackRepoFormFieldStruct) RestorePhaseOne ¶
func (backRepoFormField *BackRepoFormFieldStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldDB.json" in dirPath that stores an array of FormFieldDB and stores it in the database the map BackRepoFormFieldid_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldStruct) RestorePhaseTwo ¶
func (backRepoFormField *BackRepoFormFieldStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormField>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldStruct) RestoreXLPhaseOne ¶
func (backRepoFormField *BackRepoFormFieldStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormField" sheet all FormFieldDB instances
type BackRepoFormFieldTimeStruct ¶
type BackRepoFormFieldTimeStruct struct { // stores FormFieldTimeDB according to their gorm ID Map_FormFieldTimeDBID_FormFieldTimeDB map[uint]*FormFieldTimeDB // stores FormFieldTimeDB ID according to FormFieldTime address Map_FormFieldTimePtr_FormFieldTimeDBID map[*models.FormFieldTime]uint // stores FormFieldTime according to their gorm ID Map_FormFieldTimeDBID_FormFieldTimePtr map[uint]*models.FormFieldTime // contains filtered or unexported fields }
func (*BackRepoFormFieldTimeStruct) Backup ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldTimeDB instances in the backrepo
func (*BackRepoFormFieldTimeStruct) BackupXL ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldTimeDB instances in the backrepo
func (*BackRepoFormFieldTimeStruct) CheckoutPhaseOne ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseOne() (Error error)
BackRepoFormFieldTime.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 (*BackRepoFormFieldTimeStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseOneInstance(formfieldtimeDB *FormFieldTimeDB) (Error error)
CheckoutPhaseOneInstance takes a formfieldtimeDB that has been found in the DB, updates the backRepo and stages the models version of the formfieldtimeDB
func (*BackRepoFormFieldTimeStruct) CheckoutPhaseTwo ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldTime.CheckoutPhaseTwo Checkouts all staged instances of FormFieldTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldTimeStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldtimeDB *FormFieldTimeDB) (Error error)
BackRepoFormFieldTime.CheckoutPhaseTwoInstance Checkouts staged instances of FormFieldTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldTimeStruct) CommitDeleteInstance ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormFieldTime.CommitDeleteInstance commits deletion of FormFieldTime to the BackRepo
func (*BackRepoFormFieldTimeStruct) CommitPhaseOne ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
BackRepoFormFieldTime.CommitPhaseOne commits all staged instances of FormFieldTime 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 (*BackRepoFormFieldTimeStruct) CommitPhaseOneInstance ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseOneInstance(formfieldtime *models.FormFieldTime) (Error error)
BackRepoFormFieldTime.CommitPhaseOneInstance commits formfieldtime staged instances of FormFieldTime 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 (*BackRepoFormFieldTimeStruct) CommitPhaseTwo ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldTime.CommitPhaseTwo commits all staged instances of FormFieldTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldTimeStruct) CommitPhaseTwoInstance ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldtime *models.FormFieldTime) (Error error)
BackRepoFormFieldTime.CommitPhaseTwoInstance commits {{structname }} of models.FormFieldTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldTimeStruct) GetDB ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) GetDB() *gorm.DB
func (*BackRepoFormFieldTimeStruct) GetFormFieldTimeDBFromFormFieldTimePtr ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) GetFormFieldTimeDBFromFormFieldTimePtr(formfieldtime *models.FormFieldTime) (formfieldtimeDB *FormFieldTimeDB)
GetFormFieldTimeDBFromFormFieldTimePtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldTimeStruct) GetStage ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) GetStage() (stage *models.StageStruct)
func (*BackRepoFormFieldTimeStruct) ResetReversePointers ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldTime.ResetReversePointers commits all staged instances of FormFieldTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldTimeStruct) ResetReversePointersInstance ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldtime *models.FormFieldTime) (Error error)
func (*BackRepoFormFieldTimeStruct) RestorePhaseOne ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldTimeDB.json" in dirPath that stores an array of FormFieldTimeDB and stores it in the database the map BackRepoFormFieldTimeid_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldTimeStruct) RestorePhaseTwo ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormFieldTime>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldTimeStruct) RestoreXLPhaseOne ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormFieldTime" sheet all FormFieldTimeDB instances
type BackRepoFormGroupStruct ¶
type BackRepoFormGroupStruct struct { // stores FormGroupDB according to their gorm ID Map_FormGroupDBID_FormGroupDB map[uint]*FormGroupDB // stores FormGroupDB ID according to FormGroup address Map_FormGroupPtr_FormGroupDBID map[*models.FormGroup]uint // stores FormGroup according to their gorm ID Map_FormGroupDBID_FormGroupPtr map[uint]*models.FormGroup // contains filtered or unexported fields }
func (*BackRepoFormGroupStruct) Backup ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormGroupDB instances in the backrepo
func (*BackRepoFormGroupStruct) BackupXL ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormGroupDB instances in the backrepo
func (*BackRepoFormGroupStruct) CheckoutPhaseOne ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseOne() (Error error)
BackRepoFormGroup.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 (*BackRepoFormGroupStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseOneInstance(formgroupDB *FormGroupDB) (Error error)
CheckoutPhaseOneInstance takes a formgroupDB that has been found in the DB, updates the backRepo and stages the models version of the formgroupDB
func (*BackRepoFormGroupStruct) CheckoutPhaseTwo ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormGroup.CheckoutPhaseTwo Checkouts all staged instances of FormGroup to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormGroupStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formgroupDB *FormGroupDB) (Error error)
BackRepoFormGroup.CheckoutPhaseTwoInstance Checkouts staged instances of FormGroup to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormGroupStruct) CommitDeleteInstance ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormGroup.CommitDeleteInstance commits deletion of FormGroup to the BackRepo
func (*BackRepoFormGroupStruct) CommitPhaseOne ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
BackRepoFormGroup.CommitPhaseOne commits all staged instances of FormGroup 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 (*BackRepoFormGroupStruct) CommitPhaseOneInstance ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseOneInstance(formgroup *models.FormGroup) (Error error)
BackRepoFormGroup.CommitPhaseOneInstance commits formgroup staged instances of FormGroup 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 (*BackRepoFormGroupStruct) CommitPhaseTwo ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormGroup.CommitPhaseTwo commits all staged instances of FormGroup to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormGroupStruct) CommitPhaseTwoInstance ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formgroup *models.FormGroup) (Error error)
BackRepoFormGroup.CommitPhaseTwoInstance commits {{structname }} of models.FormGroup to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormGroupStruct) GetDB ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) GetDB() *gorm.DB
func (*BackRepoFormGroupStruct) GetFormGroupDBFromFormGroupPtr ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) GetFormGroupDBFromFormGroupPtr(formgroup *models.FormGroup) (formgroupDB *FormGroupDB)
GetFormGroupDBFromFormGroupPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormGroupStruct) GetStage ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) GetStage() (stage *models.StageStruct)
func (*BackRepoFormGroupStruct) ResetReversePointers ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormGroup.ResetReversePointers commits all staged instances of FormGroup to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormGroupStruct) ResetReversePointersInstance ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formgroup *models.FormGroup) (Error error)
func (*BackRepoFormGroupStruct) RestorePhaseOne ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormGroupDB.json" in dirPath that stores an array of FormGroupDB and stores it in the database the map BackRepoFormGroupid_atBckpTime_newID is updated accordingly
func (*BackRepoFormGroupStruct) RestorePhaseTwo ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormGroup>id_atBckpTime_newID to compute new index
func (*BackRepoFormGroupStruct) RestoreXLPhaseOne ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormGroup" sheet all FormGroupDB instances
type BackRepoFormSortAssocButtonStruct ¶
type BackRepoFormSortAssocButtonStruct struct { // stores FormSortAssocButtonDB according to their gorm ID Map_FormSortAssocButtonDBID_FormSortAssocButtonDB map[uint]*FormSortAssocButtonDB // stores FormSortAssocButtonDB ID according to FormSortAssocButton address Map_FormSortAssocButtonPtr_FormSortAssocButtonDBID map[*models.FormSortAssocButton]uint // stores FormSortAssocButton according to their gorm ID Map_FormSortAssocButtonDBID_FormSortAssocButtonPtr map[uint]*models.FormSortAssocButton // contains filtered or unexported fields }
func (*BackRepoFormSortAssocButtonStruct) Backup ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormSortAssocButtonDB instances in the backrepo
func (*BackRepoFormSortAssocButtonStruct) BackupXL ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormSortAssocButtonDB instances in the backrepo
func (*BackRepoFormSortAssocButtonStruct) CheckoutPhaseOne ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseOne() (Error error)
BackRepoFormSortAssocButton.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 (*BackRepoFormSortAssocButtonStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseOneInstance(formsortassocbuttonDB *FormSortAssocButtonDB) (Error error)
CheckoutPhaseOneInstance takes a formsortassocbuttonDB that has been found in the DB, updates the backRepo and stages the models version of the formsortassocbuttonDB
func (*BackRepoFormSortAssocButtonStruct) CheckoutPhaseTwo ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormSortAssocButton.CheckoutPhaseTwo Checkouts all staged instances of FormSortAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormSortAssocButtonStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formsortassocbuttonDB *FormSortAssocButtonDB) (Error error)
BackRepoFormSortAssocButton.CheckoutPhaseTwoInstance Checkouts staged instances of FormSortAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormSortAssocButtonStruct) CommitDeleteInstance ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormSortAssocButton.CommitDeleteInstance commits deletion of FormSortAssocButton to the BackRepo
func (*BackRepoFormSortAssocButtonStruct) CommitPhaseOne ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
BackRepoFormSortAssocButton.CommitPhaseOne commits all staged instances of FormSortAssocButton 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 (*BackRepoFormSortAssocButtonStruct) CommitPhaseOneInstance ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseOneInstance(formsortassocbutton *models.FormSortAssocButton) (Error error)
BackRepoFormSortAssocButton.CommitPhaseOneInstance commits formsortassocbutton staged instances of FormSortAssocButton 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 (*BackRepoFormSortAssocButtonStruct) CommitPhaseTwo ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormSortAssocButton.CommitPhaseTwo commits all staged instances of FormSortAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormSortAssocButtonStruct) CommitPhaseTwoInstance ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formsortassocbutton *models.FormSortAssocButton) (Error error)
BackRepoFormSortAssocButton.CommitPhaseTwoInstance commits {{structname }} of models.FormSortAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormSortAssocButtonStruct) GetDB ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) GetDB() *gorm.DB
func (*BackRepoFormSortAssocButtonStruct) GetFormSortAssocButtonDBFromFormSortAssocButtonPtr ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) GetFormSortAssocButtonDBFromFormSortAssocButtonPtr(formsortassocbutton *models.FormSortAssocButton) (formsortassocbuttonDB *FormSortAssocButtonDB)
GetFormSortAssocButtonDBFromFormSortAssocButtonPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormSortAssocButtonStruct) GetStage ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) GetStage() (stage *models.StageStruct)
func (*BackRepoFormSortAssocButtonStruct) ResetReversePointers ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormSortAssocButton.ResetReversePointers commits all staged instances of FormSortAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormSortAssocButtonStruct) ResetReversePointersInstance ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formsortassocbutton *models.FormSortAssocButton) (Error error)
func (*BackRepoFormSortAssocButtonStruct) RestorePhaseOne ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormSortAssocButtonDB.json" in dirPath that stores an array of FormSortAssocButtonDB and stores it in the database the map BackRepoFormSortAssocButtonid_atBckpTime_newID is updated accordingly
func (*BackRepoFormSortAssocButtonStruct) RestorePhaseTwo ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormSortAssocButton>id_atBckpTime_newID to compute new index
func (*BackRepoFormSortAssocButtonStruct) RestoreXLPhaseOne ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormSortAssocButton" sheet all FormSortAssocButtonDB instances
type BackRepoOptionStruct ¶
type BackRepoOptionStruct struct { // stores OptionDB according to their gorm ID Map_OptionDBID_OptionDB map[uint]*OptionDB // stores OptionDB ID according to Option address Map_OptionPtr_OptionDBID map[*models.Option]uint // stores Option according to their gorm ID Map_OptionDBID_OptionPtr map[uint]*models.Option // contains filtered or unexported fields }
func (*BackRepoOptionStruct) Backup ¶
func (backRepoOption *BackRepoOptionStruct) Backup(dirPath string)
Backup generates a json file from a slice of all OptionDB instances in the backrepo
func (*BackRepoOptionStruct) BackupXL ¶
func (backRepoOption *BackRepoOptionStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all OptionDB instances in the backrepo
func (*BackRepoOptionStruct) CheckoutPhaseOne ¶
func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseOne() (Error error)
BackRepoOption.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 (*BackRepoOptionStruct) CheckoutPhaseOneInstance ¶
func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseOneInstance(optionDB *OptionDB) (Error error)
CheckoutPhaseOneInstance takes a optionDB that has been found in the DB, updates the backRepo and stages the models version of the optionDB
func (*BackRepoOptionStruct) CheckoutPhaseTwo ¶
func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoOption.CheckoutPhaseTwo Checkouts all staged instances of Option to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoOptionStruct) CheckoutPhaseTwoInstance ¶
func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, optionDB *OptionDB) (Error error)
BackRepoOption.CheckoutPhaseTwoInstance Checkouts staged instances of Option to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoOptionStruct) CommitDeleteInstance ¶
func (backRepoOption *BackRepoOptionStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoOption.CommitDeleteInstance commits deletion of Option to the BackRepo
func (*BackRepoOptionStruct) CommitPhaseOne ¶
func (backRepoOption *BackRepoOptionStruct) CommitPhaseOne(stage *models.StageStruct) (Error error)
BackRepoOption.CommitPhaseOne commits all staged instances of Option 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 (*BackRepoOptionStruct) CommitPhaseOneInstance ¶
func (backRepoOption *BackRepoOptionStruct) CommitPhaseOneInstance(option *models.Option) (Error error)
BackRepoOption.CommitPhaseOneInstance commits option staged instances of Option 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 (*BackRepoOptionStruct) CommitPhaseTwo ¶
func (backRepoOption *BackRepoOptionStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoOption.CommitPhaseTwo commits all staged instances of Option to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoOptionStruct) CommitPhaseTwoInstance ¶
func (backRepoOption *BackRepoOptionStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, option *models.Option) (Error error)
BackRepoOption.CommitPhaseTwoInstance commits {{structname }} of models.Option to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoOptionStruct) GetDB ¶
func (backRepoOption *BackRepoOptionStruct) GetDB() *gorm.DB
func (*BackRepoOptionStruct) GetOptionDBFromOptionPtr ¶
func (backRepoOption *BackRepoOptionStruct) GetOptionDBFromOptionPtr(option *models.Option) (optionDB *OptionDB)
GetOptionDBFromOptionPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoOptionStruct) GetStage ¶
func (backRepoOption *BackRepoOptionStruct) GetStage() (stage *models.StageStruct)
func (*BackRepoOptionStruct) ResetReversePointers ¶
func (backRepoOption *BackRepoOptionStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoOption.ResetReversePointers commits all staged instances of Option to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoOptionStruct) ResetReversePointersInstance ¶
func (backRepoOption *BackRepoOptionStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, option *models.Option) (Error error)
func (*BackRepoOptionStruct) RestorePhaseOne ¶
func (backRepoOption *BackRepoOptionStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "OptionDB.json" in dirPath that stores an array of OptionDB and stores it in the database the map BackRepoOptionid_atBckpTime_newID is updated accordingly
func (*BackRepoOptionStruct) RestorePhaseTwo ¶
func (backRepoOption *BackRepoOptionStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Option>id_atBckpTime_newID to compute new index
func (*BackRepoOptionStruct) RestoreXLPhaseOne ¶
func (backRepoOption *BackRepoOptionStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Option" sheet all OptionDB instances
type BackRepoStruct ¶
type BackRepoStruct struct { // insertion point for per struct back repo declarations BackRepoCheckBox BackRepoCheckBoxStruct BackRepoFormDiv BackRepoFormDivStruct BackRepoFormEditAssocButton BackRepoFormEditAssocButtonStruct BackRepoFormField BackRepoFormFieldStruct BackRepoFormFieldDate BackRepoFormFieldDateStruct BackRepoFormFieldDateTime BackRepoFormFieldDateTimeStruct BackRepoFormFieldFloat64 BackRepoFormFieldFloat64Struct BackRepoFormFieldInt BackRepoFormFieldIntStruct BackRepoFormFieldSelect BackRepoFormFieldSelectStruct BackRepoFormFieldString BackRepoFormFieldStringStruct BackRepoFormFieldTime BackRepoFormFieldTimeStruct BackRepoFormGroup BackRepoFormGroupStruct BackRepoFormSortAssocButton BackRepoFormSortAssocButtonStruct BackRepoOption BackRepoOptionStruct 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.StageStruct, filename string) (backRepo *BackRepoStruct)
func (*BackRepoStruct) Backup ¶
func (backRepo *BackRepoStruct) Backup(stage *models.StageStruct, dirPath string)
Backup the BackRepoStruct
func (*BackRepoStruct) BackupXL ¶
func (backRepo *BackRepoStruct) BackupXL(stage *models.StageStruct, dirPath string)
Backup in XL the BackRepoStruct
func (*BackRepoStruct) Checkout ¶
func (backRepo *BackRepoStruct) Checkout(stage *models.StageStruct)
Checkout the database into the stage
func (*BackRepoStruct) CheckoutCheckBox ¶
func (backRepo *BackRepoStruct) CheckoutCheckBox(checkbox *models.CheckBox)
CommitCheckBox allows checkout of a single checkbox (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormDiv ¶
func (backRepo *BackRepoStruct) CheckoutFormDiv(formdiv *models.FormDiv)
CommitFormDiv allows checkout of a single formdiv (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormEditAssocButton ¶
func (backRepo *BackRepoStruct) CheckoutFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
CommitFormEditAssocButton allows checkout of a single formeditassocbutton (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormField ¶
func (backRepo *BackRepoStruct) CheckoutFormField(formfield *models.FormField)
CommitFormField allows checkout of a single formfield (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormFieldDate ¶
func (backRepo *BackRepoStruct) CheckoutFormFieldDate(formfielddate *models.FormFieldDate)
CommitFormFieldDate allows checkout of a single formfielddate (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormFieldDateTime ¶
func (backRepo *BackRepoStruct) CheckoutFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
CommitFormFieldDateTime allows checkout of a single formfielddatetime (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormFieldFloat64 ¶
func (backRepo *BackRepoStruct) CheckoutFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
CommitFormFieldFloat64 allows checkout of a single formfieldfloat64 (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormFieldInt ¶
func (backRepo *BackRepoStruct) CheckoutFormFieldInt(formfieldint *models.FormFieldInt)
CommitFormFieldInt allows checkout of a single formfieldint (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormFieldSelect ¶
func (backRepo *BackRepoStruct) CheckoutFormFieldSelect(formfieldselect *models.FormFieldSelect)
CommitFormFieldSelect allows checkout of a single formfieldselect (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormFieldString ¶
func (backRepo *BackRepoStruct) CheckoutFormFieldString(formfieldstring *models.FormFieldString)
CommitFormFieldString allows checkout of a single formfieldstring (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormFieldTime ¶
func (backRepo *BackRepoStruct) CheckoutFormFieldTime(formfieldtime *models.FormFieldTime)
CommitFormFieldTime allows checkout of a single formfieldtime (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormGroup ¶
func (backRepo *BackRepoStruct) CheckoutFormGroup(formgroup *models.FormGroup)
CommitFormGroup allows checkout of a single formgroup (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormSortAssocButton ¶
func (backRepo *BackRepoStruct) CheckoutFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
CommitFormSortAssocButton allows checkout of a single formsortassocbutton (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutOption ¶
func (backRepo *BackRepoStruct) CheckoutOption(option *models.Option)
CommitOption allows checkout of a single option (if already staged and with a BackRepo id)
func (*BackRepoStruct) Commit ¶
func (backRepo *BackRepoStruct) Commit(stage *models.StageStruct)
Commit the BackRepoStruct inner variables and link to the database
func (*BackRepoStruct) CommitCheckBox ¶
func (backRepo *BackRepoStruct) CommitCheckBox(checkbox *models.CheckBox)
CommitCheckBox allows commit of a single checkbox (if already staged)
func (*BackRepoStruct) CommitFormDiv ¶
func (backRepo *BackRepoStruct) CommitFormDiv(formdiv *models.FormDiv)
CommitFormDiv allows commit of a single formdiv (if already staged)
func (*BackRepoStruct) CommitFormEditAssocButton ¶
func (backRepo *BackRepoStruct) CommitFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
CommitFormEditAssocButton allows commit of a single formeditassocbutton (if already staged)
func (*BackRepoStruct) CommitFormField ¶
func (backRepo *BackRepoStruct) CommitFormField(formfield *models.FormField)
CommitFormField allows commit of a single formfield (if already staged)
func (*BackRepoStruct) CommitFormFieldDate ¶
func (backRepo *BackRepoStruct) CommitFormFieldDate(formfielddate *models.FormFieldDate)
CommitFormFieldDate allows commit of a single formfielddate (if already staged)
func (*BackRepoStruct) CommitFormFieldDateTime ¶
func (backRepo *BackRepoStruct) CommitFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
CommitFormFieldDateTime allows commit of a single formfielddatetime (if already staged)
func (*BackRepoStruct) CommitFormFieldFloat64 ¶
func (backRepo *BackRepoStruct) CommitFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
CommitFormFieldFloat64 allows commit of a single formfieldfloat64 (if already staged)
func (*BackRepoStruct) CommitFormFieldInt ¶
func (backRepo *BackRepoStruct) CommitFormFieldInt(formfieldint *models.FormFieldInt)
CommitFormFieldInt allows commit of a single formfieldint (if already staged)
func (*BackRepoStruct) CommitFormFieldSelect ¶
func (backRepo *BackRepoStruct) CommitFormFieldSelect(formfieldselect *models.FormFieldSelect)
CommitFormFieldSelect allows commit of a single formfieldselect (if already staged)
func (*BackRepoStruct) CommitFormFieldString ¶
func (backRepo *BackRepoStruct) CommitFormFieldString(formfieldstring *models.FormFieldString)
CommitFormFieldString allows commit of a single formfieldstring (if already staged)
func (*BackRepoStruct) CommitFormFieldTime ¶
func (backRepo *BackRepoStruct) CommitFormFieldTime(formfieldtime *models.FormFieldTime)
CommitFormFieldTime allows commit of a single formfieldtime (if already staged)
func (*BackRepoStruct) CommitFormGroup ¶
func (backRepo *BackRepoStruct) CommitFormGroup(formgroup *models.FormGroup)
CommitFormGroup allows commit of a single formgroup (if already staged)
func (*BackRepoStruct) CommitFormSortAssocButton ¶
func (backRepo *BackRepoStruct) CommitFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
CommitFormSortAssocButton allows commit of a single formsortassocbutton (if already staged)
func (*BackRepoStruct) CommitOption ¶
func (backRepo *BackRepoStruct) CommitOption(option *models.Option)
CommitOption allows commit of a single option (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.StageStruct)
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.StageStruct, dirPath string)
Restore the database into the back repo
func (*BackRepoStruct) RestoreXL ¶
func (backRepo *BackRepoStruct) RestoreXL(stage *models.StageStruct, dirPath string)
Restore the database into the back repo
type CheckBoxAPI ¶
type CheckBoxAPI struct { gorm.Model models.CheckBox_WOP // encoding of pointers CheckBoxPointersEncoding CheckBoxPointersEncoding }
CheckBoxAPI 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 checkboxAPI
type CheckBoxDB ¶
type CheckBoxDB struct { gorm.Model // Declation for basic field checkboxDB.Name Name_Data sql.NullString // Declation for basic field checkboxDB.Value // provide the sql storage for the boolan Value_Data sql.NullBool // encoding of pointers CheckBoxPointersEncoding }
CheckBoxDB describes a checkbox 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 checkboxDB
func (*CheckBoxDB) CopyBasicFieldsFromCheckBox ¶
func (checkboxDB *CheckBoxDB) CopyBasicFieldsFromCheckBox(checkbox *models.CheckBox)
CopyBasicFieldsFromCheckBox
func (*CheckBoxDB) CopyBasicFieldsFromCheckBoxWOP ¶
func (checkboxDB *CheckBoxDB) CopyBasicFieldsFromCheckBoxWOP(checkbox *CheckBoxWOP)
CopyBasicFieldsFromCheckBoxWOP
func (*CheckBoxDB) CopyBasicFieldsFromCheckBox_WOP ¶
func (checkboxDB *CheckBoxDB) CopyBasicFieldsFromCheckBox_WOP(checkbox *models.CheckBox_WOP)
CopyBasicFieldsFromCheckBox_WOP
func (*CheckBoxDB) CopyBasicFieldsToCheckBox ¶
func (checkboxDB *CheckBoxDB) CopyBasicFieldsToCheckBox(checkbox *models.CheckBox)
CopyBasicFieldsToCheckBox
func (*CheckBoxDB) CopyBasicFieldsToCheckBoxWOP ¶
func (checkboxDB *CheckBoxDB) CopyBasicFieldsToCheckBoxWOP(checkbox *CheckBoxWOP)
CopyBasicFieldsToCheckBoxWOP
func (*CheckBoxDB) CopyBasicFieldsToCheckBox_WOP ¶
func (checkboxDB *CheckBoxDB) CopyBasicFieldsToCheckBox_WOP(checkbox *models.CheckBox_WOP)
CopyBasicFieldsToCheckBox_WOP
func (*CheckBoxDB) DecodePointers ¶
func (checkboxDB *CheckBoxDB) DecodePointers(backRepo *BackRepoStruct, checkbox *models.CheckBox)
type CheckBoxDBResponse ¶
type CheckBoxDBResponse struct {
CheckBoxDB
}
CheckBoxDBResponse provides response swagger:response checkboxDBResponse
type CheckBoxDBs ¶
type CheckBoxDBs []CheckBoxDB
CheckBoxDBs arrays checkboxDBs swagger:response checkboxDBsResponse
type CheckBoxPointersEncoding ¶
type CheckBoxPointersEncoding struct { }
CheckBoxPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type CheckBoxWOP ¶
CheckBoxWOP is a CheckBox without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormDivAPI ¶
type FormDivAPI struct { gorm.Model models.FormDiv_WOP // encoding of pointers FormDivPointersEncoding FormDivPointersEncoding }
FormDivAPI 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 formdivAPI
type FormDivDB ¶
type FormDivDB struct { gorm.Model // Declation for basic field formdivDB.Name Name_Data sql.NullString // encoding of pointers FormDivPointersEncoding }
FormDivDB describes a formdiv 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 formdivDB
func (*FormDivDB) CopyBasicFieldsFromFormDiv ¶
CopyBasicFieldsFromFormDiv
func (*FormDivDB) CopyBasicFieldsFromFormDivWOP ¶
func (formdivDB *FormDivDB) CopyBasicFieldsFromFormDivWOP(formdiv *FormDivWOP)
CopyBasicFieldsFromFormDivWOP
func (*FormDivDB) CopyBasicFieldsFromFormDiv_WOP ¶
func (formdivDB *FormDivDB) CopyBasicFieldsFromFormDiv_WOP(formdiv *models.FormDiv_WOP)
CopyBasicFieldsFromFormDiv_WOP
func (*FormDivDB) CopyBasicFieldsToFormDiv ¶
CopyBasicFieldsToFormDiv
func (*FormDivDB) CopyBasicFieldsToFormDivWOP ¶
func (formdivDB *FormDivDB) CopyBasicFieldsToFormDivWOP(formdiv *FormDivWOP)
CopyBasicFieldsToFormDivWOP
func (*FormDivDB) CopyBasicFieldsToFormDiv_WOP ¶
func (formdivDB *FormDivDB) CopyBasicFieldsToFormDiv_WOP(formdiv *models.FormDiv_WOP)
CopyBasicFieldsToFormDiv_WOP
func (*FormDivDB) DecodePointers ¶
func (formdivDB *FormDivDB) DecodePointers(backRepo *BackRepoStruct, formdiv *models.FormDiv)
type FormDivDBResponse ¶
type FormDivDBResponse struct {
FormDivDB
}
FormDivDBResponse provides response swagger:response formdivDBResponse
type FormDivDBs ¶
type FormDivDBs []FormDivDB
FormDivDBs arrays formdivDBs swagger:response formdivDBsResponse
type FormDivPointersEncoding ¶
type FormDivPointersEncoding struct { // field FormFields is a slice of pointers to another Struct (optional or 0..1) FormFields IntSlice `gorm:"type:TEXT"` // field CheckBoxs is a slice of pointers to another Struct (optional or 0..1) CheckBoxs IntSlice `gorm:"type:TEXT"` // field FormEditAssocButton is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormEditAssocButtonID sql.NullInt64 // field FormSortAssocButton is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormSortAssocButtonID sql.NullInt64 }
FormDivPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormDivWOP ¶
FormDivWOP is a FormDiv without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormEditAssocButtonAPI ¶
type FormEditAssocButtonAPI struct { gorm.Model models.FormEditAssocButton_WOP // encoding of pointers FormEditAssocButtonPointersEncoding FormEditAssocButtonPointersEncoding }
FormEditAssocButtonAPI 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 formeditassocbuttonAPI
type FormEditAssocButtonDB ¶
type FormEditAssocButtonDB struct { gorm.Model // Declation for basic field formeditassocbuttonDB.Name Name_Data sql.NullString // Declation for basic field formeditassocbuttonDB.Label Label_Data sql.NullString // encoding of pointers FormEditAssocButtonPointersEncoding }
FormEditAssocButtonDB describes a formeditassocbutton 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 formeditassocbuttonDB
func (*FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButton ¶
func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
CopyBasicFieldsFromFormEditAssocButton
func (*FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButtonWOP ¶
func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButtonWOP(formeditassocbutton *FormEditAssocButtonWOP)
CopyBasicFieldsFromFormEditAssocButtonWOP
func (*FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButton_WOP ¶
func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButton_WOP(formeditassocbutton *models.FormEditAssocButton_WOP)
CopyBasicFieldsFromFormEditAssocButton_WOP
func (*FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButton ¶
func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
CopyBasicFieldsToFormEditAssocButton
func (*FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButtonWOP ¶
func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButtonWOP(formeditassocbutton *FormEditAssocButtonWOP)
CopyBasicFieldsToFormEditAssocButtonWOP
func (*FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButton_WOP ¶
func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButton_WOP(formeditassocbutton *models.FormEditAssocButton_WOP)
CopyBasicFieldsToFormEditAssocButton_WOP
func (*FormEditAssocButtonDB) DecodePointers ¶
func (formeditassocbuttonDB *FormEditAssocButtonDB) DecodePointers(backRepo *BackRepoStruct, formeditassocbutton *models.FormEditAssocButton)
type FormEditAssocButtonDBResponse ¶
type FormEditAssocButtonDBResponse struct {
FormEditAssocButtonDB
}
FormEditAssocButtonDBResponse provides response swagger:response formeditassocbuttonDBResponse
type FormEditAssocButtonDBs ¶
type FormEditAssocButtonDBs []FormEditAssocButtonDB
FormEditAssocButtonDBs arrays formeditassocbuttonDBs swagger:response formeditassocbuttonDBsResponse
type FormEditAssocButtonPointersEncoding ¶
type FormEditAssocButtonPointersEncoding struct { }
FormEditAssocButtonPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormEditAssocButtonWOP ¶
type FormEditAssocButtonWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Label string `xlsx:"2"` }
FormEditAssocButtonWOP is a FormEditAssocButton without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldAPI ¶
type FormFieldAPI struct { gorm.Model models.FormField_WOP // encoding of pointers FormFieldPointersEncoding FormFieldPointersEncoding }
FormFieldAPI 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 formfieldAPI
type FormFieldDB ¶
type FormFieldDB struct { gorm.Model // Declation for basic field formfieldDB.Name Name_Data sql.NullString // Declation for basic field formfieldDB.InputTypeEnum InputTypeEnum_Data sql.NullString // Declation for basic field formfieldDB.Label Label_Data sql.NullString // Declation for basic field formfieldDB.Placeholder Placeholder_Data sql.NullString // Declation for basic field formfieldDB.HasBespokeWidth // provide the sql storage for the boolan HasBespokeWidth_Data sql.NullBool // Declation for basic field formfieldDB.BespokeWidthPx BespokeWidthPx_Data sql.NullInt64 // encoding of pointers FormFieldPointersEncoding }
FormFieldDB describes a formfield 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 formfieldDB
func (*FormFieldDB) CopyBasicFieldsFromFormField ¶
func (formfieldDB *FormFieldDB) CopyBasicFieldsFromFormField(formfield *models.FormField)
CopyBasicFieldsFromFormField
func (*FormFieldDB) CopyBasicFieldsFromFormFieldWOP ¶
func (formfieldDB *FormFieldDB) CopyBasicFieldsFromFormFieldWOP(formfield *FormFieldWOP)
CopyBasicFieldsFromFormFieldWOP
func (*FormFieldDB) CopyBasicFieldsFromFormField_WOP ¶
func (formfieldDB *FormFieldDB) CopyBasicFieldsFromFormField_WOP(formfield *models.FormField_WOP)
CopyBasicFieldsFromFormField_WOP
func (*FormFieldDB) CopyBasicFieldsToFormField ¶
func (formfieldDB *FormFieldDB) CopyBasicFieldsToFormField(formfield *models.FormField)
CopyBasicFieldsToFormField
func (*FormFieldDB) CopyBasicFieldsToFormFieldWOP ¶
func (formfieldDB *FormFieldDB) CopyBasicFieldsToFormFieldWOP(formfield *FormFieldWOP)
CopyBasicFieldsToFormFieldWOP
func (*FormFieldDB) CopyBasicFieldsToFormField_WOP ¶
func (formfieldDB *FormFieldDB) CopyBasicFieldsToFormField_WOP(formfield *models.FormField_WOP)
CopyBasicFieldsToFormField_WOP
func (*FormFieldDB) DecodePointers ¶
func (formfieldDB *FormFieldDB) DecodePointers(backRepo *BackRepoStruct, formfield *models.FormField)
type FormFieldDBResponse ¶
type FormFieldDBResponse struct {
FormFieldDB
}
FormFieldDBResponse provides response swagger:response formfieldDBResponse
type FormFieldDBs ¶
type FormFieldDBs []FormFieldDB
FormFieldDBs arrays formfieldDBs swagger:response formfieldDBsResponse
type FormFieldDateAPI ¶
type FormFieldDateAPI struct { gorm.Model models.FormFieldDate_WOP // encoding of pointers FormFieldDatePointersEncoding FormFieldDatePointersEncoding }
FormFieldDateAPI 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 formfielddateAPI
type FormFieldDateDB ¶
type FormFieldDateDB struct { gorm.Model // Declation for basic field formfielddateDB.Name Name_Data sql.NullString // Declation for basic field formfielddateDB.Value Value_Data sql.NullTime // encoding of pointers FormFieldDatePointersEncoding }
FormFieldDateDB describes a formfielddate 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 formfielddateDB
func (*FormFieldDateDB) CopyBasicFieldsFromFormFieldDate ¶
func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsFromFormFieldDate(formfielddate *models.FormFieldDate)
CopyBasicFieldsFromFormFieldDate
func (*FormFieldDateDB) CopyBasicFieldsFromFormFieldDateWOP ¶
func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsFromFormFieldDateWOP(formfielddate *FormFieldDateWOP)
CopyBasicFieldsFromFormFieldDateWOP
func (*FormFieldDateDB) CopyBasicFieldsFromFormFieldDate_WOP ¶
func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsFromFormFieldDate_WOP(formfielddate *models.FormFieldDate_WOP)
CopyBasicFieldsFromFormFieldDate_WOP
func (*FormFieldDateDB) CopyBasicFieldsToFormFieldDate ¶
func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsToFormFieldDate(formfielddate *models.FormFieldDate)
CopyBasicFieldsToFormFieldDate
func (*FormFieldDateDB) CopyBasicFieldsToFormFieldDateWOP ¶
func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsToFormFieldDateWOP(formfielddate *FormFieldDateWOP)
CopyBasicFieldsToFormFieldDateWOP
func (*FormFieldDateDB) CopyBasicFieldsToFormFieldDate_WOP ¶
func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsToFormFieldDate_WOP(formfielddate *models.FormFieldDate_WOP)
CopyBasicFieldsToFormFieldDate_WOP
func (*FormFieldDateDB) DecodePointers ¶
func (formfielddateDB *FormFieldDateDB) DecodePointers(backRepo *BackRepoStruct, formfielddate *models.FormFieldDate)
type FormFieldDateDBResponse ¶
type FormFieldDateDBResponse struct {
FormFieldDateDB
}
FormFieldDateDBResponse provides response swagger:response formfielddateDBResponse
type FormFieldDateDBs ¶
type FormFieldDateDBs []FormFieldDateDB
FormFieldDateDBs arrays formfielddateDBs swagger:response formfielddateDBsResponse
type FormFieldDatePointersEncoding ¶
type FormFieldDatePointersEncoding struct { }
FormFieldDatePointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldDateTimeAPI ¶
type FormFieldDateTimeAPI struct { gorm.Model models.FormFieldDateTime_WOP // encoding of pointers FormFieldDateTimePointersEncoding FormFieldDateTimePointersEncoding }
FormFieldDateTimeAPI 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 formfielddatetimeAPI
type FormFieldDateTimeDB ¶
type FormFieldDateTimeDB struct { gorm.Model // Declation for basic field formfielddatetimeDB.Name Name_Data sql.NullString // Declation for basic field formfielddatetimeDB.Value Value_Data sql.NullTime // encoding of pointers FormFieldDateTimePointersEncoding }
FormFieldDateTimeDB describes a formfielddatetime 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 formfielddatetimeDB
func (*FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTime ¶
func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
CopyBasicFieldsFromFormFieldDateTime
func (*FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTimeWOP ¶
func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTimeWOP(formfielddatetime *FormFieldDateTimeWOP)
CopyBasicFieldsFromFormFieldDateTimeWOP
func (*FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTime_WOP ¶
func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTime_WOP(formfielddatetime *models.FormFieldDateTime_WOP)
CopyBasicFieldsFromFormFieldDateTime_WOP
func (*FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTime ¶
func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
CopyBasicFieldsToFormFieldDateTime
func (*FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTimeWOP ¶
func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTimeWOP(formfielddatetime *FormFieldDateTimeWOP)
CopyBasicFieldsToFormFieldDateTimeWOP
func (*FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTime_WOP ¶
func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTime_WOP(formfielddatetime *models.FormFieldDateTime_WOP)
CopyBasicFieldsToFormFieldDateTime_WOP
func (*FormFieldDateTimeDB) DecodePointers ¶
func (formfielddatetimeDB *FormFieldDateTimeDB) DecodePointers(backRepo *BackRepoStruct, formfielddatetime *models.FormFieldDateTime)
type FormFieldDateTimeDBResponse ¶
type FormFieldDateTimeDBResponse struct {
FormFieldDateTimeDB
}
FormFieldDateTimeDBResponse provides response swagger:response formfielddatetimeDBResponse
type FormFieldDateTimeDBs ¶
type FormFieldDateTimeDBs []FormFieldDateTimeDB
FormFieldDateTimeDBs arrays formfielddatetimeDBs swagger:response formfielddatetimeDBsResponse
type FormFieldDateTimePointersEncoding ¶
type FormFieldDateTimePointersEncoding struct { }
FormFieldDateTimePointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldDateTimeWOP ¶
type FormFieldDateTimeWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Value time.Time `xlsx:"2"` }
FormFieldDateTimeWOP is a FormFieldDateTime without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldDateWOP ¶
type FormFieldDateWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Value time.Time `xlsx:"2"` }
FormFieldDateWOP is a FormFieldDate without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldFloat64API ¶
type FormFieldFloat64API struct { gorm.Model models.FormFieldFloat64_WOP // encoding of pointers FormFieldFloat64PointersEncoding FormFieldFloat64PointersEncoding }
FormFieldFloat64API 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 formfieldfloat64API
type FormFieldFloat64DB ¶
type FormFieldFloat64DB struct { gorm.Model // Declation for basic field formfieldfloat64DB.Name Name_Data sql.NullString // Declation for basic field formfieldfloat64DB.Value Value_Data sql.NullFloat64 // Declation for basic field formfieldfloat64DB.HasMinValidator // provide the sql storage for the boolan HasMinValidator_Data sql.NullBool // Declation for basic field formfieldfloat64DB.MinValue MinValue_Data sql.NullFloat64 // Declation for basic field formfieldfloat64DB.HasMaxValidator // provide the sql storage for the boolan HasMaxValidator_Data sql.NullBool // Declation for basic field formfieldfloat64DB.MaxValue MaxValue_Data sql.NullFloat64 // encoding of pointers FormFieldFloat64PointersEncoding }
FormFieldFloat64DB describes a formfieldfloat64 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 formfieldfloat64DB
func (*FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64 ¶
func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
CopyBasicFieldsFromFormFieldFloat64
func (*FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64WOP ¶
func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64WOP(formfieldfloat64 *FormFieldFloat64WOP)
CopyBasicFieldsFromFormFieldFloat64WOP
func (*FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64_WOP ¶
func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64_WOP(formfieldfloat64 *models.FormFieldFloat64_WOP)
CopyBasicFieldsFromFormFieldFloat64_WOP
func (*FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64 ¶
func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
CopyBasicFieldsToFormFieldFloat64
func (*FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64WOP ¶
func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64WOP(formfieldfloat64 *FormFieldFloat64WOP)
CopyBasicFieldsToFormFieldFloat64WOP
func (*FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64_WOP ¶
func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64_WOP(formfieldfloat64 *models.FormFieldFloat64_WOP)
CopyBasicFieldsToFormFieldFloat64_WOP
func (*FormFieldFloat64DB) DecodePointers ¶
func (formfieldfloat64DB *FormFieldFloat64DB) DecodePointers(backRepo *BackRepoStruct, formfieldfloat64 *models.FormFieldFloat64)
type FormFieldFloat64DBResponse ¶
type FormFieldFloat64DBResponse struct {
FormFieldFloat64DB
}
FormFieldFloat64DBResponse provides response swagger:response formfieldfloat64DBResponse
type FormFieldFloat64DBs ¶
type FormFieldFloat64DBs []FormFieldFloat64DB
FormFieldFloat64DBs arrays formfieldfloat64DBs swagger:response formfieldfloat64DBsResponse
type FormFieldFloat64PointersEncoding ¶
type FormFieldFloat64PointersEncoding struct { }
FormFieldFloat64PointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldFloat64WOP ¶
type FormFieldFloat64WOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Value float64 `xlsx:"2"` HasMinValidator bool `xlsx:"3"` MinValue float64 `xlsx:"4"` HasMaxValidator bool `xlsx:"5"` MaxValue float64 `xlsx:"6"` }
FormFieldFloat64WOP is a FormFieldFloat64 without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldIntAPI ¶
type FormFieldIntAPI struct { gorm.Model models.FormFieldInt_WOP // encoding of pointers FormFieldIntPointersEncoding FormFieldIntPointersEncoding }
FormFieldIntAPI 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 formfieldintAPI
type FormFieldIntDB ¶
type FormFieldIntDB struct { gorm.Model // Declation for basic field formfieldintDB.Name Name_Data sql.NullString // Declation for basic field formfieldintDB.Value Value_Data sql.NullInt64 // Declation for basic field formfieldintDB.HasMinValidator // provide the sql storage for the boolan HasMinValidator_Data sql.NullBool // Declation for basic field formfieldintDB.MinValue MinValue_Data sql.NullInt64 // Declation for basic field formfieldintDB.HasMaxValidator // provide the sql storage for the boolan HasMaxValidator_Data sql.NullBool // Declation for basic field formfieldintDB.MaxValue MaxValue_Data sql.NullInt64 // encoding of pointers FormFieldIntPointersEncoding }
FormFieldIntDB describes a formfieldint 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 formfieldintDB
func (*FormFieldIntDB) CopyBasicFieldsFromFormFieldInt ¶
func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsFromFormFieldInt(formfieldint *models.FormFieldInt)
CopyBasicFieldsFromFormFieldInt
func (*FormFieldIntDB) CopyBasicFieldsFromFormFieldIntWOP ¶
func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsFromFormFieldIntWOP(formfieldint *FormFieldIntWOP)
CopyBasicFieldsFromFormFieldIntWOP
func (*FormFieldIntDB) CopyBasicFieldsFromFormFieldInt_WOP ¶
func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsFromFormFieldInt_WOP(formfieldint *models.FormFieldInt_WOP)
CopyBasicFieldsFromFormFieldInt_WOP
func (*FormFieldIntDB) CopyBasicFieldsToFormFieldInt ¶
func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsToFormFieldInt(formfieldint *models.FormFieldInt)
CopyBasicFieldsToFormFieldInt
func (*FormFieldIntDB) CopyBasicFieldsToFormFieldIntWOP ¶
func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsToFormFieldIntWOP(formfieldint *FormFieldIntWOP)
CopyBasicFieldsToFormFieldIntWOP
func (*FormFieldIntDB) CopyBasicFieldsToFormFieldInt_WOP ¶
func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsToFormFieldInt_WOP(formfieldint *models.FormFieldInt_WOP)
CopyBasicFieldsToFormFieldInt_WOP
func (*FormFieldIntDB) DecodePointers ¶
func (formfieldintDB *FormFieldIntDB) DecodePointers(backRepo *BackRepoStruct, formfieldint *models.FormFieldInt)
type FormFieldIntDBResponse ¶
type FormFieldIntDBResponse struct {
FormFieldIntDB
}
FormFieldIntDBResponse provides response swagger:response formfieldintDBResponse
type FormFieldIntDBs ¶
type FormFieldIntDBs []FormFieldIntDB
FormFieldIntDBs arrays formfieldintDBs swagger:response formfieldintDBsResponse
type FormFieldIntPointersEncoding ¶
type FormFieldIntPointersEncoding struct { }
FormFieldIntPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldIntWOP ¶
type FormFieldIntWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Value int `xlsx:"2"` HasMinValidator bool `xlsx:"3"` MinValue int `xlsx:"4"` HasMaxValidator bool `xlsx:"5"` MaxValue int `xlsx:"6"` }
FormFieldIntWOP is a FormFieldInt without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldPointersEncoding ¶
type FormFieldPointersEncoding struct { // field FormFieldString is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormFieldStringID sql.NullInt64 // field FormFieldFloat64 is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormFieldFloat64ID sql.NullInt64 // field FormFieldInt is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormFieldIntID sql.NullInt64 // field FormFieldDate is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormFieldDateID sql.NullInt64 // field FormFieldTime is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormFieldTimeID sql.NullInt64 // field FormFieldDateTime is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormFieldDateTimeID sql.NullInt64 // field FormFieldSelect is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormFieldSelectID sql.NullInt64 }
FormFieldPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldSelectAPI ¶
type FormFieldSelectAPI struct { gorm.Model models.FormFieldSelect_WOP // encoding of pointers FormFieldSelectPointersEncoding FormFieldSelectPointersEncoding }
FormFieldSelectAPI 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 formfieldselectAPI
type FormFieldSelectDB ¶
type FormFieldSelectDB struct { gorm.Model // Declation for basic field formfieldselectDB.Name Name_Data sql.NullString // Declation for basic field formfieldselectDB.CanBeEmpty // provide the sql storage for the boolan CanBeEmpty_Data sql.NullBool // encoding of pointers FormFieldSelectPointersEncoding }
FormFieldSelectDB describes a formfieldselect 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 formfieldselectDB
func (*FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelect ¶
func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelect(formfieldselect *models.FormFieldSelect)
CopyBasicFieldsFromFormFieldSelect
func (*FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelectWOP ¶
func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelectWOP(formfieldselect *FormFieldSelectWOP)
CopyBasicFieldsFromFormFieldSelectWOP
func (*FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelect_WOP ¶
func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelect_WOP(formfieldselect *models.FormFieldSelect_WOP)
CopyBasicFieldsFromFormFieldSelect_WOP
func (*FormFieldSelectDB) CopyBasicFieldsToFormFieldSelect ¶
func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsToFormFieldSelect(formfieldselect *models.FormFieldSelect)
CopyBasicFieldsToFormFieldSelect
func (*FormFieldSelectDB) CopyBasicFieldsToFormFieldSelectWOP ¶
func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsToFormFieldSelectWOP(formfieldselect *FormFieldSelectWOP)
CopyBasicFieldsToFormFieldSelectWOP
func (*FormFieldSelectDB) CopyBasicFieldsToFormFieldSelect_WOP ¶
func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsToFormFieldSelect_WOP(formfieldselect *models.FormFieldSelect_WOP)
CopyBasicFieldsToFormFieldSelect_WOP
func (*FormFieldSelectDB) DecodePointers ¶
func (formfieldselectDB *FormFieldSelectDB) DecodePointers(backRepo *BackRepoStruct, formfieldselect *models.FormFieldSelect)
type FormFieldSelectDBResponse ¶
type FormFieldSelectDBResponse struct {
FormFieldSelectDB
}
FormFieldSelectDBResponse provides response swagger:response formfieldselectDBResponse
type FormFieldSelectDBs ¶
type FormFieldSelectDBs []FormFieldSelectDB
FormFieldSelectDBs arrays formfieldselectDBs swagger:response formfieldselectDBsResponse
type FormFieldSelectPointersEncoding ¶
type FormFieldSelectPointersEncoding struct { // field Value is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association ValueID sql.NullInt64 // field Options is a slice of pointers to another Struct (optional or 0..1) Options IntSlice `gorm:"type:TEXT"` }
FormFieldSelectPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldSelectWOP ¶
type FormFieldSelectWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` CanBeEmpty bool `xlsx:"2"` }
FormFieldSelectWOP is a FormFieldSelect without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldStringAPI ¶
type FormFieldStringAPI struct { gorm.Model models.FormFieldString_WOP // encoding of pointers FormFieldStringPointersEncoding FormFieldStringPointersEncoding }
FormFieldStringAPI 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 formfieldstringAPI
type FormFieldStringDB ¶
type FormFieldStringDB struct { gorm.Model // Declation for basic field formfieldstringDB.Name Name_Data sql.NullString // Declation for basic field formfieldstringDB.Value Value_Data sql.NullString // Declation for basic field formfieldstringDB.IsTextArea // provide the sql storage for the boolan IsTextArea_Data sql.NullBool // encoding of pointers FormFieldStringPointersEncoding }
FormFieldStringDB describes a formfieldstring 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 formfieldstringDB
func (*FormFieldStringDB) CopyBasicFieldsFromFormFieldString ¶
func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsFromFormFieldString(formfieldstring *models.FormFieldString)
CopyBasicFieldsFromFormFieldString
func (*FormFieldStringDB) CopyBasicFieldsFromFormFieldStringWOP ¶
func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsFromFormFieldStringWOP(formfieldstring *FormFieldStringWOP)
CopyBasicFieldsFromFormFieldStringWOP
func (*FormFieldStringDB) CopyBasicFieldsFromFormFieldString_WOP ¶
func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsFromFormFieldString_WOP(formfieldstring *models.FormFieldString_WOP)
CopyBasicFieldsFromFormFieldString_WOP
func (*FormFieldStringDB) CopyBasicFieldsToFormFieldString ¶
func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsToFormFieldString(formfieldstring *models.FormFieldString)
CopyBasicFieldsToFormFieldString
func (*FormFieldStringDB) CopyBasicFieldsToFormFieldStringWOP ¶
func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsToFormFieldStringWOP(formfieldstring *FormFieldStringWOP)
CopyBasicFieldsToFormFieldStringWOP
func (*FormFieldStringDB) CopyBasicFieldsToFormFieldString_WOP ¶
func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsToFormFieldString_WOP(formfieldstring *models.FormFieldString_WOP)
CopyBasicFieldsToFormFieldString_WOP
func (*FormFieldStringDB) DecodePointers ¶
func (formfieldstringDB *FormFieldStringDB) DecodePointers(backRepo *BackRepoStruct, formfieldstring *models.FormFieldString)
type FormFieldStringDBResponse ¶
type FormFieldStringDBResponse struct {
FormFieldStringDB
}
FormFieldStringDBResponse provides response swagger:response formfieldstringDBResponse
type FormFieldStringDBs ¶
type FormFieldStringDBs []FormFieldStringDB
FormFieldStringDBs arrays formfieldstringDBs swagger:response formfieldstringDBsResponse
type FormFieldStringPointersEncoding ¶
type FormFieldStringPointersEncoding struct { }
FormFieldStringPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldStringWOP ¶
type FormFieldStringWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Value string `xlsx:"2"` IsTextArea bool `xlsx:"3"` }
FormFieldStringWOP is a FormFieldString without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldTimeAPI ¶
type FormFieldTimeAPI struct { gorm.Model models.FormFieldTime_WOP // encoding of pointers FormFieldTimePointersEncoding FormFieldTimePointersEncoding }
FormFieldTimeAPI 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 formfieldtimeAPI
type FormFieldTimeDB ¶
type FormFieldTimeDB struct { gorm.Model // Declation for basic field formfieldtimeDB.Name Name_Data sql.NullString // Declation for basic field formfieldtimeDB.Value Value_Data sql.NullTime // Declation for basic field formfieldtimeDB.Step Step_Data sql.NullFloat64 // encoding of pointers FormFieldTimePointersEncoding }
FormFieldTimeDB describes a formfieldtime 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 formfieldtimeDB
func (*FormFieldTimeDB) CopyBasicFieldsFromFormFieldTime ¶
func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsFromFormFieldTime(formfieldtime *models.FormFieldTime)
CopyBasicFieldsFromFormFieldTime
func (*FormFieldTimeDB) CopyBasicFieldsFromFormFieldTimeWOP ¶
func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsFromFormFieldTimeWOP(formfieldtime *FormFieldTimeWOP)
CopyBasicFieldsFromFormFieldTimeWOP
func (*FormFieldTimeDB) CopyBasicFieldsFromFormFieldTime_WOP ¶
func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsFromFormFieldTime_WOP(formfieldtime *models.FormFieldTime_WOP)
CopyBasicFieldsFromFormFieldTime_WOP
func (*FormFieldTimeDB) CopyBasicFieldsToFormFieldTime ¶
func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsToFormFieldTime(formfieldtime *models.FormFieldTime)
CopyBasicFieldsToFormFieldTime
func (*FormFieldTimeDB) CopyBasicFieldsToFormFieldTimeWOP ¶
func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsToFormFieldTimeWOP(formfieldtime *FormFieldTimeWOP)
CopyBasicFieldsToFormFieldTimeWOP
func (*FormFieldTimeDB) CopyBasicFieldsToFormFieldTime_WOP ¶
func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsToFormFieldTime_WOP(formfieldtime *models.FormFieldTime_WOP)
CopyBasicFieldsToFormFieldTime_WOP
func (*FormFieldTimeDB) DecodePointers ¶
func (formfieldtimeDB *FormFieldTimeDB) DecodePointers(backRepo *BackRepoStruct, formfieldtime *models.FormFieldTime)
type FormFieldTimeDBResponse ¶
type FormFieldTimeDBResponse struct {
FormFieldTimeDB
}
FormFieldTimeDBResponse provides response swagger:response formfieldtimeDBResponse
type FormFieldTimeDBs ¶
type FormFieldTimeDBs []FormFieldTimeDB
FormFieldTimeDBs arrays formfieldtimeDBs swagger:response formfieldtimeDBsResponse
type FormFieldTimePointersEncoding ¶
type FormFieldTimePointersEncoding struct { }
FormFieldTimePointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldTimeWOP ¶
type FormFieldTimeWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Value time.Time `xlsx:"2"` Step float64 `xlsx:"3"` }
FormFieldTimeWOP is a FormFieldTime without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldWOP ¶
type FormFieldWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` InputTypeEnum models.InputTypeEnum `xlsx:"2"` Label string `xlsx:"3"` Placeholder string `xlsx:"4"` HasBespokeWidth bool `xlsx:"5"` BespokeWidthPx int `xlsx:"6"` }
FormFieldWOP is a FormField without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormGroupAPI ¶
type FormGroupAPI struct { gorm.Model models.FormGroup_WOP // encoding of pointers FormGroupPointersEncoding FormGroupPointersEncoding }
FormGroupAPI 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 formgroupAPI
type FormGroupDB ¶
type FormGroupDB struct { gorm.Model // Declation for basic field formgroupDB.Name Name_Data sql.NullString // Declation for basic field formgroupDB.Label Label_Data sql.NullString // encoding of pointers FormGroupPointersEncoding }
FormGroupDB describes a formgroup 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 formgroupDB
func (*FormGroupDB) CopyBasicFieldsFromFormGroup ¶
func (formgroupDB *FormGroupDB) CopyBasicFieldsFromFormGroup(formgroup *models.FormGroup)
CopyBasicFieldsFromFormGroup
func (*FormGroupDB) CopyBasicFieldsFromFormGroupWOP ¶
func (formgroupDB *FormGroupDB) CopyBasicFieldsFromFormGroupWOP(formgroup *FormGroupWOP)
CopyBasicFieldsFromFormGroupWOP
func (*FormGroupDB) CopyBasicFieldsFromFormGroup_WOP ¶
func (formgroupDB *FormGroupDB) CopyBasicFieldsFromFormGroup_WOP(formgroup *models.FormGroup_WOP)
CopyBasicFieldsFromFormGroup_WOP
func (*FormGroupDB) CopyBasicFieldsToFormGroup ¶
func (formgroupDB *FormGroupDB) CopyBasicFieldsToFormGroup(formgroup *models.FormGroup)
CopyBasicFieldsToFormGroup
func (*FormGroupDB) CopyBasicFieldsToFormGroupWOP ¶
func (formgroupDB *FormGroupDB) CopyBasicFieldsToFormGroupWOP(formgroup *FormGroupWOP)
CopyBasicFieldsToFormGroupWOP
func (*FormGroupDB) CopyBasicFieldsToFormGroup_WOP ¶
func (formgroupDB *FormGroupDB) CopyBasicFieldsToFormGroup_WOP(formgroup *models.FormGroup_WOP)
CopyBasicFieldsToFormGroup_WOP
func (*FormGroupDB) DecodePointers ¶
func (formgroupDB *FormGroupDB) DecodePointers(backRepo *BackRepoStruct, formgroup *models.FormGroup)
type FormGroupDBResponse ¶
type FormGroupDBResponse struct {
FormGroupDB
}
FormGroupDBResponse provides response swagger:response formgroupDBResponse
type FormGroupDBs ¶
type FormGroupDBs []FormGroupDB
FormGroupDBs arrays formgroupDBs swagger:response formgroupDBsResponse
type FormGroupPointersEncoding ¶
type FormGroupPointersEncoding struct { // field FormDivs is a slice of pointers to another Struct (optional or 0..1) FormDivs IntSlice `gorm:"type:TEXT"` }
FormGroupPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormGroupWOP ¶
FormGroupWOP is a FormGroup without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormSortAssocButtonAPI ¶
type FormSortAssocButtonAPI struct { gorm.Model models.FormSortAssocButton_WOP // encoding of pointers FormSortAssocButtonPointersEncoding FormSortAssocButtonPointersEncoding }
FormSortAssocButtonAPI 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 formsortassocbuttonAPI
type FormSortAssocButtonDB ¶
type FormSortAssocButtonDB struct { gorm.Model // Declation for basic field formsortassocbuttonDB.Name Name_Data sql.NullString // Declation for basic field formsortassocbuttonDB.Label Label_Data sql.NullString // encoding of pointers FormSortAssocButtonPointersEncoding }
FormSortAssocButtonDB describes a formsortassocbutton 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 formsortassocbuttonDB
func (*FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButton ¶
func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
CopyBasicFieldsFromFormSortAssocButton
func (*FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButtonWOP ¶
func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButtonWOP(formsortassocbutton *FormSortAssocButtonWOP)
CopyBasicFieldsFromFormSortAssocButtonWOP
func (*FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButton_WOP ¶
func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButton_WOP(formsortassocbutton *models.FormSortAssocButton_WOP)
CopyBasicFieldsFromFormSortAssocButton_WOP
func (*FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButton ¶
func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
CopyBasicFieldsToFormSortAssocButton
func (*FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButtonWOP ¶
func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButtonWOP(formsortassocbutton *FormSortAssocButtonWOP)
CopyBasicFieldsToFormSortAssocButtonWOP
func (*FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButton_WOP ¶
func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButton_WOP(formsortassocbutton *models.FormSortAssocButton_WOP)
CopyBasicFieldsToFormSortAssocButton_WOP
func (*FormSortAssocButtonDB) DecodePointers ¶
func (formsortassocbuttonDB *FormSortAssocButtonDB) DecodePointers(backRepo *BackRepoStruct, formsortassocbutton *models.FormSortAssocButton)
type FormSortAssocButtonDBResponse ¶
type FormSortAssocButtonDBResponse struct {
FormSortAssocButtonDB
}
FormSortAssocButtonDBResponse provides response swagger:response formsortassocbuttonDBResponse
type FormSortAssocButtonDBs ¶
type FormSortAssocButtonDBs []FormSortAssocButtonDB
FormSortAssocButtonDBs arrays formsortassocbuttonDBs swagger:response formsortassocbuttonDBsResponse
type FormSortAssocButtonPointersEncoding ¶
type FormSortAssocButtonPointersEncoding struct { }
FormSortAssocButtonPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormSortAssocButtonWOP ¶
type FormSortAssocButtonWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Label string `xlsx:"2"` }
FormSortAssocButtonWOP is a FormSortAssocButton 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 { // insertion point for generic types // "int" is present to handle the case when no struct is present int | CheckBoxDB | FormDivDB | FormEditAssocButtonDB | FormFieldDB | FormFieldDateDB | FormFieldDateTimeDB | FormFieldFloat64DB | FormFieldIntDB | FormFieldSelectDB | FormFieldStringDB | FormFieldTimeDB | FormGroupDB | FormSortAssocButtonDB | OptionDB }
type IntSlice ¶
type IntSlice []int
type OptionAPI ¶
type OptionAPI struct { gorm.Model models.Option_WOP // encoding of pointers OptionPointersEncoding OptionPointersEncoding }
OptionAPI 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 optionAPI
type OptionDB ¶
type OptionDB struct { gorm.Model // Declation for basic field optionDB.Name Name_Data sql.NullString // encoding of pointers OptionPointersEncoding }
OptionDB describes a option 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 optionDB
func (*OptionDB) CopyBasicFieldsFromOption ¶
CopyBasicFieldsFromOption
func (*OptionDB) CopyBasicFieldsFromOptionWOP ¶
CopyBasicFieldsFromOptionWOP
func (*OptionDB) CopyBasicFieldsFromOption_WOP ¶
func (optionDB *OptionDB) CopyBasicFieldsFromOption_WOP(option *models.Option_WOP)
CopyBasicFieldsFromOption_WOP
func (*OptionDB) CopyBasicFieldsToOption ¶
CopyBasicFieldsToOption
func (*OptionDB) CopyBasicFieldsToOptionWOP ¶
CopyBasicFieldsToOptionWOP
func (*OptionDB) CopyBasicFieldsToOption_WOP ¶
func (optionDB *OptionDB) CopyBasicFieldsToOption_WOP(option *models.Option_WOP)
CopyBasicFieldsToOption_WOP
func (*OptionDB) DecodePointers ¶
func (optionDB *OptionDB) DecodePointers(backRepo *BackRepoStruct, option *models.Option)
type OptionDBResponse ¶
type OptionDBResponse struct {
OptionDB
}
OptionDBResponse provides response swagger:response optionDBResponse
type OptionDBs ¶
type OptionDBs []OptionDB
OptionDBs arrays optionDBs swagger:response optionDBsResponse
type OptionPointersEncoding ¶
type OptionPointersEncoding struct { }
OptionPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
Source Files ¶
- CheckBoxDB.go
- FormDivDB.go
- FormEditAssocButtonDB.go
- FormFieldDB.go
- FormFieldDateDB.go
- FormFieldDateTimeDB.go
- FormFieldFloat64DB.go
- FormFieldIntDB.go
- FormFieldSelectDB.go
- FormFieldStringDB.go
- FormFieldTimeDB.go
- FormGroupDB.go
- FormSortAssocButtonDB.go
- OptionDB.go
- back_repo.go
- get_instance_db_from_instance.go
- get_reverse_field_owner_name.go
- int_slice.go