├── .env.example ├── .gitignore ├── Makefile ├── README.md ├── api ├── controller │ └── controller.go ├── repository │ └── repository.go ├── route │ ├── route.go │ └── setup.go └── service │ └── service.go ├── app └── app.go ├── docker-compose.yml ├── docker ├── app.dockerfile ├── custom.cnf └── db.dockerfile ├── go.mod ├── go.sum ├── infrastructure ├── db.go ├── env.go ├── infrastructure.go ├── logger.go └── router.go ├── main.go ├── migration ├── 000001_create_users_table.down.sql └── 000001_create_users_table.up.sql └── model ├── binary16.go ├── migration.go └── model.go /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/README.md -------------------------------------------------------------------------------- /api/controller/controller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/api/controller/controller.go -------------------------------------------------------------------------------- /api/repository/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/api/repository/repository.go -------------------------------------------------------------------------------- /api/route/route.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/api/route/route.go -------------------------------------------------------------------------------- /api/route/setup.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/api/route/setup.go -------------------------------------------------------------------------------- /api/service/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/api/service/service.go -------------------------------------------------------------------------------- /app/app.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/app/app.go -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docker/app.dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/docker/app.dockerfile -------------------------------------------------------------------------------- /docker/custom.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/docker/custom.cnf -------------------------------------------------------------------------------- /docker/db.dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/docker/db.dockerfile -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/go.sum -------------------------------------------------------------------------------- /infrastructure/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/infrastructure/db.go -------------------------------------------------------------------------------- /infrastructure/env.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/infrastructure/env.go -------------------------------------------------------------------------------- /infrastructure/infrastructure.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/infrastructure/infrastructure.go -------------------------------------------------------------------------------- /infrastructure/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/infrastructure/logger.go -------------------------------------------------------------------------------- /infrastructure/router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/infrastructure/router.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/main.go -------------------------------------------------------------------------------- /migration/000001_create_users_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `users`; 2 | -------------------------------------------------------------------------------- /migration/000001_create_users_table.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/migration/000001_create_users_table.up.sql -------------------------------------------------------------------------------- /model/binary16.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/model/binary16.go -------------------------------------------------------------------------------- /model/migration.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/model/migration.go -------------------------------------------------------------------------------- /model/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dipeshhkc/Golang-Fx/HEAD/model/model.go --------------------------------------------------------------------------------