Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplication ¶
func NewApplication(passGenEntity entity.PasswordGenerator, passGenRepo repository.Repository, passService service.Service) *passwordGeneratorApp
Types ¶
type PasswordGeneratorApp ¶
type PasswordGeneratorDB ¶
type PasswordGeneratorDB interface { GetLastTenPasswords() ([]*entity.PasswordGen, error) SavePasswordGen(*entity.PasswordGen) (*entity.PasswordGen, error) PasswordExists(password string) (bool, error) }
Click to show internal directories.
Click to hide internal directories.