mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 04:22:12 +00:00
* Remove now-examples references * Adjust gatsby example * Adjust svelte example * Adjust vanilla example
13 lines
189 B
Go
13 lines
189 B
Go
package handler
|
|
|
|
import (
|
|
"fmt"
|
|
"net/http"
|
|
"time"
|
|
)
|
|
|
|
func Handler(w http.ResponseWriter, r *http.Request) {
|
|
currentTime := time.Now().Format(time.RFC850)
|
|
fmt.Fprintf(w, currentTime)
|
|
}
|