diff options
author | Feuerfuchs <git@feuerfuchs.dev> | 2019-11-16 19:41:16 +0100 |
---|---|---|
committer | Feuerfuchs <git@feuerfuchs.dev> | 2019-11-16 19:41:16 +0100 |
commit | b528c9f726c32e44ca2dfb816078a27537b189a1 (patch) | |
tree | 2b0b96fbebcadb7f74c2d99e72e78bcce175298c | |
parent | Include some box characters in fonts (diff) | |
download | gopherproxy-b528c9f726c32e44ca2dfb816078a27537b189a1.tar.gz gopherproxy-b528c9f726c32e44ca2dfb816078a27537b189a1.tar.bz2 gopherproxy-b528c9f726c32e44ca2dfb816078a27537b189a1.zip |
Remove obsolete vars from libgemini
-rw-r--r-- | libgemini.go | 6 |
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 | ||
49 | var ( | 49 | var ( |
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 | ||
56 | type GeminiHeader struct { | 54 | type GeminiHeader struct { |