Commit e5542180a21a5fbc75318d3e91557179d778ce58
1 parent
f642f621e1
Exists in
master
and in
1 other branch
made identifiers consistent and fixed minor formatting issues
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
src/main.go
View file @
e554218
... | ... | @@ -6,11 +6,11 @@ |
6 | 6 | |
7 | 7 | "appengine" |
8 | 8 | "appengine/datastore" |
9 | - // "appengine/user" | |
9 | + //"appengine/user" | |
10 | 10 | ) |
11 | 11 | |
12 | 12 | func init() { |
13 | - http.HandleFunc("/", handlerRoot) | |
13 | + http.HandleFunc("/", rootHandler) | |
14 | 14 | } |
15 | 15 | |
16 | 16 | type User struct { |
... | ... | @@ -18,7 +18,7 @@ |
18 | 18 | Value string |
19 | 19 | } |
20 | 20 | |
21 | -func handlerRoot(w http.ResponseWriter, r *http.Request) { | |
21 | +func rootHandler(w http.ResponseWriter, r *http.Request) { | |
22 | 22 | c := appengine.NewContext(r) |
23 | 23 | u := User{ |
24 | 24 | UserID: r.FormValue("userid"), |