Here is a world of Golang, where only Golang projects exist. Currently, all starters are similar to the Java Spring Cloud structure, providing usage methods for various open-source components. You can easily combine multiple projects or use a single one to quickly start standard project setups and build services. Let's Go Into the New World!
-
All top-level projects of starters define unified interface declarations, standard parameter/constant/variable declarations, and leverage
golang-toolkit
to provide common functionalities. -
A
gin
based HTTP service framework that simplifies the usage ofgin
and provides a unified and concise API, abstracting away some internal details. -
A database ORM (Object-Relational Mapping) framework based on
gorm
. -
A cache framework based on
go-redis
, providing simpler and commonly used methods for cache operations. -
GRPC is a highly popular remote procedure call framework. This project implements initialization methods for both the server and client, supporting initialization across multiple nodes: direct connection to a single service, load balancing across multiple services, dynamically fetching server nodes from a service registry.
-
Based on the Nacos service registry, dynamic configuration file retrieval and service registration discovery are implemented.