function
Code
func Code(
name string,
options ...StringOption,
) DefinitionDefine source-code text with an editor language hint.
Related types
StringOptionOptions accepted by Text, Slug, Textarea, Email, Code, and Date.
DefinitionAn immutable authored field definition.