go-mail-preview

command
v0.0.0-...-e396096 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: MIT Imports: 8 Imported by: 0

README

go-mail-preview

Render templates with data in your browser.

Data is used from a my-template.example.yaml file that lives alongside the actual template.

Usage

go get github.com/mattes/go-mail/go-mail-preview

go-mail-preview -listen :8000 -templates /path/to/templates

open http://localhost:8000/preview/my-template.html
open http://localhost:8000/preview/my-template.txt

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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