godev-kit
GoDev Kit is a modular, production-ready template for building robust Golang microservices and backend applications. It provides a clean architecture foundation, best practices, and ready-to-use integrations for common infrastructure components, allowing you to focus on your business logic instead of boilerplate setup.
File Explorer
Download Latest Version (.zip)- api-naming-conventions.md
- coding-standards.md
- git-workflow.md
- project-structure.md
- main.go
- config-high-performance.yaml
- config.go
- config.yaml
- postgres-optimized.yaml
- postgresql.conf
- Roboto-Regular.ttf
- example-http-db.png
- godevkit-logo.svg
- layers-1.png
- layers-2.png
- location_diagram.png
- logo.svg
- 001_create_payments_table.sql
- translation.history.pb.go
- translation.history.proto
- translation.history_grpc.pb.go
- .DS_Store
- docs.go
- flowchart.txt
- hello.pdf
- invoice_INV-2024-001.pdf
- KAFKA.md
- KAFKA_CONTROL.md
- KAFKA_CONTROL_README.md
- KAFKA_YAML_CONFIG.md
- location.md
- PAYMENT_SETUP.md
- PAYMENT_SUMMARY.md
- PAYMENT_SYSTEM.md
- PERFORMANCE_TUNING_GUIDE.md
- POSTGRES_OPTIMIZATION.md
- PPROF_GUIDE.md
- PPROF_QUICKSTART.md
- PROFILING_GUIDE.md
- swagger.json
- swagger.yaml
- SWAGGER_GUIDE.md
- vietqr.md
- connection_pool_demo.go
- kafka_control_test.go
- kafka_demo.go
- payment_demo.go
- app.go
- migrate.go
- controller.go
- router.go
- translation.go
- router.go
- translation.history.go
- controller.go
- router.go
- translation.go
- router.go
- auth.go
- logger.go
- profiling.go
- recovery.go
- timeout.go
- billing.go
- kafka.go
- nats.go
- payment.go
- redis.go
- translate.go
- user.go
- vietqr.go
- billing.go
- error.go
- payment.go
- redis.go
- success.go
- user.go
- billing_controller.go
- controller.go
- error.go
- kafka.go
- nats.go
- payment.go
- redis.go
- router.go
- router_billing.go
- router_payment.go
- router_test.go
- translation.go
- user.go
- vietqr.go
- router.go
- events.go
- payment.go
- redis.go
- translation.go
- translation.history.go
- user.go
- vietqr.go
- translate.go
- translate.go
- vietqr.go
- translation_google.go
- payment.go
- redis.go
- translate.go
- user.go
- kafka.go
- nats.go
- payment_postgres.go
- redis.go
- shipper_location_postgres.go
- translation_postgres.go
- user_postgres.go
- vietqr_postgres.go
- contracts.go
- billing.go
- nats.go
- consumer.go
- payment.go
- redis.go
- translation.go
- translation_test.go
- user.go
- vietqr.go
- vietqr_test.go
- contracts.go
- kafka.go
- kafka_events.go
- options.go
- server.go
- gin_server.go
- options.go
- server.go
- consumer.go
- manager.go
- producer.go
- logger.go
- client.go
- options.go
- postgres.go
- profiler.go
- client.go
- options.go
- options.go
- server.go
- connection.go
- errors.go
- options.go
- redis.go
- generate-load.sh
- grant-all-schemas.sh
- grant-all-schemas.sql
- load-test.sh
- monitor-functions.sh
- pprof-analyze.sh
- pprof-continuous.sh
- pprof-load-test.sh
- pprof-memory-leak.sh
- setup-database-user.sh
- setup-database-user.sql
- setup-postgres-optimized.sh
- .dockerignore
- .DS_Store
- .gitignore
- .golangci.yml
- coverage.html
- go.mod
- go.sum
- LICENSE
- main.go
- Makefile
- README.md
- sql_debug.sql
# Installation Guide
git clone https://github.com/ducnpdev/godev-kit
Downloads the entire project code from GitHub to your computer.
cd godev-kit
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Go Go is required to use go install.
go install github.com/swaggo/swag/cmd/swag@latest
Downloads and installs the specified version directly β no need to clone the repo yourself.
Pulled directly from this repo's README.
3. Go
Mediumgo run cmd/app/main.go
Runs the Go program directly without a separate build step.
go install github.com/swaggo/swag/cmd/swag@latest
Downloads and installs the specified version directly β no need to clone the repo yourself.
Pulled directly from this repo's README.
4. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make migrate-up
Compiles the code based on the generated build configuration to produce an executable.
make build
Compiles the code based on the generated build configuration to produce an executable.
make docker-build
Compiles the code based on the generated build configuration to produce an executable.
make run
Compiles the code based on the generated build configuration to produce an executable.
make docker-run
Compiles the code based on the generated build configuration to produce an executable.
Pulled directly from this repo's README.
