For the past few years I've been building GoWind — a family of 20+ enterprise products (admin consoles, CMS, instant messaging, ERP, WMS, MES, a zero-trust gateway, IoT, behavior analytics...) all running on a single Go technology stack.
The most common reaction is: 20+ products? How small is your team?
This post is about the architecture that makes that possible, and why I believe this style of framework is what enterprise development looks like in the AI era.
Frameworks were designed for a different era
Most enterprise frameworks in wide use today were shaped by the constraints of the 2010s: thousands of developers on one codebase, consistency enforced through heavy abstraction, and runtime plumbing (annotation processors, bytecode enhancement, dynamic proxies) that hides complexity from individual developers. That was a reasonable trade when the alternative was chaos.
But those mechanisms have a cost that used to be invisible: everything the framework does implicitly is context that someone — or something — has to reconstruct before writing code against it.
Now AI writes a large share of enterprise code. When you generate code on top of a framework full of hidden behavior, you pay that tax twice: longer prompts, more hallucinated middleware, more debugging of code that "should work". You hire an AI architect, and it spends half its time wrestling with the framework.
That observation is where GoWind started. The design rules that fell out of it are simple:
- Syntax is logic. Go's syntax is lean, dependencies are explicit, and there is no annotation magic or bytecode instrumentation. Whatever the AI (or a human) writes is exactly what runs.
- Architecture is configuration. Service assembly is a declarative YAML file. The AI describes the business; the framework takes care of the wiring.
- Full stack, one stack. Admin consoles, content management, IM, analytics, and IoT all share one Go stack. Learn it once, generate everywhere.
The building blocks
GoWind is three layers of building blocks:
-
go-wind— the core. Under 500 lines. It defines the component interfaces and lifecycle, and almost nothing else. - 130+ plugins — database, cache, transport (HTTP/gRPC), logging, tracing, metrics, security, gateway, rate limiting, OSS, workflow, AI... covering 20+ domains. Each is an independent module you compose on demand.
-
go-wind-bootstrap— the assembly layer. One YAML file plus oneRunAppcall starts a production-shaped service. 157 independent modules in total.
A minimal REST service
The whole service is a YAML file:
app:
id: hello-service
name: hello-service
version: "1.0.0"
env: development
server:
http:
addr: ":8080"
middleware:
recovery:
stack_trace: true
cors:
allowed_origins: ["*"]
logging:
skip_paths: ["/health"]
logger:
type: zap
zap:
level: info
format: json
…and a main.go that registers routes and calls one function:
package main
import (
"fmt"
"log/slog"
"net/http"
"os"
bootstrap "github.com/tx7do/go-wind-bootstrap"
// Adapter submodules; builders self-register via blank imports.
_ "github.com/tx7do/go-wind-bootstrap/log/zap"
httpAdapter "github.com/tx7do/go-wind-bootstrap/transport/http"
)
func main() {
httpAdapter.RegisterServerSetup(func(srv *httpAdapter.Server) {
srv.GET("/", func(w http.ResponseWriter, r *http.Request) {
_, _ = fmt.Fprintf(w, "Hello from go-wind-bootstrap quickstart!\n")
})
srv.GET("/health", func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
})
})
// --- One-line startup ---
if err := bootstrap.RunAppWithFlags(bootstrap.NewCommandFlags()); err != nil {
slog.Error("application exited with error", "error", err)
os.Exit(1)
}
}
go run main.go
curl http://localhost:8080
No JVM. The whole thing compiles statically into a single binary — startup is fast, memory footprint is small, and deployment is a single file copy. Swap server.http for server.grpc in the YAML and you have a gRPC microservice; both transports can coexist in one process.
Code generators produce the CRUD plumbing for business modules, and hand-written routes register independently alongside generated ones (RegisterServerSetup is append-style, so they never overwrite each other). The code that is generated is the code that runs — there is no post-generation rewriting step.
What it looks like at product scale
The same stack carries everything we ship:
| Product | What it is | Try it |
|---|---|---|
| Admin | Multi-tenant admin console, RBAC, data visualization |
Live demo (admin / Abcd@1234), also Element and Vben UI flavors |
| CMS | Content management with review workflows | Live demo |
| IM | Instant messaging: private/group chat, audio/video, office collaboration | Live demo |
| ERP | Procurement → sales → inventory → manufacturing → finance, with multi-entity consolidation | Live demo |
| WMS | 3PL warehouse management: wave/cluster picking, FEFO, billing, Flutter PDA scanning | Live demo |
| MES | Manufacturing execution: scheduling, scan-based reporting, batch traceability | Docs |
| CDC | Pure-Go data pipeline, no JVM: real-time and bidirectional sync | Docs |
| SDP | Zero-trust gateway: SPA network stealth, SSH/RDP session replay | Docs |
| UBA | Behavior analytics: 25+ analysis models on ClickHouse/Doris | Docs |
…plus Kanban (a single Flutter codebase compiled to six platforms), Shop, Ops, Edu, Quant, and two industry decision radars. One backend architecture, one permission model, one deployment story across all of them. That's what "20+ products" actually adds up to — the marginal cost of the next product is mostly the domain logic, because the platform tax has already been paid.
Open source, Open Core, and honest labels
The model is three tracks, clearly labeled:
- Fully open source — the framework itself, plus Admin, CMS, UBA, Shop, Kanban, Ledger, ShortPlay, Ops and more. Free to use, self-host, and extend. Start at the GitHub organization.
- Open Core — OA, ERP, and WMS. Community editions are open source; enterprise editions add closed-source enhancements under license.
- Commercial, delivered on-premises — IM, CRM, Trade, IoT, MES, CDC, SDP and the radars. Closed source, but delivered into the customer's own environment — your data never leaves your infrastructure, and licensing is offline (Ed25519-based), so the software phones home to no one.
There is also a Rust sibling, RushWind, recreating the same building-block philosophy in Rust with 100% safe code and QUIC/WebTransport — an experiment in testing how far the idea travels across languages.
Try it in five minutes
- Open the Admin live demo and log in with
admin/Abcd@1234. - Clone any of the open-source repos at github.com/tx7do and run the
_examples/quickstart templates. - Read the framework docs if you want the full picture of the plugin and bootstrap layers.
If any of this resonates — a lighter enterprise stack, AI-first architecture, or Open Core done with clear labels — the framework repos could use your stars and issues are genuinely open. Feedback from people outside my own codebase is the most useful thing I can get right now.
GoWind: https://www.gowind.cloud · GitHub: https://github.com/tx7do
Top comments (0)