Skip to content

Commit

Permalink
update generator with go tools
Browse files Browse the repository at this point in the history
Signed-off-by: Alice Wasko <[email protected]>
  • Loading branch information
Alice-Lilith committed Feb 2, 2024
1 parent ccb8039 commit 0a9ff4b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions generators/go/generator-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ baseDirectory: base
leftDelimiter: "{{{"
rightDelimiter: "}}}"

externalCommands:
requiredTools:
- name: "go"
downloadUrl: "https://go.dev/doc/install"
postHooks:
- command: "go mod tidy"

# Any files ending in this extension will be considered for template building
templateExtension: ".template"
Expand Down
2 changes: 1 addition & 1 deletion generators/go/modules/readme/README.md.template
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# {{{ .ProjectName }}}

Sample Readme
This project was generated using arsenal by Ambassador Labs

0 comments on commit 0a9ff4b

Please sign in to comment.