Sat, 21 Feb 2015 1:11 am
Amazing #go ... dengan script ini sdh bisa listen client ... #nice
package main 

import (
    "fmt"
    "net/http" ) 

func handler(w http.ResponseWriter, r *http.Request) {
    fmt.Fprintf(w, "Hi :) ... I love %s!", r.URL.Path[1:])
}

func main() {
    http.HandleFunc("/", handler)
    http.ListenAndServe(":8080", nil)
}
http://webkoe.net:8080
141
Additional Info: