152 lines
4.4 KiB
Markdown
152 lines
4.4 KiB
Markdown
|
|
|
|
# Directory Structure
|
|
|
|
├── cmd
|
|
│ ├── main.go
|
|
├── db
|
|
│ ├── migrations
|
|
│ │ ├── 000001_fortune.down.sql
|
|
│ │ ├── 000001_fortune.up.sql
|
|
│ │ ├── 000002_notification.down.sql
|
|
│ │ ├── 000002_notification.up.sql
|
|
│ │ ├── 000003_referal.down.sql
|
|
│ │ ├── 000003_referal.up.sql
|
|
│ └── query
|
|
│ ├── auth.sql
|
|
│ ├── bet.sql
|
|
│ ├── notification.sql
|
|
│ ├── otp.sql
|
|
│ ├── referal.sql
|
|
│ ├── ticket.sql
|
|
│ ├── transactions.sql
|
|
│ ├── transfer.sql
|
|
│ ├── user.sql
|
|
│ ├── wallet.sql
|
|
├── docs
|
|
│ ├── docs.go
|
|
│ ├── swagger.json
|
|
│ ├── swagger.yaml
|
|
├── gen
|
|
│ └── db
|
|
│ ├── auth.sql.go
|
|
│ ├── bet.sql.go
|
|
│ ├── db.go
|
|
│ ├── models.go
|
|
│ ├── notification.sql.go
|
|
│ ├── otp.sql.go
|
|
│ ├── referal.sql.go
|
|
│ ├── ticket.sql.go
|
|
│ ├── transactions.sql.go
|
|
│ ├── transfer.sql.go
|
|
│ ├── user.sql.go
|
|
│ ├── wallet.sql.go
|
|
└── internal
|
|
├── config
|
|
│ ├── config.go
|
|
├── domain
|
|
│ ├── auth.go
|
|
│ ├── bet.go
|
|
│ ├── branch.go
|
|
│ ├── common.go
|
|
│ ├── event.go
|
|
│ ├── notification.go
|
|
│ ├── otp.go
|
|
│ ├── referal.go
|
|
│ ├── role.go
|
|
│ ├── ticket.go
|
|
│ ├── transaction.go
|
|
│ ├── transfer.go
|
|
│ ├── user.go
|
|
│ ├── wallet.go
|
|
├── logger
|
|
│ ├── logger.go
|
|
├── mocks
|
|
│ ├── mock_email
|
|
│ │ ├── email.go
|
|
│ └── mock_sms
|
|
│ ├── sms.go
|
|
├── pkgs
|
|
│ └── helpers
|
|
│ ├── helpers.go
|
|
├── repository
|
|
│ ├── auth.go
|
|
│ ├── bet.go
|
|
│ ├── notification.go
|
|
│ ├── otp.go
|
|
│ ├── referal.go
|
|
│ ├── store.go
|
|
│ ├── ticket.go
|
|
│ ├── transaction.go
|
|
│ ├── transfer.go
|
|
│ ├── user.go
|
|
│ ├── wallet.go
|
|
├── services
|
|
│ ├── authentication
|
|
│ │ ├── impl.go
|
|
│ │ ├── port.go
|
|
│ │ ├── service.go
|
|
│ ├── bet
|
|
│ │ ├── port.go
|
|
│ │ ├── service.go
|
|
│ ├── notfication
|
|
│ │ ├── port.go
|
|
│ │ ├── service.go
|
|
│ ├── referal
|
|
│ │ ├── port.go
|
|
│ │ ├── service.go
|
|
│ ├── sportsbook
|
|
│ │ ├── events.go
|
|
│ │ ├── odds.go
|
|
│ │ ├── service.go
|
|
│ ├── ticket
|
|
│ │ ├── port.go
|
|
│ │ ├── service.go
|
|
│ ├── transaction
|
|
│ │ ├── port.go
|
|
│ │ ├── service.go
|
|
│ ├── transfer
|
|
│ │ ├── chapa.go
|
|
│ │ ├── port.go
|
|
│ │ ├── service.go
|
|
│ ├── user
|
|
│ │ ├── common.go
|
|
│ │ ├── port.go
|
|
│ │ ├── register.go
|
|
│ │ ├── reset.go
|
|
│ │ ├── service.go
|
|
│ │ ├── user.go
|
|
│ └── wallet
|
|
│ ├── port.go
|
|
│ ├── service.go
|
|
└── web_server
|
|
├── handlers
|
|
│ ├── auth_handler.go
|
|
│ ├── bet_handler.go
|
|
│ ├── handlers.go
|
|
│ ├── notification_handler.go
|
|
│ ├── ticket_handler.go
|
|
│ ├── transaction_handler.go
|
|
│ ├── user.go
|
|
│ ├── wallet_handler.go
|
|
├── jwt
|
|
│ ├── jwt.go
|
|
│ ├── jwt_test.go
|
|
├── response
|
|
│ ├── res.go
|
|
└── validator
|
|
├── validatord.go
|
|
├── app.go
|
|
├── middleware.go
|
|
├── routes.go
|
|
├── .air.toml
|
|
├── .env
|
|
├── .gitignore
|
|
├── README.md
|
|
├── compose.db.yaml
|
|
├── go.mod
|
|
├── go.sum
|
|
├── makefile
|
|
├── sqlc.yaml
|
|
|
|
# End Directory Structure |