Thanks to visit codestin.com
Credit goes to github.com

Skip to content

itcloudy/base-framework

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

说明

介绍

  • 改进项目结构,采用行业标准项目结构
  • 配置文件模板代码生成,toml格式
  • 支持数据库升级,数据库访问接口化
  • 日志写入到文件,文件备份大小可配置,同时支持日志写到Kafka
  • 系统表对应的struct间的关系可视化
  • 同时提供rest接口和rpc接口
  • 支持controller,service层测单元测试

相关命令

 ./base-framework -h
base-framework application

Usage:
  base-framework [command]

Available Commands:
  config      Initial config generation
  dbinit      init database,create tables
  dbupdate    update database, add tables and columns or modify columns
  help        Help about any command
  loaddata    load data from init folder
  start       Starting node

Flags:
      --config string   filepath to config.toml (default "/Users/cloudy/Documents/go/src/github.com/itcloudy/base-framework/config/config.toml")
  -h, --help            help for base-framework

Use "base-framework [command] --help" for more information about a command.

部署文档

deply 相关文档在 documents下

About

基于golang语言web框架gin搭建应用教程

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages