web applications - Go language - web loops and variables -


i beginner in go language , want write webapplication. missing docus things defining variable inside webpage (html). can use
{{ "one" }} print 'one' on webpage. cannot define variable {{ var 1 string }} or loop

{{  := 1; <= 10; i++ {     fmt.println(i)} }} 

i found examples range iterate input parameter. possible use go similar jsp / java ?


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -