diff options
Diffstat (limited to 'outboxPost.go')
-rw-r--r-- | outboxPost.go | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/outboxPost.go b/outboxPost.go index f2a5cf9..2fc6b08 100644 --- a/outboxPost.go +++ b/outboxPost.go @@ -1,16 +1,18 @@ package main -import "fmt" -import "net/http" -import "database/sql" -import _ "github.com/lib/pq" -import "encoding/json" -import "io/ioutil" -import "mime/multipart" -import "os" -import "regexp" -import "strings" -import "os/exec" +import ( + "database/sql" + "encoding/json" + "fmt" + _ "github.com/lib/pq" + "io/ioutil" + "mime/multipart" + "net/http" + "os" + "os/exec" + "regexp" + "strings" +) func ParseOutboxRequest(w http.ResponseWriter, r *http.Request, db *sql.DB) { |