go-zero
go-zero copied to clipboard
Generate config file with the name config.yaml and not <servicename>.yaml
same as title
The generated configuration file is only used for local debugging. Why do you need to change this?
I commit the config.yml in git. Recently I have changed the service name several times. With each change I have to rename the file and update main.go which is a mess.
Having a default name config or something other than the service name will prevent this hassle in the future.
This issue is stale because it has been open for 30 days with no activity.