devmails

module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2019 License: MIT

README

devmails

DevServer to test & render MJML templates with Go templates.

Install

curl -sSL https://git.io/fjuM7 | sudo bash

Usage

Run the app in the folder where you have a src folder with the templates and a data folder with the custom data. See the testdata folder for an example of the structure.

devmails

Change the location of any of the folders if needed:

devmails -src my/folder/src -output other/folder/output -data other-other/folder/data

To run the generator a single time and close afterwards without watching changes in the files:

devmails -watch=false

Contributing

You can make pull requests or create issues in GitHub. Any code you send should be formatted using make gofmt.

Running tests

Run the tests:

make test

License

MIT License

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL