Closed interlock closed 7 years ago
Narrowed this error down to here:
https://github.com/magefile/mage/blob/master/parse/parse.go#L139
deleting my $GOPATH/pkg allowed me to repro this on my dev machine. So that explains why it wasn't happening on my machine, but not sure why it's happening. I think I'm just missing something to include imports.
Problem: When running
mage
with the included example code below the following error is reported.make.go:8:2: could not import github.com/magefile/mage/mg (can't find import: github.com/magefile/mage/mg)
Expected:
mage -l
to generate and build with the example code, allowing the use of mg formg.Dep(...)
.Results of
go env