A CLI tool to generate html emails. Using go-premailer
and the go template
engine.
-
Download the latest binary from the releases. If you don't find your required architecture or OS please follow the build instructions.
-
Create a directory structure like so:
build
templates
pages
-
Run the binary, this builds html files in a build directory from each
*.gohtml
file inside thepages
directory, make sure to run the binary from the root of the directory structure.
$ ./gomail-<os>-<arch>
- Git clone this repository.
cd
intov2
subdirectory.- Run
go build -o bin/gomail