Help us shape the future of Go! Take the 2026 Go Developer Survey

string

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(haystack []string, needle string, caseinsensitive bool) bool

Contains returns true if needle is found in haystack based on caseinsensitive

func Mask

func Mask(s string) string

func MaskHeaders

func MaskHeaders(h http.Header, maskHeaders []string) map[string]string

MaskHeaders will return a stringified version of headers masking the headers passed in by name

Types

This section is empty.

Jump to

Keyboard shortcuts

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