From 0742026197b8b419bd105fe70691b39ce52d7c27 Mon Sep 17 00:00:00 2001 From: Mrinal Wadhwa <mrinal@ockam.io> Date: Sat, 10 Nov 2018 15:23:58 -0800 Subject: [PATCH] fix: silence ocycle warning on parsePath --- did.go | 1 + 1 file changed, 1 insertion(+) diff --git a/did.go b/did.go index acc41b0..3249bee 100644 --- a/did.go +++ b/did.go @@ -287,6 +287,7 @@ func (p *parser) parseID() parserStep { // unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" // pct-encoded = "%" HEXDIG HEXDIG // sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "=" +// nolint: gocyclo func (p *parser) parsePath() parserStep { input := p.input inputLength := len(input)