Added golang CI lint Reference issue: https://github.com/uber-go/zap/issues/880 Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
16 lines
292 B
Go
16 lines
292 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
"net/http"
|
|
)
|
|
|
|
// Handler is the entry point for this fission function
|
|
func Handler(w http.ResponseWriter, r *http.Request) { //nolint:golint,unused,deadcode
|
|
msg := "Hello, CNCF Webinar!\n"
|
|
_, err := w.Write([]byte(msg))
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
}
|