Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entity ¶
type Entity struct { UserName string `json:"userName" validate:"required,alphanum"` Email string `json:"email" validate:"required,email"` FirstName string `json:"firstName" validate:"required,alpha"` LastName string `json:"lastName" validate:"required,alpha"` Password string `json:"password" validate:"required"` }
type Repository ¶
type Repository struct { }
func NewRepository ¶
func NewRepository() *Repository
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(repository *Repository) *Service
Click to show internal directories.
Click to hide internal directories.