Produced by OpenMix: https://openmix.org
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.
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.
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
CONNMIX Gateway - Programmable distributed long connection gateway
- Can be used for chat rooms, live pop-ups, IM instant messaging, online customer service, online games, hardware communication, smart home, IoT and other areas of development
- A few lines of code, free to get socket, websocket real-time communication
Zhihu: https://www.zhihu.com/people/onanying
Official QQ Group: 284806582, 825122875 Secret Password: gopher
OpenMix also has PHP ecosystem frameworks:
Apache License Version 2.0, https://www.apache.org/licenses/