util

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRemotePrice added in v1.2.0

func GetRemotePrice(url string) (string, error)

func IsValidUrl added in v1.2.0

func IsValidUrl(toTest string) bool

IsValidUrl tests a string to determine if it is a well-structured url or not.

func JSONConvert

func JSONConvert(src, dest interface{}) error

func MatchRegex

func MatchRegex(patterns []string, s string) bool

func MergeStrings

func MergeStrings(src, target []string) []string

func ParseExecError added in v1.0.2

func ParseExecError(err error) string

func RemoveStrings

func RemoveStrings(src, target []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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