#Action
1 articles
11 How to Understanding HTML Template Action in Golang
Introduction to Action Templates
Not only can we render text in templates, but we can also support action commands such as if
branching, for
loops and so on.
For example, suppose we use if
branching like this