aboutsummaryrefslogtreecommitdiff
path: root/tests/one.go
diff options
context:
space:
mode:
authorDoug Black <dblack@twilio.com>2014-01-27 10:41:28 -0500
committerDoug Black <dblack@twilio.com>2014-01-27 10:41:28 -0500
commit0a2d08f88e0a25d8fe388647abdfad029ca6a0b7 (patch)
tree31ed7a9147b4ac5b4354b00edcaa1f0db4c386b4 /tests/one.go
parentadd license (diff)
downloadsleepy-0a2d08f88e0a25d8fe388647abdfad029ca6a0b7.tar.gz
sleepy-0a2d08f88e0a25d8fe388647abdfad029ca6a0b7.tar.bz2
sleepy-0a2d08f88e0a25d8fe388647abdfad029ca6a0b7.zip
use ServeMux, capitalize API, clean tests
Diffstat (limited to 'tests/one.go')
-rw-r--r--tests/one.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/one.go b/tests/one.go
deleted file mode 100644
index 15fd27b..0000000
--- a/tests/one.go
+++ /dev/null
@@ -1,14 +0,0 @@
-package main
-
-import (
- "net/http"
-)
-
-func response(rw http.ResponseWriter, request *http.Request) {
- rw.Write([]byte("Hello world."))
-}
-
-func main() {
- http.HandleFunc("/", response)
- http.ListenAndServe(":3000", nil)
-}
bgstack15