add: Go function example (tf-go-hello-fn)

This commit is contained in:
Naeel
2026-04-15 16:19:25 +03:00
parent 4964c8f357
commit 66404fde3a
2 changed files with 50 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
package main
import (
"fmt"
"net/http"
)
func Handler(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/plain")
fmt.Fprintf(w, "Hello from Go in Fission")
}