Closed jlanzarotta closed 9 months ago
Can you try following the example here: https://github.com/jedib0t/go-pretty/blob/main/table/render_test.go#L872-L881 ?
My IDE with golang 1.21.3 doesn't show any issues:
I'll try 1.22.0 shortly.
It works with go 1.22.1 too: https://play.golang.com/p/65kYWlAx4nm --- it may be an IDE issue at your end?
Hello, thanks for the response. It ended up being that I had an incorrect import. Instead of having "github.com/jedib0t/go-pretty/v6/text"
, I had "github.com/jedib0t/go-pretty/text"
.
Hello,
I am not sure if this is bug or not... but for some reason calling SetRowPainter() does not compile. I am using go 1.22.0 and go-pretty v6.5.4.
I am able to render a table just fine. It was when I add the call to t.SetRowPainter(), that does not compile. Here is a screenshot...
This code snippet does was taken from another example I found that was supposed to be working.
Any ideas?
Thanks,