This is a template we have given for Go language developers to quickly build a plugin application.
We have a development tool that will automatically download this template for you: artisan.
According to the artisan documentation, you can find the `Quick Start' document, which describes how to use this template.
- Use the artisan to quickly generate the proto you need in the
api
directory and define the structures you need in it. - Automatic generation of the transport layer source files required for the service via proto files
- Use the artisan to generate the service files into
/pkg/service
and then write your own business logic in them. - Adding your services to the server in
cmd/your/main.go
. - Run your server
We have a copy of our discussion process and results on why this template is styled the way it is here : About The Project Layout Layout of PKG Directory.
If you have any suggestions or ideas, you are welcome to file an Issue at any time, we'll look forward to sharing them together to make the world a better place.
Thank you very much for your feedback
and suggestions
!
You may have many questions, and we will ensure that they are answered as soon as possible!
Social Platforms | Links |
---|---|
[email protected] | |
@tkeel |