user

package
v0.0.0-...-5ac2c70 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 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 User

type User struct {
	ID                  uuid.UUID // Unique identifier for the user.
	Username            string    // Username of the user.
	Email               string    // Email address of the user.
	Password            string    `validate:"required"` // Password for the user's account.
	Name                string    // Full name of the user.
	DateOfBirth         time.Time // Date of birth of the user.
	DietaryRestrictions []string  // Dietary restrictions or considerations for the user (e.g., vegan, gluten-free, vegetarian).
	DateCreated         time.Time
}

Jump to

Keyboard shortcuts

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