utils

package
v0.0.0-...-a8bebdb Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CutPrefix

func CutPrefix(s, prefix string) (string, bool)

func EitherCutPrefix

func EitherCutPrefix(s string, prefix ...string) (string, bool)

func EitherTrimEqual

func EitherTrimEqual(s string, prefix ...string) (string, bool)

func MatchDeleteFile

func MatchDeleteFile(input string) (bool, string)

func MatchPicture

func MatchPicture(input string) (bool, string)

func MatchReadFile

func MatchReadFile(input string) (bool, string, string)

func MatchRetrieveFile

func MatchRetrieveFile(input string) (bool, string)

func TrimEqual

func TrimEqual(s, prefix string) (string, bool)

trim space and equal

Types

This section is empty.

Jump to

Keyboard shortcuts

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