diff --git a/table.go b/table.go index ece6514..0eecc87 100644 --- a/table.go +++ b/table.go @@ -10,9 +10,9 @@ import ( ) type TableData struct { - Title string - Headers []string - Rows [][]string + Title string `json:"title"` + Headers []string `json:"headers"` + Rows [][]string `json:"rows"` } type TableConfig struct {