govalidator

package
v0.0.0-...-c713541 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() generator.Plugin

Types

type CheckIfInfo

type CheckIfInfo struct {
	Field *FieldInfo
}

type FieldInfo

type FieldInfo struct {
	CheckIf    *CheckIfInfo
	Name       string
	Field      *protogen.Field
	IsOneOf    bool
	InOneOf    bool
	TagOptions *pbvalidator.TagOptions
	IsCheckIf  bool
	Parent     *FieldInfo
	IsListItem bool
	IsMapKey   bool
	IsMapValue bool
}

Jump to

Keyboard shortcuts

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