gocorona
gocorona copied to clipboard
Failed to go get gocorona
Hey @ayoisaiah I wanted to try out your CLI tool. Looks pretty cool in the README but my first installation failed:
$ go get github.com/ayoisaiah/gocorona/cmd/...
# github.com/ayoisaiah/gocorona/cmd/gocorona
go/src/github.com/ayoisaiah/gocorona/cmd/gocorona/main.go:108:23: currentTable.Widget.ScrollDown undefined (type *widgets.Table has no field or method ScrollDown)
go/src/github.com/ayoisaiah/gocorona/cmd/gocorona/main.go:110:23: currentTable.Widget.ScrollUp undefined (type *widgets.Table has no field or method ScrollUp)
@fgrosse Please download the appropriate binary for your OS on the releases page.
The installation failed because I'm using my own fork of termui and I added some methods to the table widget to allow scrolling, but using go get
seems to fetch the original library instead of the fork even though I'm using the replace directive and that's why the method does not exist.
I've not found a suitable solution to the problem.
I see, an alternative solution is to checkout the repo and install from source. That's pretty weird, looks like an issue in Go then?
In case its needed for future reference:
$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
$ git rev-parse HEAD
2e715952f1592567ce5b1b4cc1b76789739c1500
$ go install ./cmd/...
$ which gocorona
~/go/bin/gocorona
$ go version
go version go1.14 linux/amd64
Feel free to close the ticket but maybe you want to leave it open in case other people have the same problem. Anyway thanks for open sourcing this. Looks pretty cool :sunglasses:
Same problem on go 1.14.2