suyiiyii 1f3066be16
feat(app): 添加 Dockerfile 和 .dockerignore 文件
- 在 app/facade 和 app/user 目录下新增 Dockerfile 文件,用于构建 Docker 镜像
- 在 app/facade 和 app/user目录下新增 .dockerignore 文件,用于指定不需要复制到容器中的文件和目录
- 更新 app/facade/conf/conf.go 和 app/user/conf/conf.go,使用 embed 包嵌入配置文件
- 移除不必要的库引用,简化代码结构
2025-01-20 23:41:18 +08:00
..
2025-01-21 06:33:01 +08:00
2025-01-17 17:09:32 +08:00
2025-01-17 17:09:32 +08:00
2025-01-17 17:09:32 +08:00
2025-01-21 06:39:03 +08:00
2025-01-21 06:39:03 +08:00
2025-01-20 16:01:57 +08:00
2025-01-17 17:09:32 +08:00
2025-01-20 16:01:57 +08:00
2025-01-17 17:09:32 +08:00

*** Project

introduce

  • Use the Kitex framework
  • Generating the base code for unit tests.
  • Provides basic config functions
  • Provides the most basic MVC code hierarchy.

Directory structure

catalog introduce
conf Configuration files
main.go Startup file
handler.go Used for request processing return of response.
kitex_gen kitex generated code
biz/service The actual business logic.
biz/dal Logic for operating the storage layer

How to run

sh build.sh
sh output/bootstrap.sh