Documentation ¶
Index ¶
- func GenerateMetadata() domain.Metadata
- func LoadConfig(path string) *domain.Env
- func NewAesEncrypt(_key string) domain.AesEncryptUtil
- func NewAuthUtil(env *domain.Env, firebaseAuth *auth.Client) domain.AuthUtil
- func NewCartUtil(productUtil domain.ProductUtil) domain.CartUtil
- func NewHashUtil() domain.HashUtil
- func NewJWTUtil(accessTokenSecretKey, refreshTokenSecretKey []byte, ...) domain.JWTUtil
- func NewLoggerUtil(env *domain.Env) domain.LoggerUtil
- func NewProductUtil() domain.ProductUtil
- func SetupTestDB(env *domain.Env) (*dockertest.Pool, *dockertest.Resource, *sqlx.DB)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateMetadata ¶
func LoadConfig ¶
func NewAesEncrypt ¶
func NewAesEncrypt(_key string) domain.AesEncryptUtil
func NewCartUtil ¶
func NewCartUtil(productUtil domain.ProductUtil) domain.CartUtil
func NewHashUtil ¶
func NewJWTUtil ¶
func NewLoggerUtil ¶
func NewLoggerUtil(env *domain.Env) domain.LoggerUtil
func NewProductUtil ¶
func NewProductUtil() domain.ProductUtil
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.