aboutsummaryrefslogtreecommitdiff
path: root/outboxPost.go
diff options
context:
space:
mode:
authorKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-10-27 18:18:06 -0300
committerFChannel <>2022-06-19 12:53:29 -0700
commitd2277b1f9b17e61456cd312ef54542e1cfa81a40 (patch)
tree3f7f4b6dffe95c0f9909921dd47700e733b4ee47 /outboxPost.go
parent9f8195162295d2a789462e6b13394174a5745100 (diff)
restructuring, part 1 of many
Diffstat (limited to 'outboxPost.go')
-rw-r--r--outboxPost.go24
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) {