analyzer

package
v0.0.0-...-7144ed9 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldValidations

type FieldValidations struct {
	Validations []*Validation
}

type Struct

type Struct struct {
	parser.Struct
	HasValidTag       bool
	FieldsValidations []FieldValidations
}

func AnalyzeStructs

func AnalyzeStructs(structs []*parser.Struct) ([]*Struct, error)

func (*Struct) PrintInfo

func (s *Struct) PrintInfo()

type Validation

type Validation struct {
	Operation      string
	ExpectedValues common.CountValues
	Values         []string
}

func ParserValidation

func ParserValidation(fieldValidation string) (*Validation, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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