dto

package
v0.0.0-...-03ef17d Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MissingFieldError

func MissingFieldError(missingField string) error

Types

type InsertUser

type InsertUser struct {
	Name     string ` json:"name"`
	Email    string ` json:"email"`
	Password string ` json:"password"`
}

func (*InsertUser) ConvertToUser

func (user *InsertUser) ConvertToUser() models.User

func (*InsertUser) Validate

func (user *InsertUser) Validate() error

Jump to

Keyboard shortcuts

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