Categorygithub.com/quocanh1897/sample-gin-server
modulepackage
0.0.0-20240601120239-9174ddaa0597
Repository: https://github.com/quocanh1897/sample-gin-server.git
Documentation: pkg.go.dev

# README

Sample Go api server

Tech stack

STTTypeStack NameSupport ReasonVersionSource
1Programming LanguageGolang1.21
2REST API FrameworkGinWe'll need to serve REST API for Admin Web. Gin is the framework that have the best performance in the market.v1.4.0https://github.com/gin-gonic/gin
3Input Validatorgo-playground/validatorValidate input from Admin Webv10https://github.com/go-playground/validator
4GRPC librarygrpc/grpc-goSupport gRPC implementation for service to service callv1.58.1https://github.com/grpc/grpc-go
5Thrift libraryapache/thriftSupport Thrift implementation for service to service callv0.19.0https://thrift.apache.org/tutorial/go.html
6Dependency Injection librarygoogle/wireSince gin not have built-in DI mechanism. We need a DI mechanism to maintain dependencies in the process.https://github.com/google/wire
7Unit TestingginkgoTesting library provide by Gin2.12.1https://github.com/onsi/ginkgo
8Unit Testinggomegamatcher/assertion library1.27.0https://github.com/onsi/gomega
9Code Formattergo fmtCommon code formatter tools provide by gocompatible with go versionhttps://pkg.go.dev/fmt
10Logging Librarylog/slogA built-in logging library in golang that support structured logcompatible with go versionhttps://pkg.go.dev/golang.org/x/exp/slog

# Packages

No description provided by the author