mix-go
mix
Go

✨ Standard Toolkit for Go fast development / Go 快速开发标准工具包

Last updated May 23, 2026
853
Stars
71
Forks
7
Issues
0
Stars/day
Attention Score
55
Language breakdown
No language data available.
Files click to expand
README

Mix Go

English | 中文

MixGo is a Go rapid development standard toolkit; the internal modules are highly decoupled, and the overall code is built on multiple independent modules. Even if users do not use our mixcli scaffolding to quickly generate code, they can also use these independent modules. For example: you can use xcli alone to build your command-line interaction; use xsql to call the database; use xwp to handle MQ queue consumption; you can freely combine all modules like building blocks.

Independent Modules

All core modules can be used independently.

  • mix-go/mixcli Scaffold to quickly create Go projects, similar to Vue CLI in the frontend field.
  • mix-go/xcli Command-line interaction and command management tool, also includes command-line parameter acquisition, middleware, program daemon, etc.
  • mix-go/xsql Lightweight database based on database/sql, fully functional and supports any database driver.
  • mix-go/xrpc Assistant for gRPC and Gateway.
  • mix-go/xdi IoC, DI library for handling object dependencies, can implement unified dependency management, global object management, dynamic configuration refresh, etc.
  • mix-go/xwp A universal work pool, coroutine pool, can dynamically expand and shrink.
  • mix-go/xhttp A highly efficient HTTP library.
  • mix-go/xutil A set of tools to keep Golang sweet.

Development Documentation

Quick Start

Provides ready-to-use scaffolding tools to quickly create projects and produce immediate output.

go install github.com/mix-go/mixcli@latest
$ mixcli new hello
Use the arrow keys to navigate: ↓ ↑ → ← 
? Select project type:
  ▸ CLI
    API
    Web (contains the websocket)
    gRPC

If there is an error during compilation, tidy up the dependencies.

~~~ go mod tidy ~~~

Goland

Examples

- Write a Worker Pool queue consumer - Write a WebSocket service

Technical Discussion

Zhihu: https://www.zhihu.com/people/onanying Official QQ Group: 284806582, 825122875 Secret Password: gopher

PHP Framework

OpenMix also has PHP ecosystem frameworks:

  • https://github.com/mix-php/mix

License

Apache License Version 2.0, http://www.apache.org/licenses/

🔗 More in this category

© 2026 GitRepoTrend · mix-go/mix · Updated daily from GitHub