package html_components type TableColumnType string const ( TableColumnTypeText TableColumnType = "text" TableColumnTypeImage TableColumnType = "image" ) type TableColumn struct { Value string Type TableColumnType } type TableRow struct { Id string Columns []TableColumn EntityUrl string EditItemUrl string DeleteItemUrl string } type Pagination struct { PreviousDisabled bool NextDisabled bool Page int TotalNumberOfItems int CurrenItemStart int CurrentItemEnd int PreviousPage int NextPage int } type Table struct { Headers []string Rows []TableRow EntityUrl string OrderBy string OrderDirection string FilterValue string FilterSelect SelectInput Pagination Pagination ShowBack bool BackUrl string CreateItemUrl string }