Go fmt
parent
2c34946a31
commit
c9a654e7ae
6
hello.go
6
hello.go
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue