modelid

package
v0.57.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package modelid owns the one admission rule shared by every modality's model identifier: an empty value is allowed, and a non-empty value must be valid UTF-8 without surrounding whitespace. Each modality wraps the returned error with its own sentinel so a request model and a response model keep distinct identities while sharing this rule.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(id string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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