regexp

package
v0.0.0-...-0871eb3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRegexp

func CheckRegexp(reg, str string) bool

CheckRegexp is check str using pattern reg

func IsBenchTest

func IsBenchTest(target string) bool

IsBenchTest is check parameter for bench test

func IsExtFile

func IsExtFile(target, ext string) bool

IsExtFile is check that target include ext string

func IsGoFile

func IsGoFile(target string) bool

IsGoFile is .go or not

func IsHeaderURL

func IsHeaderURL(target string) bool

IsHeaderURL is check url

func IsInvisiblefile

func IsInvisiblefile(target string) bool

IsInvisiblefile is whether target is invisible file or not

func IsStaticFile

func IsStaticFile(target string) bool

IsStaticFile is static file which has extension in file name or not

func IsTmplFile

func IsTmplFile(target string) bool

IsTmplFile is .tmpl or not

func Replace

func Replace(path, from, to string) string

Replace is replace from to

func Replace2

func Replace2(path, from, to string) string

Replace2 is replace from to

Types

This section is empty.

Jump to

Keyboard shortcuts

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