Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sanitizer ¶
type Sanitizer struct {
// contains filtered or unexported fields
}
func NewSanitizer ¶
func NewSanitizer(config *SanitizerConfig) *Sanitizer
type SanitizerConfig ¶
type SanitizerConfig struct { ImportWhitelist map[string]string FunctionBlacklist map[string][]string }
func (SanitizerConfig) AllowedPrefixes ¶ added in v1.2.1
func (c SanitizerConfig) AllowedPrefixes() (prefixes []string)
Click to show internal directories.
Click to hide internal directories.