type

DefaultValue

type DefaultValue struct { kind DefaultKind text string }

The immutable typed scalar held by a Default option.

Source field/field.go:249

Kind()DefaultKind
Return the typed default-value discriminator.
String()string
Return the canonical scalar representation.

Kind distinguishes string, number, and boolean. String returns the canonical representation.

Methods