Changed date -> data
This commit is contained in:
Nick-Rivera 2018-09-10 23:13:35 -07:00 committed by Bjørn Erik Pedersen
parent 0a671bc375
commit c4348636a6

View File

@ -22,7 +22,7 @@ aliases: []
needsexamples: false
---
`default` checks whether a given value is set and returns a default value if it is not. *Set* in this context means different things depending on date type:
`default` checks whether a given value is set and returns a default value if it is not. *Set* in this context means different things depending on the data type:
* non-zero for numeric types and times
* non-zero length for strings, arrays, slices, and maps