You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: string_utils.go
    path of file: ./repos/neosync/worker/internal/benthos/transformers/utils
    
    the code of the file until where you have to start completion: package transformer_utils

import (
	"fmt"
	"math/rand"
	"net/mail"
	"regexp"
	"strings"
	"unicode"
)

var allowedSpecialChars = map[rune]struct{}{
	'!': {}, '@': {}, '#': {}, '$': {}, '%': {}, '^': {}, '&': {}, '*': {}, '(': {}, ')': {},
	'-': {}, '+': {}, '=': {}, '_': {}, '[': {}, ']': {}, '{': {}, '}': {}, '|': {}, '\\': {},
	' ': {}, ';': {}, '"': {}, '<': {}, '>': {}, ',': {}, '.': {}, '/': {}, '?': {},
}

// substrings a string using rune length to account for multi-byte characters
func SliceString(s string, l int) string {
	// use runes instead of strings in order to avoid slicing a multi-byte character and returning invalid UTF-8
	runes := []rune(s)

	if l > len(runes) {
		l = len(
    
func GenerateRandomStringWithInclusiveBounds(min, max int64) (string, error) {
	if min < 0 || max < 0 || min > max {
		return "", fmt.Errorf("invalid bounds when attempting to generate random string: [%d:%d]", min, max)
	}

	var length int64
	if min == max {
		length = min
	} else {
		randlength, err := GenerateRandomInt64InValueRange(min, max)
		if err != nil {
			return "", fmt.Errorf("unable to generate a random length for the string within range [%d:%d]: %w", min, max, err)
		}
		length = randlength
	}

	result := make([]byte, length)
	for i := int64(0); i < length; i++ {
		// Generate a random index in the range [0, len(alphabet))
		index := rand.Intn(len(alphanumeric)) //nolint:gosec
		// Get the character at the generated index and append it to the result
		result[i] = alphanumeric[index]
	}
	return strings.ToLower(string(result)), nil
}