util

package
Version: v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: Apache-2.0 Imports: 4 Imported by: 111

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHostPort added in v0.4.0

func GetHostPort(address string) (string, int, error)

GetHostPort extracts the host and port from a given address string.

func InStringPs

func InStringPs(subject string, collection []*string) bool

InStringPs returns true if the subject string is contained in the supplied slice of string pointers

func InStrings

func InStrings(subject string, collection []string) bool

InStrings returns true if the subject string is contained in the supplied slice of strings

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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