1
0
Fork 0

Fix newlines

master
Ambrose Chua 2017-12-02 00:27:15 +08:00
parent fa617a1c67
commit 2c34946a31
1 changed files with 3 additions and 3 deletions

View File

@ -17,9 +17,9 @@ func handler(w http.ResponseWriter, r *http.Request) {
environ := os.Environ()
uid := os.Getuid()
gid := os.Getgid()
fmt.Fprintf(w, "Time: %v", time)
fmt.Fprintf(w, "CPUs: %v", numCPU)
fmt.Fprintf(w, "Go version: %v", version)
fmt.Fprintf(w, "Time: %v\n", time)
fmt.Fprintf(w, "CPUs: %v\n", numCPU)
fmt.Fprintf(w, "Go version: %v\n", version)
fmt.Fprintf(w, "Hostname: %v\n", hostname)
fmt.Fprintf(w, "Environment: %v\n", environ)
fmt.Fprintf(w, "UID: %v GID: %v\n", uid, gid)