• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
V
V
Vladimir Grabko2016-05-16 22:50:02
go
Vladimir Grabko, 2016-05-16 22:50:02

Html template how to check if?

How to check {[if }} variable in template? Let's say the variable {{.auth}} == 1

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Report
V
Vladislav Skillz, 2016-05-16
@vlskillz

TYTS

Report
F
fastpars, 2016-05-16
@fastpars

{{if eq .auth 1}}

Similar questions
C
colorkid2020-02-13 14:33:01
The front-end architecture of a modern server side rendering site - how to implement it better? 1Reply
M
MaM2017-04-30 23:41:46
What is the difference between packets and headers? 1Reply
W
Wonddez2015-05-20 19:34:01
How to transfer data from PHP to Go and receive it back? 3Reply
V
Vladislav Khvostov2017-05-14 08:37:36
Is it possible to compile a go program to run on a machine without go installed? 1Reply
M
Magus_Education2021-04-18 17:27:42
How to display data in JSOn format as strings in golang? 1Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners