Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,17 @@ import (
)

type House struct {
Index int `table:"-"`
Name string `table:"Name"`
Sigil string
Motto string
}

func main() {
hs := []House{
{"Stark", "direwolf", "Winter is coming"},
{"Targaryen", "dragon", "Fire and Blood"},
{"Lannister", "lion", "Hear Me Roar"},
{0, "Stark", "direwolf", "Winter is coming"},
{1, "Targaryen", "dragon", "Fire and Blood"},
{2, "Lannister", "lion", "Hear Me Roar"},
}

// Output to stdout
Expand Down