wordlist

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadWordlist

func LoadWordlist(path string) ([]string, int, error)

LoadWordlist reads a wordlist file into a deduplicated slice, preserving first-occurrence order. It returns the entries, how many duplicates were removed, and any error from reading the file.

func SanitizeLine

func SanitizeLine(s string) string

SanitizeLine trims whitespace from a wordlist entry. Returns an empty string for blank or whitespace-only lines.

Types

This section is empty.

Jump to

Keyboard shortcuts

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