Mention not (#1432)

And be more precise about closing `{{ end }}` statement.
This commit is contained in:
Salim B
2021-04-28 22:22:49 +00:00
committed by GitHub
parent fb551cc750
commit 41d24297c7
+1 -1
View File
@@ -245,7 +245,7 @@ If the _map_, _array_, or _slice_ passed into the range is zero-length then the
### Conditionals
`if`, `else`, `with`, `or`, and `and` provide the framework for handling conditional logic in Go Templates. Like `range`, each statement is closed with an `{{ end }}`.
`if`, `else`, `with`, `or`, `and` and `not` provide the framework for handling conditional logic in Go Templates. Like `range`, `if` and `with` statements are closed with an `{{ end }}`.
Go Templates treat the following values as **false**: