From: kremlin Date: Sat, 24 Jan 2015 02:43:52 +0000 (-0500) Subject: start with httpd // fix timestamps on git X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=k_transpose.git;a=commitdiff_plain;h=53d46aa3f7b18ebe0bdaf0061bc0218aa45afa4b start with httpd // fix timestamps on git --- diff --git a/httpd.go b/httpd.go index 13d1361..856d7df 100644 --- 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) }