fregie opened a new pull request #1902: URL: https://github.com/apache/apisix-dashboard/pull/1902
**Why submit this pull request?** - [ ] Bugfix - [x] New feature provided - [ ] Improve performance - [ ] Backport patches **Related issues** resolve #1840 ## Hi everyone :wave: About the issue related #1840 ,I have a idea.Maybe this is not a good idea,but I like it!Check it out: I add a `main.go` at the root directory,and only a main function in this file,this function do all things must be done,include init and serve.This means you can find everything at the root directory,in this single file and in this single function,this is really simple and easy to read.You can pay all your attention to the logic of the service and don't need to worry about managing the service.It just a executable file and serve,you don’t need to understand what it does on your system to run,easier for users to understand. I know this does not conform to the _standard go project layout_,but I don't think that's important. We can also keep the entry in `cmd`,users can chose the simple version of `main.go` or the version include service mangement in `cmd`.And users can also manage the service by themselves with the simple version,like `supervisor`. I haven't done all the jobs,I just want to hear your opinions first. @starsz @nic-chen @juzhiyuan -- 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. For queries about this service, please contact Infrastructure at: [email protected]
