title: golang simple static server print on terminal
body: <p>this is my initial golang code : </p>
  
  <pre><code>package main
  import (
      "net/http"
      "io"
  )
  
  const hello = `hello world`
  
  
  func helloHandler(w http.ResponseWriter, r *http.Request) {
      io.WriteString(w, hello)
  }
  
  
  func main() {
      http.HandleFunc("/", helloHandler)
      http.ListenAndServe(":1088", nil)
  }
  </code></pre>
  
  <p>it is a simple http server, i need add new function, every get request print in linux terminal ip, METHOD, /request.</p>
  
  <p>example output in terminal need:</p>
  
  <pre><code>95.250.33.36 GET /
  95.250.33.36 GET /favicon.ico
  95.250.33.36 GET /robots.txt
  </code></pre>
  
  <p>how i can do this ?</p>