Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Allow environmental variable lookup in our templates.#98

Merged
skx merged 2 commits intomasterfrom
97-env
May 4, 2022
Merged

Allow environmental variable lookup in our templates.#98
skx merged 2 commits intomasterfrom
97-env

Conversation

@skx
Copy link
Copy Markdown
Owner

@skx skx commented May 4, 2022

This pull-request closes #97, by allowing environmental variables
to be used in the email template:

    To: {{env "RECIPIENT"}}
    From: {{env "SENDER"}}
    ...

This pull-request closes #97, by allowing environmental variables
to be used in the email template:

        To: {{env "RECIPIENT"}}
        From: {{env "SENDER"}}
        ...
@skx skx merged commit db234c3 into master May 4, 2022
@skx skx deleted the 97-env branch May 4, 2022 02:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Access enviromental variables from the go template engine

1 participant