avoid the "src" folder

This commit is contained in:
Chris Lu
2013-02-10 03:25:35 -08:00
parent 1b6f53cdac
commit ab6fb13ad7
51 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package operation
import (
"log"
"net/http"
)
func Delete(url string) error {
req, err := http.NewRequest("DELETE", url, nil)
if err != nil {
log.Println("failing to delete", url)
return err
}
_, err = http.DefaultClient.Do(req)
return err
}