{"modulePath":"github.com/GoCodeAlone/workflow-plugin-data-engineering","version":"v0.3.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package ident\n\nPackage ident provides SQL and Cypher identifier validation.\n\n## Variables\n\n```go\nvar ValidIdentifierRe = regexp.MustCompile(`^[a-zA-Z_][a-zA-Z0-9_]*$`)\n```\nValidIdentifierRe matches safe SQL/Cypher identifiers: must start with a letter or underscore, followed by letters, digits, or underscores. This prevents injection payloads from being interpolated into DDL or Cypher statements.\n\n## Functions\n\n```go\nfunc Validate(id string) error\n```\nValidate returns an error if id is not a valid SQL identifier.\n\n```go\nfunc ValidateCypher(id, kind string) error\n```\nValidateCypher returns an error if id is not a valid Cypher label, relationship type, or property key. kind names what is being validated (used in error messages).\n\n","path":"github.com/GoCodeAlone/workflow-plugin-data-engineering/internal/ident","name":"ident","synopsis":"Package ident provides SQL and Cypher identifier validation.","isRedistributable":true}
