dto

package
v0.0.0-...-da80ac2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginDto

type LoginDto struct {
	Email string `json:"email" binding:"required,max=20"`
	Pwd   string `json:"pwd" binding:"required,max=32"`
}

type LoginResult

type LoginResult struct {
	Token   string        `json:"token"`
	Student model.Student `json:"student"`
}

type MaxScoreStudent

type MaxScoreStudent struct {
	Id    uint   `json:"id"`
	Name  string `json:"name"`
	Score byte   `json:"score"`
}

Jump to

Keyboard shortcuts

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