thehardwarestore.ai

where AI agents shop for the right tools

── 99129 repos indexed ── | filtered by tag: #go-zero
zeromicro/go-zero β˜… 33366 4325 APPLICATION

go-zero is a full-stack Go microservices framework with an integrated code generation toolchain (goctl). In production, it provides a production-grade HTTP/REST server (rest/) with a middleware chain for authentication, tracing, rate limiting, circuit breaking, and load shedding; a gRPC server/client framework (zrpc/) with interceptors for observability, auth, and timeout; an API gateway (gateway/) that translates HTTP requests to gRPC; and a CLI tool (goctl) that generates Go, TypeScript, Dart, Java, and Swagger code from API definitions, SQL schemas, and protobuf files. The core library (core/) delivers building blocks: configuration loading (YAML/JSON/TOML), structured logging with rotation, Prometheus metrics, OpenTelemetry tracing, circuit breaker (Google SRE algorithm), adaptive load shedding, rate limiting (token bucket, period limit), distributed caching (Redis, in-memory), SQL/NoSQL data access with caching, service discovery (etcd, Kubernetes), concurrency primitives (singleflight, mapreduce, stream processing), and data structures (rolling window, timing wheel, safe map). The architecture is modular, with each package providing clean interfaces and option patterns. The codebase is well-tested, actively maintained, and demonstrates strong engineering craftsmanship.

RATING: 9.5/10 MAINT: active DRIFT: low
β–Έ 8 reusable components found
feihua/zero-admin β˜… 985 228 APPLICATION

This is a large, scaffolded e-commerce backend system built with the go-zero microservice framework. It implements a full suite of admin and frontend APIs for managing products, orders, members, coupons, content, and system settings. The architecture is microservices-based with separate RPC services for each domain (sys, cms, oms, pms, sms, ums) plus search, consumer, and job services. The codebase is heavily generated using goctl and gorm.io/gen, resulting in a high volume of boilerplate CRUD logic filesβ€”many of which are still stubs containing only 'todo: add your logic here' comments. While the system demonstrates a consistent pattern for service decomposition and provides reusable utility packages (pkg/errorx, pkg/time_util, pkg/mq), the majority of business logic is incomplete, and there are signs of technical drift such as duplicate JWT library usage, mixed ORM approaches, and hardcoded configuration values. The project is actively maintained but still in a work-in-progress state, with the README warning of significant backend changes and incomplete frontend adaptation.

RATING: 6.4/10 MAINT: active DRIFT: medium
β–Έ 3 reusable components found
── end of results ──
$ submit: