adapterutil

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeJSONMarshaller

func DecodeJSONMarshaller(jm json.Marshaler, custom interface{}) error

DecodeJSONMarshaller decodes the JSONMarshaller into the given object.

func StringsContains

func StringsContains(val string, slice []string) bool

StringsContains check if the string is present in the string array.

func StringsIntersect

func StringsIntersect(a, b []string) bool

StringsIntersect determines whether a and b have at least one common element.

func ValidHTTPURL

func ValidHTTPURL(str string) bool

ValidHTTPURL checks if the string is a valid http url.

Types

This section is empty.

Jump to

Keyboard shortcuts

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