validation

package
v0.0.0-...-ec5a942 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Struct

func Struct(s interface{}) error

func Var

func Var(name interface{}, constraints string) error

Types

type Params

type Params struct {
	Auth       string `validate:"required"`
	SchemaName string `validate:"required,confSchemaName,confSchemaExists"`
	DatabaseId string `validate:"required,confDatabaseId"`
}

Jump to

Keyboard shortcuts

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