fixed lint issue

This commit is contained in:
MitulShah1
2025-04-20 12:52:46 +05:30
parent 46aa8dbd7c
commit d431239437

View File

@@ -4,7 +4,6 @@ import (
"errors"
"fmt"
"log"
"regexp"
"strings"
"time"
"unicode"
@@ -24,11 +23,6 @@ type Storage struct {
ttl int
}
var (
// identifierPattern matches valid Cassandra identifiers
identifierPattern = regexp.MustCompile(`^[a-zA-Z0-9_]+$`)
)
// validateIdentifier checks if an identifier is valid
func validateIdentifier(name, identifierType string) (string, error) {
if name == "" {