You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a template for building production-ready and easily extendible REST API using Go. It follows best practices and includes a standardized project structure with all necessary components for building scalable microservices.
8
10
9
11
## Features
12
+
10
13
- Structured logging
11
14
- Middleware support (authentication, etc.)
12
15
- Configuration management
@@ -19,18 +22,21 @@ This is a template for building production-ready and easily extendible REST API
19
22
20
23
The main ones are:
21
24
22
-
*[gorilla/mux](http://www.gorillatoolkit.org/pkg/mux) for routing
23
-
*[go-playground/validator](https://github.com/go-playground/validator) for request validation
24
-
*[go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) for MySQL database access
25
-
*[jmoiron/sqlx](https://github.com/jmoiron/sqlx) for enhanced database access
26
-
*[Masterminds/squirrel](https://github.com/Masterminds/squirrel) for SQL builder
27
-
*[golang-migrate/migrate](https://github.com/golang-migrate/migrate) for database migrations
28
-
*[swaggo/swag](https://github.com/swaggo/swag) for API documentation generation
29
-
*[strechr/testify](https://github.com/stretchr/testify) for writing easier test assertions
30
-
*[mockery/](https://vektra.github.io/mockery/) for generating mock interfaces
31
-
*[uber/zap](go.uber.org/zap) for structured logging
25
+
-[gorilla/mux](http://www.gorillatoolkit.org/pkg/mux) for routing
26
+
-[go-playground/validator](https://github.com/go-playground/validator) for request validation
27
+
-[go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) for MySQL database access
28
+
-[jmoiron/sqlx](https://github.com/jmoiron/sqlx) for enhanced database access
29
+
-[Masterminds/squirrel](https://github.com/Masterminds/squirrel) for SQL builder
30
+
-[golang-migrate/migrate](https://github.com/golang-migrate/migrate) for database migrations
31
+
-[swaggo/swag](https://github.com/swaggo/swag) for API documentation generation
32
+
-[strechr/testify](https://github.com/stretchr/testify) for writing easier test assertions
33
+
-[mockery](https://vektra.github.io/mockery/) for generating mock interfaces
34
+
-[uber/zap](go.uber.org/zap) for structured logging
35
+
-[prometheus/client_golang](https://github.com/prometheus/client_golang) for metrics
0 commit comments