Documentation ¶
Index ¶
- func AddBusinessDays(daysToAdd int) string
- func GetEnvWithFallback(key, fallback string) string
- func MockDB() (*repo.Repository, sqlmock.Sqlmock)
- func NewAsynqOps() asynq.RedisClientOpt
- func NewGoroutineContext(ctx context.Context) context.Context
- func NewMockRepository(t *testing.T) *repo.Repository
- func PrettyP(i interface{})
- func ValToPtr[T any](val T) *T
- func ValidateEmail(email string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBusinessDays ¶
func GetEnvWithFallback ¶
func MockDB ¶
func MockDB() (*repo.Repository, sqlmock.Sqlmock)
func NewAsynqOps ¶
func NewAsynqOps() asynq.RedisClientOpt
func NewMockRepository ¶
func NewMockRepository(t *testing.T) *repo.Repository
func ValidateEmail ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.