mfridman/tparse

Go install complains

derekcollison opened this issue · 3 comments

Just tried to install from go per instructions.

go install github.com/mfridman/tparse@latest

Resulted in the following.

> go install github.com/mfridman/tparse@latest
go: downloading github.com/mfridman/tparse v0.10.2
go: downloading github.com/muesli/termenv v0.11.0
go: downloading github.com/charmbracelet/lipgloss v0.4.0
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading github.com/mattn/go-runewidth v0.0.13
go: downloading github.com/muesli/reflow v0.3.0
go: downloading github.com/rivo/uniseg v0.2.0
go: downloading golang.org/x/sys v0.0.0-20220513210249-45d2b4557a2a
# github.com/mfridman/tparse/internal/app
/Users/derek/Development/go/pkg/mod/github.com/mfridman/tparse@v0.10.2/internal/app/table_failed.go:52:18: undefined: strings.Cut

Ouch, this didn't need to use strings.Cut (added in go1.18). Will fix this tonight so older go versions work as well.

Right now NATS server still on 1.17 but we will transition soon, thanks!

This was fixed in v0.10.3, and should work for older versions of Go. Thanks for reporting the issue.