> This example is on Win10 using go 1.16.3
Now I've created a directory tree outside of ~/go/src. I'm using ~ to
mean %userprofile%, as this is win10
~/gcode/rpng/rpng.go
~/gcode/tokenize/tokenize.go
~/gcode/hpcalc2/hpcalc2.go
And I updated my import statement to be "gcode/hpcalc2", etc.
Now I can use
go run gcode/rpng/rpng.go
And I set GOBIN=c:\Users\rob\gcode
go install gcode/rpng/rpng.go
and it installs to GOBIN.
At least it's working for me mostly the way it was before. I just had
to abandon my ~/go directory
Thanks for answering
Rob
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/99cc4059-012c-ab17-a5f2-80d652c41c14%40fastmail.com.