Versions in this module Expand all Collapse all v1 v1.0.0 Jun 9, 2023 Changes in this version + func ConstantTimeStringEquals(x, y string) bool + func DropRunes(s string, n int) string + func GenSecureRandomId(n int) string + func IsAsciiWord(s string) bool + func IsAsciiWordWithDigits(s string) bool + func MaskAll(s string) string + func Masked(k string, v string) zap.Field + func RemoveStrFromSliceInPlace(slice []string, target string) []string + func TakeRunes(s string, n int) string + func TrimAllInPlace(slice []string) []string + type ConstError string + func (e ConstError) Error() string + type SizedBufferPool struct + func NewSizedBufferPool(size int, alloc int) (bp *SizedBufferPool) + func (bp *SizedBufferPool) WithBuffer(f func(b *bytes.Buffer))