Documentation
¶
Index ¶
- type Validate
- func (v *Validate) ColumnsMap(table_name string) (out map[string]model.Field)
- func (v *Validate) GetAllTableMapsModels() map[string]map[string]model.Field
- func (v *Validate) GetAllTableModels() (tables []*model.Table)
- func (v *Validate) GetFieldLegendByName(o *model.Object, field_name string) (out_legend string)
- func (v *Validate) GetFieldsTable(o *model.Object) []model.Field
- func (v *Validate) GetMapModel(o *model.Object) (out map[string]model.Field)
- func (v *Validate) GetModelBy(table_name string) *model.Table
- func (v *Validate) TableModelByObject(o *model.Object) *model.Table
- func (v *Validate) ValidateAll(table_name string, table_data []map[string]string, validate_all_fields bool) (msg string, ok bool, right []model.Object)
- func (v *Validate) ValidateThis(o *model.Object, validate_all_fields bool) (message string, ok bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validate ¶
type Validate struct {
// contains filtered or unexported fields
}
func AddSchemeTableModel ¶ added in v0.0.4
func (*Validate) ColumnsMap ¶
func (*Validate) GetAllTableMapsModels ¶
func (*Validate) GetAllTableModels ¶
func (*Validate) GetFieldLegendByName ¶
ej: in name out Nombre
func (*Validate) GetMapModel ¶
func (*Validate) TableModelByObject ¶
func (*Validate) ValidateAll ¶
Click to show internal directories.
Click to hide internal directories.