How to write a conditional in Go Lang like this:
File: view.html
{{ if(var1 =="" && var2 =="" }}
ALL EMPTY
{{else}}
DISPLAY
{{END}}
How to write a conditional in Go Lang like this:
File: view.html
{{ if(var1 =="" && var2 =="" }}
ALL EMPTY
{{else}}
DISPLAY
{{END}}