From 85867684a37175ff6aa23202428bd4c0afabfb2f Mon Sep 17 00:00:00 2001 From: jiangyong Date: Sat, 2 May 2026 08:47:04 +0800 Subject: [PATCH] json --- table.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {