TITLE: Install and Generate Go Code with moleculec DESCRIPTION: This command sequence installs `moleculec` and `moleculec-go` tools, then uses them to generate Go code from a Molecule schema file. The output is piped to `gofmt` for standard formatting and saved to a specified Go file. SOURCE: https://github.com/driftluo/moleculec-go/blob/master/README.md#_snippet_0 LANGUAGE: Shell CODE: ``` $ cargo install moleculec moleculec-go $ moleculec --language go --schema-file "your-schema-file" | gofmt > "your-go-file" ``` ---------------------------------------- TITLE: Reproduce Molecule Testset DESCRIPTION: This command generates the test set for the molecule project, allowing reproduction of the test cases from the original molecule repository. SOURCE: https://github.com/driftluo/moleculec-go/blob/master/README.md#_snippet_1 LANGUAGE: Shell CODE: ``` make gen-test ```