GoWindGoWind
Home
Framework
GoWind Toolkit
  • Open Source

    • GoWind Admin (Admin Platform)
    • GoWind CMS (Content Management)
    • GoWind UBA (Behavior Analytics)
    • GoWind Shop (E-commerce)
    • GoWind Kanban (Kanban Boards)
    • GoWind Ledger (Personal Finance)
    • GoWind ShortPlay (Short Drama)
    • GoWind Ops (Operations Platform)
    • RushWind (Rust Ecosystem)
  • Open Core (Community + Enterprise)

    • GoWind OA (Office Collaboration)
    • GoWind ERP (Procure-to-Pay)
    • GoWind WMS (Warehousing)
  • Commercial

    • GoWind IM (Instant Messaging)
    • GoWind IoT (IoT Platform)
    • GoWind Edu (AI Education)
    • GoWind MES (Manufacturing Execution)
    • GoWind CDC (Data Pipeline)
    • GoWind SDP (Zero-Trust Gateway)
    • GoWind Quant (Quant Research)
    • GoWind Trade Radar (Export Sourcing)
    • GoWind Game Radar (Game Greenlight)
  • 简体中文
  • English
GitHub
Home
Framework
GoWind Toolkit
  • Open Source

    • GoWind Admin (Admin Platform)
    • GoWind CMS (Content Management)
    • GoWind UBA (Behavior Analytics)
    • GoWind Shop (E-commerce)
    • GoWind Kanban (Kanban Boards)
    • GoWind Ledger (Personal Finance)
    • GoWind ShortPlay (Short Drama)
    • GoWind Ops (Operations Platform)
    • RushWind (Rust Ecosystem)
  • Open Core (Community + Enterprise)

    • GoWind OA (Office Collaboration)
    • GoWind ERP (Procure-to-Pay)
    • GoWind WMS (Warehousing)
  • Commercial

    • GoWind IM (Instant Messaging)
    • GoWind IoT (IoT Platform)
    • GoWind Edu (AI Education)
    • GoWind MES (Manufacturing Execution)
    • GoWind CDC (Data Pipeline)
    • GoWind SDP (Zero-Trust Gateway)
    • GoWind Quant (Quant Research)
    • GoWind Trade Radar (Export Sourcing)
    • GoWind Game Radar (Game Greenlight)
  • 简体中文
  • English
GitHub
  • GoWind Toolkit

    • Introduction to GoWind Toolkit
  • Code Generation

    • Backend Code Generation
    • Frontend Code Generation
    • protoc-gen-fieldmap Field Mapping Generator

Introduction to GoWind Toolkit

GoWind Toolkit is an all-in-one toolkit built for the Go-Kratos microservice ecosystem, comprising the gow CLI (11 subcommands), 7 protoc plugins, and a cross-platform visual desktop client, gowind-uiapp (Wails). It provides all-around support: project scaffolding, automated code generation, development assistance, and ops tooling.

Project Positioning

Unlike GoWind Admin / CMS / IM / UBA and other business systems, GoWind Toolkit is a development tool:

ProjectNaturePurpose
Admin / CMS / IM / UBABusiness applicationsDeployable, runnable service systems
ToolkitDevelopment toolCLI + desktop app for generating code and managing microservices

Core idea: eliminate repetitive CRUD development so developers can focus on core business logic.

Feature Overview

FeatureCLIDesktop UI
Project scaffolding (gow new)✅✅
Add a microservice (gow add service)✅✅
Database-driven backend CRUD code generation✅✅
CRUD generation straight from Go source via ent:// / gorm:// (no database needed)✅✅
Fully automatic frontend page generation (Vue3/React)—✅
Ent / GORM model generation✅✅
Protobuf gRPC & REST definition generation✅✅
Wire dependency-injection generation✅✅
Microservice module extraction (gow extract)✅—
Config export to Consul / Etcd / Nacos—✅
Visual table configuration and service assignment—✅
AI-assisted DDL generation and microservice partitioning—✅
AI code review—✅
Service start/stop management—✅
Dev tools (buf/wire/ent)—✅

Project Structure

go-wind-toolkit/
├── gowind/            # Module 1: CLI + shared libraries
│   ├── cmd/gow/       # CLI entry point (go install .../cmd/gow@latest)
│   ├── pkg/           # Exported libraries (shared by CLI and UI)
│   │   ├── generators/      # Code generation templates and engine
│   │   ├── sqlkratos/       # SQL → full Kratos service generator
│   │   ├── sqlorm/          # SQL → ORM (ent/gorm) generator
│   │   ├── sqlproto/        # SQL → Protobuf/gRPC/REST converter
│   │   ├── service/         # Service scaffolding generator
│   │   ├── extract/         # Microservice module extractor
│   │   └── configexporter/  # Config export (Consul/Etcd/Nacos)
│   └── internal/     # CLI-only code
├── gowind-uiapp/      # Module 2: Wails desktop UI
│   ├── main.go
│   ├── frontend/     # Vue.js frontend
│   └── internal/     # UI-only code
│       ├── ai/              # AI-assisted features
│       ├── configexporter/  # Config export
│       ├── database/        # Database connection management
│       ├── detect/          # Automatic project detection
│       ├── devtools/        # Dev tool integration
│       └── generator/       # Code generation
└── README.md

The gow CLI Subcommands

gow provides 11 subcommands:

SubcommandDescription
newCreate a new project scaffold
addAdd components to a project (e.g. a service microservice)
generateCode generation
extractExtract microservice modules from a project
runRun services
buildBuild services
entEnt ORM model generation
wireWire dependency-injection generation
apiProtobuf API definition generation
versionVersion information
helpHelp

Protoc Plugins

Beyond the CLI, the Toolkit also ships 7 protoc plugins:

PluginDescription
protoc-gen-fieldmapDeclarative field-mapping generator (see protoc-gen-fieldmap Field Mapping Generator)
protoc-gen-wind-errorsError code generation
protoc-gen-go-httpGo HTTP interface code generation
protoc-gen-go-redactField redaction generation
protoc-gen-dart-httpDart HTTP client generation
protoc-gen-typescript-httpTypeScript HTTP client generation
protoc-gen-commonCommon code generation

Tech Stack

ComponentTechnology
CLIGo, Cobra
Desktop clientGo, Wails v2
Desktop frontendVue 3, TypeScript
Code generationGo text/template
AI integrationOpenAI Compatible API
ORM supportEnt, GORM
DatabasesMySQL, PostgreSQL, SQLite, Oracle

Desktop Client gowind-uiapp

gowind-uiapp is a cross-platform desktop client built on Vue3 + Wails that makes all of the Toolkit's code generation capabilities visual:

Backend code generation: supports 4 schema import sources — database, OpenAPI documents, and ent:// / gorm:// Go source (no database needed; reads the schema definitions straight from your Go source to generate CRUD).

Create backend project

Frontend code generation: generate three complete frontend projects in one click — Vue3 + Element Plus, Vue3 + Vben, React + Ant Design Pro.

Frontend code generator

Other capabilities:

  • Config export: Consul / Etcd / Nacos
  • AI assistant: OpenAI / DeepSeek / Ollama (see below)
  • Dev tools panel: integrated buf / wire / ent and other dev tools, plus service start/stop management

For the complete workflows, see Backend Code Generation and Frontend Code Generation.

AI Assistant

The desktop client integrates multiple LLM providers:

  • OpenAI (GPT-4o and more)
  • DeepSeek
  • Ollama (local models)
  • Azure OpenAI
  • Custom (any OpenAI-compatible API service)

AI capabilities include:

  • Generate DDL from natural-language requirements
  • AI-assisted microservice partitioning
  • AI code review

How to Get It

GitHub Releases (recommended): https://github.com/tx7do/go-wind-toolkit/releases

Gitee mirror (source code only): https://gitee.com/tx7do/go-wind-toolkit

CLI installation:

go install github.com/tx7do/go-wind-toolkit/gowind/cmd/gow@latest

Related documents:

  • Backend Code Generation
  • Frontend Code Generation
  • protoc-gen-fieldmap Field Mapping Generator
Edit this page
Last Updated:: 11/3/26, 2:14 PM
Contributors: Bobo