diff options
author | Devon Hudson <devonhudson@librem.one> | 2023-01-31 16:13:59 -0700 |
---|---|---|
committer | Devon Hudson <devonhudson@librem.one> | 2023-02-01 13:41:37 -0700 |
commit | 2f8377e94b5b32f4957c1f6c64acdd8bd2880e23 (patch) | |
tree | 4e19a373eb5cc17c407a19204cd5e5b538671dc9 /relayapi | |
parent | 529feb07eec0b52eee66bc1f4ce6985b83485e73 (diff) |
Remove nolint: gocyclo from relayapi routing setup
Diffstat (limited to 'relayapi')
-rw-r--r-- | relayapi/routing/routing.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/relayapi/routing/routing.go b/relayapi/routing/routing.go index c908e950..8ee0743e 100644 --- a/relayapi/routing/routing.go +++ b/relayapi/routing/routing.go @@ -34,10 +34,6 @@ import ( // The provided publicAPIMux MUST have `UseEncodedPath()` enabled or else routes will incorrectly // path unescape twice (once from the router, once from MakeRelayAPI). We need to have this enabled // so we can decode paths like foo/bar%2Fbaz as [foo, bar/baz] - by default it will decode to [foo, bar, baz] -// -// Due to Setup being used to call many other functions, a gocyclo nolint is -// applied: -// nolint: gocyclo func Setup( fedMux *mux.Router, cfg *config.FederationAPI, |