Home
Crypto
Create
Amazing #go ... dengan script ini sdh bisa listen client ... #nice <pre> 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) } </pre> http://webkoe.net:8080