Documentation
¶
Overview ¶
Package name : domain File name : domain.go Author : Antony Injila Description :
- Host Portfolio entiry strunctures such as a User and a Project
- User types have the GenerateHashPassord and CheckPasswordHarsh methods
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { Id string `json:"id"` FirstName string `json:"firstname"` LastName string `json:"lastname"` Email string `json:"email"` Password string `json:"password"` Projects map[string]*Project `json:"projects"` }
func (User) CheckPasswordHarsh ¶
func (User) GenerateHashPassord ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.