Skip to content

Instantly share code, notes, and snippets.

@ahmetb
Created August 28, 2019 17:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmetb/782d56833c496c4070cb6d0daddd89f2 to your computer and use it in GitHub Desktop.
Save ahmetb/782d56833c496c4070cb6d0daddd89f2 to your computer and use it in GitHub Desktop.
api/probe.go
// Package handler (directory named 'api/') is recognized
// by ZEIT Now v2 Lambda platform.
package handler
import (
"net/http"
)
func init() { log.SetFlags(log.Lmicroseconds) }
var _ http.HandlerFunc = Probe // type check
func Probe(w http.ResponseWriter, req *http.Request) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment