input_rut

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DvRut

func DvRut(rut int) string

DvRut retorna digito verificador de un run

func RunValidate

func RunValidate(rin string) bool

RUT validate formato "7863697-1"

Types

type Rut

type Rut struct {
	PlaceHolder    string
	TitleInfo      string
	HideWhenTyping bool
	SearchMode     bool
}

func AddNormal

func AddNormal(PLACE_HOLDER, TITLE_INFO string, HIDE_WHEN_TYPING bool) *Rut

func (Rut) Build

func (r Rut) Build(id, field_name string, skip_completion_allowed bool) string

func (Rut) GoodTestData

func (r Rut) GoodTestData(table_name, field_name string, random bool) (out []string)

func (Rut) HtmlName

func (r Rut) HtmlName() string

func (Rut) InputValueChanges

func (Rut) InputValueChanges() string

func (Rut) Name

func (r Rut) Name() string

func (Rut) RutNormalize

func (r Rut) RutNormalize(rutIn *string) (ok bool)

func (Rut) SelectedTargetChanges

func (Rut) SelectedTargetChanges() string

func (Rut) Validate

func (r Rut) Validate(data_in string, skip_validation bool) bool

validacion con datos de entrada

func (Rut) WrongTestData

func (r Rut) WrongTestData() (out []string)

Jump to

Keyboard shortcuts

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