Show how to generate Go data models #387
Labels
enhancement
New feature or request
good first issue
Good for newcomers
Hacktoberfest
Label issues as available for participants of https://hacktoberfest.digitalocean.com
released on @next
released
We have recently changed the documentation approach for this library to be user-centric. Meaning we explain use-cases and ways to use this library, rather than just give you a list of possible configurations. In that effort, we need your help to provide the very best developer experience!
What to solve
We want to show how people can generate Go structs using the
GoGenerator
.Duplicate the folder https://github.com/asyncapi/modelina/tree/master/examples/TEMPLATE and rename it to
generate-go-models
. And instead of using theTypeScriptGenerator
, you have to use theGoGenerator
. Update any relevant documentation.Some folks want more specific tasks to complete, or use this if you get stuck - CLICK ME
This issue is specially designed for first-time contributors, that want to contribute their very first code. If you are accustomed to how to solve issues in AsyncAPI, you can skip some of the steps.
What to know before getting started
Before actually getting started with solving the issue, there are a few things that need to be set up:
Feel free to reach out either here in the issue, or on slack under #tooling if you have any questions or are stuck, we will gladly help.
Getting started
This is a task list, that you copy into your PR description to ensure everything is included, this list walks you through each step as to how to solve this issue. It assumes that you have already set up your fork and branch and are ready to commit code.
https://github.com/asyncapi/modelina/tree/master/examples/TEMPLATE
and rename it togenerate-go-models
. This will give you a good base to start out with.npm run test
.npm run lint
.Do you have any examples I can check for reference?
We have currently 4 example documentations that you can look for guidance on how to achieve the desired output:
The text was updated successfully, but these errors were encountered: