mdp / qrterminal

QR Codes in your terminal
MIT License
442 stars 53 forks source link

Fix import path {github.com/rsc/qr ➜ rsc.io/qr} #10

Closed sudo-suhas closed 6 years ago

sudo-suhas commented 6 years ago

I was trying to go get github.com/claudiodangelis/qr-filetransfer but got an unexpected error:

➜ GOPATH=~/installs/go-tools go get -u -v github.com/claudiodangelis/qr-filetransfer
github.com/claudiodangelis/qr-filetransfer (download)
github.com/jhoonb/archivex (download)
github.com/mattn/go-colorable (download)
github.com/mattn/go-isatty (download)
github.com/mdp/qrterminal (download)
github.com/rsc/qr (download)
package github.com/rsc/qr: code in directory /home/suhaskaranth/installs/go-tools/src/github.com/rsc/qr expects import "rsc.io/qr"

There was a recent commit ca9a01fc to github.com/rsc/qr which probably caused the issue. But the import path was incorrect to begin with and probably worked by downloading rsc.io/pr as a dependency of github.com/rsc/qr.

This PR corrects the import path for the qr dependency.

mdp commented 6 years ago

Thanks for the fix.

sudo-suhas commented 6 years ago

:grin: happy to help!