domain

package
v1.0.0-with-auth Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2025 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 User

type User struct {
	ID        uuid.UUID
	Name      string
	Email     string
	Password  string
	Active    bool
	CreatedAt time.Time
	UpdatedAt time.Time
}

func NewUser

func NewUser(
	id uuid.UUID, name string, email string, password string,
	active bool, createdAt time.Time, updatedAt time.Time,
) User

func (*User) ToPartialModel

func (u *User) ToPartialModel() models.User

Jump to

Keyboard shortcuts

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