Created
September 2, 2015 03:45
-
-
Save IndianGuru/4e52126a0c7ad26fce25 to your computer and use it in GitHub Desktop.
mytext.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mytext | |
import ( | |
"fmt" | |
"net/http" | |
) | |
func init() { | |
http.HandleFunc("/", handler) | |
} | |
func handler(w http.ResponseWriter, r *http.Request) { | |
fmt.Fprint(w, "Hello. This is our first Go web app for Google App Engine!") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment