From 8aa545db9843ff5f586a9f4a73d8e70023933d91 Mon Sep 17 00:00:00 2001 From: Mrinal Wadhwa Date: Thu, 8 Nov 2018 16:07:25 -0800 Subject: [PATCH] docs: add comment to explain recursive transition to parsePath --- did.go | 1 + 1 file changed, 1 insertion(+) diff --git a/did.go b/did.go index 4331aec..d21f7f7 100644 --- a/did.go +++ b/did.go @@ -306,6 +306,7 @@ func (p *parser) parsePath() parserStep { char := input[currentIndex] if char == '/' { + // encountered / input may have another path segment, try to parse that next next = p.parsePath break }