loansindi/ps1rfid — pull request #6 by agocs (2014-12-15 21:41:06+00:00)
Title: Created an anonymous function for http.HandleFunc.

func(w http.ResponseWriter, r *http.Request) {
openDoor(*splate)
w.Write([]byte("Okay"))
})

That anonymous function calles openDoor() with the correct arg, and then
writes "Okay" back to the ResponseWriter.