Documentation
¶
Overview ¶
Package modelid owns the admission rules 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. Defaults may leave the model to the request, but resolved options must name one. Each modality wraps the returned error with its own sentinel so a request model and a response model keep distinct identities while sharing these rules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequireResolved ¶ added in v0.63.0
RequireResolved admits the model of resolved options, which every request is sent with, so it must be present.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.