diff options
author | Jacob Gadikian <[email protected]> | 2023-08-08 03:40:31 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-08-07 19:40:31 +0000 |
commit | b32f265ecad60404c3818cc9d42e367a8e4eb7d4 (patch) | |
tree | 16d79c3ad7ddf0cc6f7915d1e47bdd6d269bf8d5 /modules/caddyhttp/matchers.go | |
parent | 431adc09805972196314b2b188904942cbe5dfee (diff) | |
download | caddy-b32f265ecad60404c3818cc9d42e367a8e4eb7d4.tar.gz caddy-b32f265ecad60404c3818cc9d42e367a8e4eb7d4.zip |
ci: Use gofumpt to format code (#5707)
Diffstat (limited to 'modules/caddyhttp/matchers.go')
-rw-r--r-- | modules/caddyhttp/matchers.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/caddyhttp/matchers.go b/modules/caddyhttp/matchers.go index fb84875d9..f40802fc3 100644 --- a/modules/caddyhttp/matchers.go +++ b/modules/caddyhttp/matchers.go @@ -1392,9 +1392,7 @@ func ParseCaddyfileNestedMatcherSet(d *caddyfile.Dispenser) (caddy.ModuleMap, er return matcherSet, nil } -var ( - wordRE = regexp.MustCompile(`\w+`) -) +var wordRE = regexp.MustCompile(`\w+`) const regexpPlaceholderPrefix = "http.regexp" |