AdHocRandD / go-skeleton-crosstree

A go app skeleton for crosstree
Mozilla Public License 2.0
1 stars 0 forks source link

Update templates to use ProjectName, matching Hydrator struct #4

Closed mharvey closed 2 years ago

mharvey commented 2 years ago

Running a crosstree generate gives the following error:

Unable to hydrate skeleton: template: _:27:20: executing "_" at <.ProjectID>: can't evaluate field ProjectID in type *crosstree.Hydrator

This PR changes the terraform variable name to project_name and uses the golang reference to ProjectName in the template to match the nomenclature and variable name used in the code that fills the template.

llimllib commented 2 years ago

Sorry, I modified this for my in-progress PR which adds ProjectID

llimllib commented 2 years ago

link to branch: https://github.com/adhocteam/crosstree/tree/otuput-url