services

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBaseService

func NewBaseService(debugLevel int) *baseService

NewBaseService Create a new baseService

Types

type EmailService

type EmailService struct {
	// contains filtered or unexported fields
}

EmailService email service for example

func NewEmailService

func NewEmailService(baseService baseService, userRepository *repositories.UserRepository, logger *log.Logger) *EmailService

NewEmailService Create a new EmailService

type UserService

type UserService struct {
	// contains filtered or unexported fields
}

UserService a user service for example

func NewUserService

func NewUserService(baseService baseService, userRepository *repositories.UserRepository, proRepository *repositories.ProRepository, emailService *EmailService, logger *log.Logger, debug bool) *UserService

NewUserService Create a new UserService

Jump to

Keyboard shortcuts

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