form

package
v0.0.0-...-93b8502 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Login

type Login struct {
	UserName string `form:"username" json:"username"  binding:"required,min=5"` //  验证规则:必填,最小长度为1
	PassWord string `form:"password" json:"password"  binding:"required,min=6"` //  验证规则:必填,最小长度为1
}

func LoginForm

func LoginForm() *Login

Jump to

Keyboard shortcuts

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