Documentation ¶ Index ¶ type Patterns func Load(filename string, src io.Reader) (*Patterns, error) func (p *Patterns) Match(url *url.URL) (id, normalized string, err error) func (p *Patterns) MatchAll(url *url.URL) (map[string]string, error) func (p *Patterns) Test(sys *sys.IO) (map[string]string, error) func (p *Patterns) TestCases() map[string]string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Patterns ¶ type Patterns struct { // contains filtered or unexported fields } func Load ¶ func Load(filename string, src io.Reader) (*Patterns, error) func (*Patterns) Match ¶ func (p *Patterns) Match(url *url.URL) (id, normalized string, err error) func (*Patterns) MatchAll ¶ func (p *Patterns) MatchAll(url *url.URL) (map[string]string, error) func (*Patterns) Test ¶ func (p *Patterns) Test(sys *sys.IO) (map[string]string, error) func (*Patterns) TestCases ¶ func (p *Patterns) TestCases() map[string]string Source Files ¶ View all Source files loader.go parts.go patterns.go query.go rewriters.go tree.go Click to show internal directories. Click to hide internal directories.