diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-05-28 01:40:44 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-05-28 01:40:44 -0400 |
commit | 6c05076bcf7d988312267ea5599cf47f2138a8cc (patch) | |
tree | 8866842991ad75d7abd14abe2446b0e092c559ba /main.go | |
parent | c3fcb4597dfa86e233811d783d35fbf5fb603833 (diff) | |
download | getwtxt-6c05076bcf7d988312267ea5599cf47f2138a8cc.tar.gz |
comments edited
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go index e9047cc..ff0447e 100644 --- a/main.go +++ b/main.go @@ -44,7 +44,7 @@ func main() { HandlerFunc(apiEndpointHandler) // Using stdlib net/url to validate the input URLs rather than regex. - // Validating a URL with regex is unwieldly + // Validating a URL with regex is unwieldy api.Path("/{format:(?:plain)}/{endpoint:(?:mentions|users|tweets)}"). Queries("url", "{url}", "q", "{query}"). Methods("GET"). |