- 从 user 服务的 go.mod 文件中删除了 github.com/joho/godotenv - 相应地从 go.sum 文件中移除了 godotenv 的特定版本信息
*** 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