app.go 354 B

123456789101112131415161718
  1. package interfaces
  2. import (
  3. "database/sql"
  4. "github.com/gofiber/fiber/v2"
  5. )
  6. type IApp interface {
  7. GetDBService() *sql.DB
  8. GetEnvService() IEnv
  9. GetCacheService() ICache
  10. GetMailerService() IMailer
  11. GetArticleRepository() IArticleRepository
  12. GetTagRepository() ITagRepository
  13. GetArticleTagRepository() IArticleTagRepository
  14. GetFiber() *fiber.App
  15. }