trpc-group / trpc-go

A pluggable, high-performance RPC framework written in golang
Other
742 stars 85 forks source link

When I go to run $ cd server && go run main.go times wrong./ trpc_go.yaml does not exist #149

Closed 44zs44 closed 6 months ago

44zs44 commented 6 months ago

Question

image This./ Trpc_go.yaml refers to yaml that is already in the same level project as main?

WineChord commented 6 months ago

I believe the issue might be due to system incompatibility. The Windows system does not recognize the "./" notation.

You can try running the following command:

cd server && go run main.go -conf trpc_go.yaml
44zs44 commented 6 months ago

I believe the issue might be due to system incompatibility. The Windows system does not recognize the "./" notation.

You can try running the following command:

cd server && go run main.go -conf trpc_go.yaml

Thanks,need to bring -conf trpc_go.yaml, that is normal