utils

command module
v0.0.0-...-f0d4a1f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

README

工具项目开发支持

项目已经删除进入独立开发项目

迁移到项目: go-utils

fx 做依赖管理
  1. logger DEBUG 输出应用级别日志
依赖模块
  1. gorm mysql 支持 db 数据查询
  2. corba 支持命令行方式执行
  3. stringy 支持word case 转换
模块解析
  1. cmd 命令工具模块支持不同功能
  2. conf 工具配置数据包
  3. dest 代码生成, 工具运行时刻配置。
  • 逻辑层次依赖 main -> cmd -> manager -> domain
  • main 依赖fx框架,启动服务注入依赖
  • cmd 命令行工具,支持不同功能
  • manager 封装支持业务功能
  • domain 支持业务模块
命令行
  1. model 数据表转换Dao 查询模型
  2. word 驼峰大小写转换
  3. convert 自动化文件转换工具
  4. Api 支持yapi 转换Golang 文件内容
  5. info 数据查询工具。复用数据组装模版,提高查询管理效率。

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
cmd
dest
service
api
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL