diff --git a/g_docs.go b/g_docs.go index f3b6be3..3ed2cf3 100644 --- a/g_docs.go +++ b/g_docs.go @@ -77,12 +77,13 @@ func urlReplace(src string) string { if len(p) > 0 { if p[0] == ':' { pt[i] = "{" + p[1:] + "}" + } else if p[0] == "?" && p[1] == ":" { + pt[i] = "{" + p[2:] + "}" } } } return strings.Join(pt, "/") } - ` const (