zbchi opened a new pull request, #3239:
URL: https://github.com/apache/dubbo-go/pull/3239

   ### Description
   #3204 
   Remove config package dependency from `dubbogo-cli` application generator, 
migrating from config-file-based to programmatic API pattern.
   
   ### Changes
   
     #### generator/application/
     `cmd.go`: Replace `config.Load()` with `server.NewServer()` + 
`api.RegisterGreeterServer()` + `srv.Serve()`
     `pkg.go`: Remove `config.SetProviderService()` and config import
     `conf.go`: Delete entirely (no longer needed)
   
     #### template/newApp/
     `cmd/app.go`: Update to programmatic API
     `pkg/service/service.go`: Remove config dependency
     `conf/dubbogo.yaml`: Delete
   
   ### Checklist
   - [x] I confirm the target branch is `develop`
   - [x] Code has passed local testing
   - [x] I have added tests that prove my fix is effective or that my feature 
works
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to