aboutsummaryrefslogtreecommitdiff
path: root/accept.go
diff options
context:
space:
mode:
authorKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-10-30 00:31:39 -0300
committerFChannel <>2022-06-19 12:53:29 -0700
commitfbf9732a7a7a599fdc35b7e9e2072d32d2ea9d33 (patch)
tree4a669e16690fdebf5f597f5bb9a229b888776e48 /accept.go
parent8040825daac4a5ba24e947c4c657d169d7763543 (diff)
goimports
Diffstat (limited to 'accept.go')
-rw-r--r--accept.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/accept.go b/accept.go
index b357cc4..6a15857 100644
--- a/accept.go
+++ b/accept.go
@@ -1,7 +1,9 @@
package main
-import "strings"
-import "regexp"
+import (
+ "regexp"
+ "strings"
+)
// False positive for application/ld+ld, application/activity+ld, application/json+json
var activityRegexp = regexp.MustCompile("application\\/(ld|json|activity)((\\+(ld|json))|$)")