Menu

gow: the Go CLI that generates your whole CRUD stack - from a database or straight from Go structs
📰

gow: the Go CLI that generates your whole CRUD stack - from a database or straight from Go structs

DEV Community: go·GoWind Dev·about 2 hours ago
#e12YTaCo
#devtogo#devto#dev#protoc#service
Long article (551 words) — no AI summary yet.
Reading 0:00
15s threshold

Part 13 of the GoWind series . The framework posts covered how one YAML assembles a microservice and how plugins extend it . This one is the tool that fills in the remaining boilerplate: GoWind Toolkit — the gow CLI (11 subcommands), 7 protoc plugins, and a Wails-based desktop client, MIT-licensed.

The idea: kill repetitive CRUD, not by hiding it, but by generating it

The toolkit is a development tool, not a runtime dependency — nothing it generates requires the framework at runtime. The core workflows:

1. From database to full service

Point gow at MySQL / PostgreSQL / SQLite / Oracle and it generates the whole Kratos service chain: Ent or GORM models, Protobuf API definitions, gRPC + REST implementations, Wire dependency injection — wired into a runnable service.

2. From Go source, no database needed

The unusual one: schema sources ent:// and gorm:// read your existing Ent/GORM model definitions straight from Go source and generate CRUD from them.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.