go_validate

package module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: MIT Imports: 3 Imported by: 2

README

go_validate

valida objetos del paquete go_model con inputs paquete go_ui_form

Documentation

Index

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 AddSchemeTableModel(objects *map[string]model.Object) *Validate

func (*Validate) GetFieldLegendByName

func (v *Validate) GetFieldLegendByName(table_name string, field_name string) (out_legend string)

ej: in name out Nombre

func (*Validate) GetFieldsTable

func (v *Validate) GetFieldsTable(table_name string) []model.Field

func (*Validate) GetModelObject added in v1.2.0

func (v *Validate) GetModelObject(table_name string) *model.Object

func (*Validate) ValidateAll

func (v *Validate) ValidateAll(validate_all_fields bool, table_name string, all_data ...map[string]string) (string, bool)

func (*Validate) ValidateThis

func (v *Validate) ValidateThis(table_name string, data map[string]string, validate_all_fields bool) (message string, ok bool)

validar objeto nuevo con o sin tablas adjuntas

Jump to

Keyboard shortcuts

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