/goctls

goctls 是 goctl 对 simple admin 的适配优化后的生成工具。 Goctls is the generate tools for simple admin.

Primary LanguageGoApache License 2.0Apache-2.0

Goctls

Goctls is a powerful tools for simple admin to gen codes, based on goctl | Goctls 是一个为 simple admin 设计的代码生成工具, 基于 go zero 官方工具 goctl 开发而成

Install | 安装方法

go install github.com/suyuan32/goctls@latest

Features | 特性

  • go-swagger : it is different with origin which uses @doc comments
  • multi-language support
  • optimize error message
  • fully support validator and easy to use
  • code auto generation for API, RPC and web
  • error handling which support multi-languages
  • several plugins such as RocketMQ, GORM
  • group rpc logic

  • go-swagger : 基于go-swagger而不是官方的@doc注解
  • 多国语言支持
  • 优化错误信息处理,支持多语言错误
  • 简单易用的校验器
  • 支持代码生成,生成API,RPC 和 web 端的CRUD代码
  • 支持多种额外插件如GORM, RocketMQ
  • 对Simple Admin 的针对性优化
  • rpc logic group分组

本项目遵循 Apache 2.0 协议, 使用请注明出处,请不要使用该代码开发相同的工具和竞品。

This project uses the Apache 2.0 license, please indicate the source when using it