uri

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LiteralSegments

func LiteralSegments(pattern string) ([]string, []model.Diag)

func Segments

func Segments(pattern string) ([]string, []model.Diag)

Types

type Uri

type Uri struct {
	Verb string
	Raw  string
	Seg  []string
	Diag []model.Diag
	From model.Pos
	To   model.Pos
}

func NewUri

func NewUri(verb, raw string) Uri

func NewUriFrom

func NewUriFrom(verb, raw string, from model.Pos) Uri

func NewUriFromTo

func NewUriFromTo(verb, raw string, from, to model.Pos) Uri

func (*Uri) MatchLevel added in v1.0.13

func (u *Uri) MatchLevel(uri Uri) int

Jump to

Keyboard shortcuts

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