Hello!
I want to use nginx+Go in simple web app.
How I can do it using Go as 1)script (file xxx.go) 2)binary app
For example I have file hello.go in the nginx root:
package main
import "fmt"
func main() {
fmt.Printf("hello, world\n")
}
I should get:
http://myhost/hello.go
hello, world
I want to use nginx+Go in simple web app.
How I can do it using Go as 1)script (file xxx.go) 2)binary app
For example I have file hello.go in the nginx root:
package main
import "fmt"
func main() {
fmt.Printf("hello, world\n")
}
I should get:
http://myhost/hello.go
hello, world