From ca0b5cba23bc146af8c3a3f25c192217393aa240 Mon Sep 17 00:00:00 2001 From: Jae-Sung Lee Date: Fri, 27 May 2022 05:15:02 +0000 Subject: [PATCH] Update Readme --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8620d72..e9235a7 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ import ( ) type House struct { + Index int `table:"-"` Name string `table:"Name"` Sigil string Motto string @@ -40,9 +41,9 @@ type House struct { 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