Parcourir la source

update element

fancl il y a 2 ans
Parent
commit
79b7d9e621
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      element/table.go

+ 1 - 1
element/table.go

@@ -63,7 +63,7 @@ func (table *Table) String() string {
 	return br.String()
 }
 
-func NewTable(title *Text) *Table {
+func NewTable(title Element) *Table {
 	table := &Table{
 		Title:  title,
 		Header: make([]Element, 0),