strings_filter

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHexPrefix

func AddHexPrefix(hex string) string

func FilterStringWithOpts

func FilterStringWithOpts(word string, filter *FilterOpts) bool

func Trim0xPrefix

func Trim0xPrefix(input string) string

func ValidateHttpsURL

func ValidateHttpsURL(urlString string) bool

Types

type FilterOpts

type FilterOpts struct {
	DoesNotStartWithThese []string
	StartsWithThese       []string
	StartsWith            string
	Contains              string
	DoesNotInclude        []string
}

Jump to

Keyboard shortcuts

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