naming

package
v1.0.32 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultAttrName

func DefaultAttrName(name string) string

DefaultAttrName converts a Go struct field name to the preferred camelCase DynamoDB attribute name.

func ResolveAttrName

func ResolveAttrName(field reflect.StructField) (string, bool)

ResolveAttrName determines the DynamoDB attribute name for a field. It returns the attribute name and a bool indicating whether the field should be skipped.

func ValidateAttrName

func ValidateAttrName(name string) error

ValidateAttrName enforces camelCase (with PK/SK exceptions) for DynamoDB attribute names.

Types

This section is empty.

Jump to

Keyboard shortcuts

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