aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeuerfuchs <git@feuerfuchs.dev>2019-11-16 19:41:16 +0100
committerFeuerfuchs <git@feuerfuchs.dev>2019-11-16 19:41:16 +0100
commitb528c9f726c32e44ca2dfb816078a27537b189a1 (patch)
tree2b0b96fbebcadb7f74c2d99e72e78bcce175298c
parentInclude some box characters in fonts (diff)
downloadgopherproxy-b528c9f726c32e44ca2dfb816078a27537b189a1.tar.gz
gopherproxy-b528c9f726c32e44ca2dfb816078a27537b189a1.tar.bz2
gopherproxy-b528c9f726c32e44ca2dfb816078a27537b189a1.zip
Remove obsolete vars from libgemini
-rw-r--r--libgemini.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/libgemini.go b/libgemini.go
index 20fc137..94744ba 100644
--- a/libgemini.go
+++ b/libgemini.go
@@ -47,10 +47,8 @@ const (
47) 47)
48 48
49var ( 49var (
50 HeaderPattern = regexp.MustCompile("^(\\d\\d)[ \\t]+(.*)$") 50 HeaderPattern = regexp.MustCompile("^(\\d\\d)[ \\t]+(.*)$")
51 MimeTypePattern = regexp.MustCompile("^[-\\w.]+/[-\\w.]+") 51 GeminiLinkPattern = regexp.MustCompile("^=>[ \\t]*([^ \\t]+)(?:[ \\t]+(.*))?$")
52 MimeCharsetPattern = regexp.MustCompile("charset=([^ ;]+)")
53 GeminiLinkPattern = regexp.MustCompile("^=>[ \\t]*([^ \\t]+)(?:[ \\t]+(.*))?$")
54) 52)
55 53
56type GeminiHeader struct { 54type GeminiHeader struct {