All of a sudden, when trying to build programs that used to work, as recently as a couple of days ago, I'm getting
main.go:6:2: cannot find package "text/template" in any of:
C:\Go\src\text\template (from $GOROOT)
D:\<user>\Go\src\text\template (from $GOPATH)
I was trying this in a module, but when the error popped up, I copied the program into a directory in $GOPATH/src and got the same result.
go version reports "go1.12 windows/amd64". I'm using a 64-bit Windows 10 Home machine.
Is anyone else experiencing this? Is it temporary? Is there a work-around?
Thanks!