Skip to content

Instantly share code, notes, and snippets.

@a-know a-know/hello.go
Created Sep 24, 2017

Embed
What would you like to do?
GAE で静的コンテンツ配信・アプリケーションファイル
package hello
import (
"fmt"
"net/http"
)
func init() {
http.HandleFunc("/hello", handler)
}
func handler(w http.ResponseWriter, r *http.Request) {
fmt.Fprint(w, "Hello, world! by go-app")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.