Skip to content

mix-go/mixcli

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OpenMix 出品:https://openmix.org

Mix CLI

一个快速创建 Go 项目的脚手架

A scaffold to quickly create a go project

Installation

go get github.com/mix-go/mixcli

New Project

创建项目

  • 可以生成 cli, api, web, grpc 多种项目代码,生成的代码开箱即用
  • 可选择是否需要 .env 环境配置
  • 可选择使用 viper, configor 加载 .yml, .json, .toml 等独立配置
  • 可选择使用 gorm, xorm 的数据库
  • 可选择使用 zap, logrus 的日志库
$ mixcli new hello
Use the arrow keys to navigate: ↓ ↑ → ← 
? Select project type:
  ▸ CLI
    API
    Web (contains the websocket)
    gRPC

License

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

About

A scaffold to quickly create a go project / 一个快速创建 Go 项目的脚手架

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages