Re: [go-nuts] Using Go Lang as a tiny server program at localhost , won't execute request

2022-08-05 Thread Martin Schnabel
hi john, other than php, go programs are compiled to an executable that can then be run. you can not put go files in a folder and expect that to work. you probably followed a tutorial to set up a go http server with a simple route. the reason you get that idea that you can use file names com

[go-nuts] Using Go Lang as a tiny server program at localhost , won't execute request

2022-08-04 Thread John Dutcher
I have a tiny server program in Go language (main2.go) running and 'listening' on port 8080 in a Windows command prompt session. While running I point a browser to http://localhost:8080/main2.go and main2.go executes and places a small html form into the browser window to fill and submit. If th