Documentation
¶
Index ¶
Constants ¶
View Source
const StringSeparatorOne = "@@"
StringSeparatorOne - Main text separator, used for joins.
View Source
const StringSeparatorTwo = "--"
StringSeparatorTwo - Secondary text separator, used for joins.
Variables ¶
This section is empty.
Functions ¶
func Coalesce ¶
func Coalesce(value interface{}, fallback interface{}) interface{}
Coalesce - Returns the original value if the conditions is not met, fallback value otherwise.
func EscapeLogValue ¶ added in v1.3.1
EscapeLogValue - Strips CR/LF so attacker-controlled request data cannot forge additional log lines (log injection, CWE-117).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.