Generators have a common files and a directory structure.
You will often have other files depending on the languages or technologies you choose.
A common example are the files for dependency management like
There are no restrictions or limits on what you can include.
Almost every hof generator is also a CUE module.
hof mod is a subcommand for working with Go style module systems.
We use it as an iterim tool until
cue mod is implemented upstream.
For more information about
hof mod, see
- Modules and Packages for working with CUE modules.
- Futurology / Dependency Management to learn about
we will be developing a
hof geneartor as a module.
The following steps will get your project setup.
Your working directory should now look like: