EOF in go1 programming language
You may get errors like the following when compiling older Go programs with go1:
has moved to
. When you replace them you should stop getting this error.
Generally, to fix code using old Go APIs, you can run
go fix .
in the directory containing your files:
Fix finds Go programs that use old APIs and rewrites them to use newer ones. After you update to a new Go release, fix helps make the necessary changes to your programs.