mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00:00
tpl: Add time note to default func description
This commit is contained in:
1 parent
6b9abc6cf3
commit
dfc0625d6f
1 file changed
+3
-3
@@ -30,9 +30,9 @@ and other basic tools; these are listed in the
|
||||
|
||||
### default
|
||||
Checks whether a given value is set and returns a default value if it is not.
|
||||
"Set" in this context means true for booleans; non-zero for numeric types;
|
||||
non-zero length for strings, arrays, slices, and maps; any struct value; or
|
||||
non-nil for any other types.
|
||||
"Set" in this context means true for booleans; non-zero for numeric types and
|
||||
times; non-zero length for strings, arrays, slices, and maps; any struct value;
|
||||
or non-nil for any other types.
|
||||
|
||||
e.g.
|
||||
|
||||
|
||||
Reference in new issue
Block a user