mirror of
https://github.com/gofiber/storage.git
synced 2025-10-23 16:33:15 +08:00
fixed lint issue
This commit is contained in:
@@ -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 == "" {
|
||||
|
Reference in New Issue
Block a user