Skip to content

Proposal: I'd like to add a "How to Write Good Templates" guide to the docs #2389

Description

@paradisfm

Hey!

I’ve been using Gomplate for a bit—my use case in particular is porting our Helm values generation away from Consul—and I think it would be really helpful to have a section in the docs about how to write good templates. Not just the syntax and usage, but things like patterns, structure, and general best practices.

I’d like to take a stab at writing this myself, covering topics more or less like:

  • Naming conventions & organizing templates
  • Making templates reusable and readable
  • Common pitfalls
  • Maybe a couple examples of "good" templates (minus, of course, any proprietary info)

Would you be open to a PR for this? Happy to get feedback or iterate on it with the maintainers.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions