start with httpd // fix timestamps on git
authorkremlin <ian@kremlin.cc>
Sat, 24 Jan 2015 02:43:52 +0000 (21:43 -0500)
committerkremlin <ian@kremlin.cc>
Sat, 24 Jan 2015 02:43:52 +0000 (21:43 -0500)
httpd.go

index 13d136110b0e5e17230896388ac3d6dad33248b8..856d7dfe26909b38ee55c929c67bb4176e44b491 100644 (file)
--- a/httpd.go
+++ b/httpd.go
@@ -1,9 +1,14 @@
-package main 
+package main
 
 import "fmt"
-/*import "net/http"*/
+import "net/http"
 
 func main() {
 
+    /* make sure to close() anything you need to (you need to) */
     fmt.Println("welp");
+    resp, err := http.Get("http://kremlin.cc")
+
+    if err != nil {}
+    fmt.Println(resp)
 }