go-common

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

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

go-common

目录约束

- app 业务
-- module (具体模块业务,例如 admin)
--- apis
--- models
--- router
--- service
- cmd 命令行配置
- common 公共依赖
- config 配置
- docs 文档
- examples 示例
- scripts 脚本文件
- static 静态文件目录
- template go模版文件
- test 测试目录
- pkg 第三方工具包

运行

初始化项目
./cli-init.sh
运行
# cli帮助
./go-common help

# 查看版本
./go-common version

# 运行http服务
./go-common server
./go-common server -c config/config-xxx.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
common
Code generated for package config by go-bindata DO NOT EDIT.
Code generated for package config by go-bindata DO NOT EDIT.

Jump to

Keyboard shortcuts

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