Files
fission-src/examples/go/vendor-example/main.go
T
Ta-Ching ChenandGitHub 425e447e5c Add go environment vendor directory support (#781)
* Add go environment vendor directory support
* Use symbolink instead of copying files to gopath
* Add go vendor example package & test
2018-07-13 13:16:22 +08:00

13 lines
214 B
Go

package main
import (
"go/vendordir/test"
"net/http"
)
// Handler is the entry point for this fission function
func Handler(w http.ResponseWriter, r *http.Request) {
msg := test.Test()
w.Write([]byte(msg))
}