dave / courtney

Courtney is a coverage tool for Go
MIT License
168 stars 27 forks source link

Package not found #19

Open kstenerud opened 4 years ago

kstenerud commented 4 years ago
karl@magic:~/Projects/go-concise-encoding$ go get -u github.com/dave/courtney
go: finding github.com/dave/courtney v0.3.0
go: downloading github.com/dave/courtney v0.3.0
go: extracting github.com/dave/courtney v0.3.0
go: finding github.com/dave/patsy latest
go: finding github.com/dave/brenda v1.1.0
go: finding github.com/dave/astrid latest
go: downloading github.com/dave/patsy v0.0.0-20170606133301-2245ba804d71
go: downloading github.com/dave/brenda v1.1.0
go: downloading github.com/dave/astrid v0.0.0-20170323122508-8c2895878b14
go: finding golang.org/x/tools latest
go: downloading golang.org/x/tools v0.0.0-20200606014950-c42cb6316fb6
go: extracting github.com/dave/patsy v0.0.0-20170606133301-2245ba804d71
go: extracting github.com/dave/brenda v1.1.0
go: extracting github.com/dave/astrid v0.0.0-20170323122508-8c2895878b14
go: extracting golang.org/x/tools v0.0.0-20200606014950-c42cb6316fb6
go: finding github.com/pkg/errors v0.9.1
go: downloading github.com/pkg/errors v0.9.1
go: extracting github.com/pkg/errors v0.9.1
karl@magic:~/Projects/go-concise-encoding$ go test
PASS
ok      github.com/kstenerud/go-concise-encoding    0.093s
karl@magic:~/Projects/go-concise-encoding$ courtney 
Package not found for /home/karl/Projects/go-concise-encoding
dave commented 4 years ago

Courtney doesn't support go modules, and updating it isn't high on my list of priorities I'm afraid.

Same problem as: https://github.com/dave/courtney/issues/16

rubensayshi commented 3 years ago

@kstenerud I've managed to get it to work for my repo with go mod enabled, there's a PR for review and if you could give it a shot to see if it works for you that would be very helpful; https://github.com/dave/courtney/pull/21

LuckyPigeon commented 2 years ago

This version works for me go get -u github.com/dave/courtney@038390a12707e2d91979d2ca77a71597f4afe400