1
0
Fork 0
master
Ambrose Chua 2017-12-02 00:28:02 +08:00
parent 2c34946a31
commit c9a654e7ae
1 changed files with 3 additions and 3 deletions

View File

@ -4,15 +4,15 @@ import (
"fmt"
"net/http"
"os"
"runtime"
"runtime"
"time"
)
func handler(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello world! Here's some info:\n\n")
time := time.Now()
numCPU := runtime.NumCPU()
version := runtime.Version()
numCPU := runtime.NumCPU()
version := runtime.Version()
hostname, _ := os.Hostname()
environ := os.Environ()
uid := os.Getuid()