Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
package main
import (
// hello world, the web server
func HelloServer(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello, world!")
func main() {
http.HandleFunc("/hello", HelloServer)
http.ListenAndServe(":12345", nil)

This comment has been minimized.

Copy link

@ghost ghost commented May 15, 2016

You are beautiful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.