Closed mrserverless closed 7 years ago
I looked into this and it seems easy to do, we just need to insert the content of this repo (with maybe minor changes) at https://github.com/serverless/serverless/tree/master/lib/plugins/create/templates
It turns out the proper place for such community templates is https://github.com/serverless/examples.
We should create a PR there.
Working on a PR now to have it mentioned there.
In the meantime I noticed that this already works, and we could document it as installation method in our readme:
serverless install -u https://github.com/yunspace/serverless-golang -n my-golang-project
Documentation changes were implemented in #6
Thanks @cristim! 10 steps ahead as usual! #6 which has been merged now.
For the community templates I will raise a PR once I finish refactoring #7
The PR was already raised, see https://github.com/serverless/examples/pull/133
Awesome, in that case I will update the serverless examples when my changes are merged
net
or event
approach. See README for more details. Closing this and will follow up with serverless/examples#133 separately.
So that users can just run:
and
Rather than copy and paste form this sample project