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

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -