-
Notifications
You must be signed in to change notification settings - Fork 19
Imply module name from $PWD #71
Copy link
Copy link
Open
Description
-*- mode: compilation; default-directory: "~/go/pkg/mod/github.com/stapelberg/glog@v0.0.0-20160603071839-f15f13b47694/" -*-
Compilation started at Fri May 29 21:53:41
goversion -m $(which gohack) && gohack get
/home/michael/go/bin/gohack go1.14
path github.com/rogpeppe/gohack
mod github.com/rogpeppe/gohack v1.0.2
dep github.com/rogpeppe/go-internal v1.0.0
dep golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e
dep gopkg.in/errgo.v2 v2.1.0
cannot determine main module: go list -m: not using modules
Compilation exited abnormally with code 1 at Fri May 29 21:53:41
I have to use gohack get github.com/stapelberg/glog even though it’s obvious from my working directory which package I mean.
Would a PR for this be accepted?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels