tldr
tldr copied to clipboard
Compilation error
Hi! This project seems to present an interesting usability approach to tldr
clients. Congrats!
Unfortunately, I didn't have the opportunity to test it, since I couldn't manage to compile it. It seems to be an error on one of your dependencies. The output of go get github.com/isacikgoz/tldr/cmd/tldr
:
# github.com/c-bata/go-prompt/internal/term
go/src/github.com/c-bata/go-prompt/internal/term/raw.go:27:75: cannot use (*syscall.Termios)(&n) (type *syscall.Termios) as type *unix.Termios in argument to termios.Tcsetattr
go/src/github.com/c-bata/go-prompt/internal/term/term.go:22:40: cannot use &saveTermios (type *syscall.Termios) as type *unix.Termios in argument to termios.Tcgetattr
go/src/github.com/c-bata/go-prompt/internal/term/term.go:33:68: cannot use &o (type *syscall.Termios) as type *unix.Termios in argument to termios.Tcsetattr
Hey @gustavo-hms, thanks for the feedback I will be looking into this. Can you provide me your system information? OS and architecture would be sufficient. Also, I updated the go-prompt
dependency, maybe it could be fixed. But keep in mind that I removed Windows support for v1.0
for now.
I'm on Ubuntu Linux 20.04 64 bits.
Well, I've tried once again, running go get -u github.com/isacikgoz/tldr/cmd/tldr
. This time, I've got a different error:
code in directory /go/src/github.com/go-git/go-billy/osfs expects import "github.com/go-git/go-billy/v5/osfs"