models

package
v0.0.0-...-c153ae7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Perfil

type Perfil struct {
	Name        string `json:"name" gorm:"index;not null"`
	Description string `json:"description" gorm:"not null"`
	core.Model
}

type User

type User struct {
	Name      string     `json:"name" gorm:"index;not null"`
	Email     string     `json:"email" gorm:"index;not null"`
	FirstName *string    `json:"firstName"`
	LastName  *string    `json:"lastName"`
	Date      *time.Time `json:"date"`
	Gender    *int       `json:"gender" binding:"required"`
	Password  string     `json:"password"`
	core.Model
}

Jump to

Keyboard shortcuts

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