You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.3 KiB

  1. 整理代码结构
  2. ``` lua
  3. web
  4. ├── api/v1 -- 主要API
  5. | ├── sys_initdb.go -- ico
  6. | └── sys_user.go --
  7. ├── config -- 配置文件 设定操作的结构体
  8. | ├── auto_code.go -- ico captcha.go
  9. | ├── ... -- ico captcha.go
  10. | └── zap.go -- core
  11. ├── core -- 主要结构代码
  12. | ├── server_other.go -- ico captcha.go
  13. | ├── ... -- ico captcha.go
  14. | └── zap.go --
  15. ├── docs -- 文档系统
  16. | ├── docs.go -- ico captcha.go
  17. | ├── swagger.json -- json
  18. | └── swagger.yaml -- yaml
  19. ├── global -- global
  20. ├── initialize -- initialize
  21. ├── middleware -- 中间键
  22. ├── model -- global
  23. │ ├── request -- 所有请求model结构体
  24. | | ├── common.go
  25. | | ├── ...
  26. | | └── sys_user.go -- yaml
  27. | ├── response -- 返回数据
  28. | | ├── common.go
  29. | | ├── ...
  30. | | └── sys_user.go -- yaml
  31. ├── packfile -- 文件写入
  32. ├── resource -- 资源文件
  33. ├── router -- 路由
  34. ├── service -- service层
  35. ├── source -- 文件目录操作
  36. ├── utils
  37. ├── config.yaml --
  38. ├── Dockerfile -- docker配置
  39. ├── go.mod -- mod 配置
  40. ├── go.sum -- sum
  41. ├── latest_log -- vue-cli 配置
  42. └── main.go -- package.json
  43. ```