rewriter

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 1 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rewriter

type Rewriter struct {
	From string
	To   string
}

func (*Rewriter) IsMatch

func (r *Rewriter) IsMatch(path string) bool

func (*Rewriter) Rewrite

func (r *Rewriter) Rewrite(path string) string

type Rewriters

type Rewriters []*Rewriter

func (*Rewriters) Rewrite

func (r *Rewriters) Rewrite(path string) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL