You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a beginner learning go-zero. When creating a microservice project, I encountered a problem: how should the directory structure of the microservice project be organized? I carefully read the layout explanation on the official website. I tried to set up the directory structure as described on the official website. Below is my project directory:
example
├── internal
├── pkg
├── restful
│ └── app
│ └── admin
├── script
├── service
│ └── user
I have two HTTP services, app and admin, and an RPC service user.
If I want to create a configuration file or utility package that both app and admin can use, how should I do it? Also, how can I quickly start all services instead of running go run . one by one?
The text was updated successfully, but these errors were encountered:
I am a beginner learning go-zero. When creating a microservice project, I encountered a problem: how should the directory structure of the microservice project be organized? I carefully read the layout explanation on the official website. I tried to set up the directory structure as described on the official website. Below is my project directory:
I have two HTTP services,
app
andadmin
, and an RPC serviceuser
.If I want to create a configuration file or utility package that both
app
andadmin
can use, how should I do it? Also, how can I quickly start all services instead of runninggo run .
one by one?The text was updated successfully, but these errors were encountered: