# go-spring/go-spring

🔥 [released] 基于 IoC 的 IDLs-First 的 Go 后端一站式开发框架 ( All-in-One Development Framework on IoC and IDLs-First for Go ) 🚀

Repository: https://github.com/go-spring/go-spring
Canonical: https://ross.abutalabs.com/products/go-spring
Language: Go
License: Apache-2.0
License Family: permissive
Topics: inversion-of-control, dependency-injection, spring, spring-boot, auto-configuration, modulith, out-of-box-experience
Last push: 2026-08-23T11:23:05+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 78, longevity 100
- inputs: {"age_days": 2518, "days_push": 10, "days_rel": 71, "gap_med": 49, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1792, forks 233 (observed 2026-08-28T04:05:37.199187+00:00)

## What it is
Go-Spring is an all-in-one Go backend development framework built around an IoC container and dependency injection, inspired by Java Spring Boot. It provides a layered ecosystem including a core framework, capability abstractions, 70+ pluggable Starters for third-party SDKs, and CLI tooling for code generation and mocking.

## Use cases
- build Go backend services with dependency injection like Spring Boot
- auto-configure third-party SDKs such as Redis, MySQL, Kafka, and gRPC in Go
- assemble modular Go applications with pluggable starters
- generate HTTP client and server code from IDL definitions
- manage application configuration and lifecycle in Go services
- migrate Java Spring development patterns to Go

## When to choose
- you want Spring Boot-style IoC and auto-configuration in Go
- you need a batteries-included framework with many prebuilt integrations
- you prefer IDL-first service development with code generation
- you are building modular monoliths or microservices in Go

## When to avoid
- you prefer minimal, dependency-light Go libraries and explicit wiring
- your project follows idiomatic Go patterns that avoid magic DI containers
- you need a framework with a very large community and long-term track record

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, middleware, configuration-management, dependency-audit, http-server, http-client, rpc, developer-tools
- domain: backend, web-development, developer-tools, microservices, apis
- platform: go, cross-platform, cli
- tags: inversion-of-control, dependency-injection, spring-boot, auto-configuration, starters, idl-first, modulith, code-generation

## Member repositories
- go-spring/go-spring (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:37.199187+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:22:58.139730+00:00, confidence not recorded.
  - readme: https://github.com/go-spring/go-spring (fetched 2026-08-28T04:05:37.199187+00:00, sha 7e7b01a950f2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
