├── .air.toml ├── .env.example ├── .gitignore ├── Dockerfile ├── Dockerfile-dev ├── LICENSE ├── Makefile ├── README.md ├── config ├── config.go ├── db.go └── server.go ├── controllers └── example_controller.go ├── docker-compose-dev.yml ├── docker-compose-prod.yml ├── go.mod ├── go.sum ├── helpers ├── json_helper.go └── response.go ├── infra ├── database │ ├── migrate.go │ └── sql_client.go └── logger │ └── zero_log.go ├── main.go ├── migrations ├── 20120_example.sql └── migration.go ├── models └── example_model.go ├── repository ├── example_repo.go └── gorm_repo.go └── routers ├── examples.go ├── index.go ├── middlewares └── cors.go └── router.go /.air.toml : -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/.air.toml -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/Dockerfile -------------------------------------------------------------------------------- /Dockerfile-dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/Dockerfile-dev -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/README.md -------------------------------------------------------------------------------- /config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/config/config.go -------------------------------------------------------------------------------- /config/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/config/db.go -------------------------------------------------------------------------------- /config/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/config/server.go -------------------------------------------------------------------------------- /controllers/example_controller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/controllers/example_controller.go -------------------------------------------------------------------------------- /docker-compose-dev.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/docker-compose-dev.yml -------------------------------------------------------------------------------- /docker-compose-prod.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/docker-compose-prod.yml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/go.sum -------------------------------------------------------------------------------- /helpers/json_helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/helpers/json_helper.go -------------------------------------------------------------------------------- /helpers/response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/helpers/response.go -------------------------------------------------------------------------------- /infra/database/migrate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/infra/database/migrate.go -------------------------------------------------------------------------------- /infra/database/sql_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/infra/database/sql_client.go -------------------------------------------------------------------------------- /infra/logger/zero_log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/infra/logger/zero_log.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/main.go -------------------------------------------------------------------------------- /migrations/20120_example.sql: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /migrations/migration.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/migrations/migration.go -------------------------------------------------------------------------------- /models/example_model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/models/example_model.go -------------------------------------------------------------------------------- /repository/example_repo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/repository/example_repo.go -------------------------------------------------------------------------------- /repository/gorm_repo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/repository/gorm_repo.go -------------------------------------------------------------------------------- /routers/examples.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/routers/examples.go -------------------------------------------------------------------------------- /routers/index.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/routers/index.go -------------------------------------------------------------------------------- /routers/middlewares/cors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/routers/middlewares/cors.go -------------------------------------------------------------------------------- /routers/router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akmamun/go-fication/HEAD/routers/router.go --------------------------------------------------------------------------------