match

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(s, t string) bool

func HasPrefix

func HasPrefix(s, prefix string) bool

func TrimPrefix

func TrimPrefix(s, prefix string) string

Types

type Match

type Match int
const (
	CASE_SENSITIVE Match = iota
	CASE_INSENSITIVE
)

func (Match) Equal

func (m Match) Equal(s, t string) bool

func (Match) HasPrefix

func (m Match) HasPrefix(s, prefix string) bool

func (Match) TrimPrefix

func (m Match) TrimPrefix(s, prefix string) string

Jump to

Keyboard shortcuts

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