package components type ContentTabledetail struct { ID string TableClass string // table-primary, table-secondary,.. table-striped table-bordered HeadClass string // table-dark table-light Title string AllTD []ContentTabledetailTD } type ContentTabledetailTD struct { ID string Caption string ValueType string // -> default string, href, badge Value interface{} // string or component struct according ValueType }