Skip to content

基于gin实战封装的快速部署web项目基础框架

Notifications You must be signed in to change notification settings

EddieChan1993/hatgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hatGo

gin框架构建,linux下采用endless实现热更新,mysql数据库操作采用xorm

安装

//go mod init hatgo

go list 拉取依赖包

通过辅助工具hat部署

hat工具

$ hat
Usage:

        hat [arguments] command

The commands are:

        -v [version_code] -n [app_name] dev                create dev's program and eg version_code=1.0
        -v [version_code] -n [app_name] prod               create prod's program and eg version_code=1.0
        -n [app_name] start                                start program and default app_name=basename $PWD,next eq
        -n [app_name] restart                              restart program
        -n [app_name] stop                                 stop program
        -n [app_name] status                               status program
        help                                               look up help
        ver_dev                                            look up dev's version log
        ver_prod                                           look up prod's version log

About

基于gin实战封装的快速部署web项目基础框架

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages