* Add go environment vendor directory support * Use symbolink instead of copying files to gopath * Add go vendor example package & test
13 lines
214 B
Go
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))
|
|
}
|