model

package
v0.0.0-...-e4ef09c Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 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 UserDomainInterface

type UserDomainInterface interface {
	GetEmail() string
	GetName() string
	GetPassword() string
	GetAge() int8
	GetId() string

	SetId(ID string)

	EncryptPassword()
}

func NewUserDomain

func NewUserDomain(email, password, name string, age int8) UserDomainInterface

func NewUserLoginDomain

func NewUserLoginDomain(email string, password string) UserDomainInterface

func NewUserUpdateDomain

func NewUserUpdateDomain(name string, age int8) UserDomainInterface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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