Skip to content

Commit 44d322e

Browse files
committed
Fix up template package
1 parent e2ed6d1 commit 44d322e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/template/template.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ type Template struct {
3333
}
3434

3535
// New initializes a Template.
36-
func New(w io.Writer, width int, colorEnabled bool) Template {
37-
return Template{
36+
func New(w io.Writer, width int, colorEnabled bool) *Template {
37+
return &Template{
3838
colorEnabled: colorEnabled,
3939
output: w,
4040
tp: tableprinter.New(w, true, width),

0 commit comments

Comments
 (0)