Versions in this module Expand all Collapse all v1 v1.1.0 Feb 7, 2022 Changes in this version + func NewApplication(passGenEntity entity.PasswordGenerator, passGenRepo repository.Repository, ...) *passwordGeneratorApp + type PasswordGeneratorApp interface + GeneratePassword func(password *entity.PasswordGen) (*entity.PasswordGen, error) + GeneratePasswordByLength func(length int, passCharacters []rune) (string, error) + Validate func(body []byte) error + type PasswordGeneratorDB interface + GetLastTenPasswords func() ([]*entity.PasswordGen, error) + PasswordExists func(password string) (bool, error) + SavePasswordGen func(*entity.PasswordGen) (*entity.PasswordGen, error) v1.0.0 Nov 1, 2021