util

package
v0.0.0-...-19bbfc4 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProgressBarOptions = progressbar.OptionSetTheme(progressbar.Theme{
	Saucer:        "█",
	SaucerHead:    "█",
	SaucerPadding: " ",
	BarStart:      "|",
	BarEnd:        "|",
})

Functions

func HashAndSalt

func HashAndSalt(pwd []byte) string

func RemoveDuplicates

func RemoveDuplicates(elements []string) []string

func RemoveStringFromSlice

func RemoveStringFromSlice(s []string, r string) []string

Types

type CompiledRegex

type CompiledRegex struct {
	*regexp.Regexp
}

func (*CompiledRegex) GetMatchGroupContent

func (cr *CompiledRegex) GetMatchGroupContent(s string, gi int) string

Jump to

Keyboard shortcuts

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