I'm trying to setup tests for my functions in golang, but getting the following error while running go test ...
from the console:
import cycle not allowed package runtime imports unsafe imports runtime
Thinking that it was me I cloned the golang example project and ran go test reverse_test.go
, but getting the same error.
Both my GOPATH
and GOROOT
environment values are set to C:\go
, where I installed Go.
I'm on a Windows 8.1, 64bit machine.
Any ideas what's wrong?