fmgr-go

command module
v0.0.0-...-3f639d1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: MIT Imports: 1 Imported by: 0

README

项目介绍

规范

命名规范

参考https://www.cnblogs.com/rickiyang/p/11074174.html

  1. 文件命名 这点有点不同,建议采用习惯的驼峰规则命名

  2. 单元测试 GoStub+GoConvey+GoMock

go get github.com/smartystreets/goconvey

目录结构

app/common公共模块(请求、响应结构体等) app/controllers业务调度器 app/middleware中间件 app/models数据库结构体 app/services业务层 bootstrap项目启动初始化 config配置结构体 global全局变量 routes路由定义 static静态资源(允许外部访问) storage系统日志、文件等静态资源) utils工具函数 config.yaml配置文件 main.go项目启动文件

包选择

Documentation

Overview

Copyright © 2021 feigme

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories

Path Synopsis
app
pkg
db
tcp

Jump to

Keyboard shortcuts

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