From d2277b1f9b17e61456cd312ef54542e1cfa81a40 Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Wed, 27 Oct 2021 18:18:06 -0300 Subject: restructuring, part 1 of many --- outboxPost.go | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'outboxPost.go') 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) { -- cgit v1.2.3