identifier

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package identifier validates persisted semantic identifiers at declaration boundaries. SQL identifiers use the separate SQL grammar and backend limits.

Index

Constants

View Source
const MaxSemanticBytes = 128

MaxSemanticBytes bounds a semantic identifier, including message keys.

View Source
const SemanticPattern = `^[a-z0-9][a-z0-9_.-]*$`

SemanticPattern is the identifier grammar, shared with generated clients.

Variables

This section is empty.

Functions

func Semantic

func Semantic(name string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL