models

package
v0.0.0-...-a6acc86 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginInput

type LoginInput struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

func (*LoginInput) Validate

func (li *LoginInput) Validate() error

type RegisterInput

type RegisterInput struct {
	LoginInput
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
}

func (*RegisterInput) Validate

func (li *RegisterInput) Validate() error

Jump to

Keyboard shortcuts

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