Enable go module support for go environment (#1152)

This commit is contained in:
Ta-Ching Chen
2019-07-10 14:00:29 +08:00
committed by GitHub
parent 9e7dd5aa27
commit 58722f849a
46 changed files with 130 additions and 6538 deletions
+13
View File
@@ -0,0 +1,13 @@
package main
import (
"net/http"
"github.com/golang/example/stringutil"
)
// Handler is the entry point for this fission function
func Handler(w http.ResponseWriter, r *http.Request) {
msg := stringutil.Reverse(stringutil.Reverse("Vendor Example Test"))
w.Write([]byte(msg))
}