pathmatch.Pattern.String()
parent
64422ea7ec
commit
9a424db462
|
@ -67,6 +67,8 @@ func CompileTo(target *Pattern, uncompiledPattern string) error {
|
||||||
|
|
||||||
target.init(defaultFieldTagName)
|
target.init(defaultFieldTagName)
|
||||||
|
|
||||||
|
target.template = uncompiledPattern
|
||||||
|
|
||||||
s := uncompiledPattern
|
s := uncompiledPattern
|
||||||
for {
|
for {
|
||||||
index := strings.IndexRune(s, '{')
|
index := strings.IndexRune(s, '{')
|
||||||
|
|
Loading…
Reference in New Issue