tkeel-plugin-template-go
This is a template we have given for Go language developers to quickly build a plugin application.
Usage
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
About
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.
🔥 Light up
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
!
🌟 Find Us
You may have many questions, and we will ensure that they are answered as soon as possible!
Social Platforms | Links |
---|---|
tkeel@yunify.com | |
@tkeel |