function
Default
func Default[
Value ~string
| ~bool
| ~int
| ~int8
| ~int16
| ~int32
| ~int64
| ~uint
| ~uint8
| ~uint16
| ~uint32
| ~uint64
| ~float32
| ~float64,
](value Value) DefaultOptionSet a typed string, number, or boolean default.
Related types
DefaultOptionOptions accepted by scalar fields with defaults.