changed example for table
This commit is contained in:
parent
d64ba0eada
commit
fde49fefcf
2
LICENSE
2
LICENSE
|
@ -186,7 +186,7 @@
|
|||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright {yyyy} {name of copyright owner}
|
||||
Copyright 2017 Hermes - Mathieu Cornic
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -204,13 +204,13 @@ email := hermes.Email{
|
|||
{
|
||||
// Key is the column name, Value is the cell value
|
||||
// First object defines what columns will be displayed
|
||||
{Key: "Item", Value: "Node.js"},
|
||||
{Key: "Description", Value: "Event-driven I/O server-side JavaScript environment based on V8"},
|
||||
{Key: "Item", Value: "Golang"},
|
||||
{Key: "Description", Value: "Open source programming language that makes it easy to build simple, reliable, and efficient software"},
|
||||
{Key: "Price", Value: "$10.99"},
|
||||
},
|
||||
{
|
||||
{Key: "Item", Value: "Mailgen"},
|
||||
{Key: "Description", Value: "Programmatically create beautiful e-mails using plain old JavaScript."},
|
||||
{Key: "Item", Value: "Hermes"},
|
||||
{Key: "Description", Value: "Programmatically create beautiful e-mails using Golang."},
|
||||
{Key: "Price", Value: "$1.99"},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -292,7 +292,7 @@
|
|||
|
||||
|
||||
>
|
||||
Node.js
|
||||
Golang
|
||||
</td>
|
||||
|
||||
<td
|
||||
|
@ -301,7 +301,7 @@
|
|||
|
||||
|
||||
>
|
||||
Event-driven I/O server-side JavaScript environment based on V8
|
||||
Open source programming language that makes it easy to build simple, reliable, and efficient software
|
||||
</td>
|
||||
|
||||
<td
|
||||
|
@ -325,7 +325,7 @@
|
|||
|
||||
|
||||
>
|
||||
Mailgen
|
||||
Hermes
|
||||
</td>
|
||||
|
||||
<td
|
||||
|
@ -334,7 +334,7 @@
|
|||
|
||||
|
||||
>
|
||||
Programmatically create beautiful e-mails using plain old JavaScript.
|
||||
Programmatically create beautiful e-mails using Golang.
|
||||
</td>
|
||||
|
||||
<td
|
||||
|
|
|
@ -229,6 +229,21 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="body-dictionary">
|
||||
|
||||
<dt>Firstname:</dt>
|
||||
<dd>Jon</dd>
|
||||
|
||||
<dt>Lastname:</dt>
|
||||
<dd>Snow</dd>
|
||||
|
||||
<dt>Birthday:</dt>
|
||||
<dd>01/01/283</dd>
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
Hi Jon Snow,
|
||||
Welcome to Hermes! We're very excited to have you on board.
|
||||
|
||||
Firstname: Jon
|
||||
Lastname: Snow
|
||||
Birthday: 01/01/283
|
||||
|
||||
To get started with Hermes, please click here:
|
||||
https://hermes-example.com/confirm?token=d9729feb74992cc3482b350163a1a010
|
||||
|
|
|
@ -21,13 +21,13 @@ func (r *Receipt) Email() hermes.Email {
|
|||
Table: hermes.Table{
|
||||
Data: [][]hermes.Entry{
|
||||
{
|
||||
{Key: "Item", Value: "Node.js"},
|
||||
{Key: "Description", Value: "Event-driven I/O server-side JavaScript environment based on V8"},
|
||||
{Key: "Item", Value: "Golang"},
|
||||
{Key: "Description", Value: "Open source programming language that makes it easy to build simple, reliable, and efficient software"},
|
||||
{Key: "Price", Value: "$10.99"},
|
||||
},
|
||||
{
|
||||
{Key: "Item", Value: "Mailgen"},
|
||||
{Key: "Description", Value: "Programmatically create beautiful e-mails using plain old JavaScript."},
|
||||
{Key: "Item", Value: "Hermes"},
|
||||
{Key: "Description", Value: "Programmatically create beautiful e-mails using Golang."},
|
||||
{Key: "Price", Value: "$1.99"},
|
||||
},
|
||||
},
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 205 KiB |
Loading…
Reference in New Issue