package
0.0.0-20240511025140-bf03555f9c45
Repository: https://github.com/luckyakbar/atec-api.git
Documentation: pkg.go.dev
# Packages
Package mock is a generated GoMock package.
# Functions
InitializeRepoTestKit will initialize repo test kit, it will return RepoTestKit and close function.
NewSharedCryptor returns a new instance of SharedCryptor.
# Constants
DefaultBlockSize is the default block size used for encryption/decryption.
# Structs
CreateCryptorOpts is the options used to create a new cryptor instance.
Error satisfy default Error interface.
RepoTestKit represent repo test kit, it will hold mock and db instance for repo test case It will also hold gomock controller for mocking It will also hold close function for closing db connection It will be used by repository layer test case.
TestStructure represent common unit test structure.
# Interfaces
SharedCryptor hold useful function to perform encryption related prosess, such as encrypting email, hashing password, etc.