go-pathmatch/pattern_string.go

9 lines
213 B
Go
Raw Normal View History

2019-06-24 21:05:08 +00:00
package pathmatch
// String makes pathmatch.Pattern fit the fmt.Stringer interface.
//
// String returns the (pre-compiled) pattern template.
func (receiver Pattern) String() string {
return receiver.template
}