-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How iterate map? #51
Comments
Hello @WarL0ckNet, you can check the folder ul
each val, index in map[int]string{1:"one",2:"two",3:"three"}
li= strconv.Itoa(index) + ": " + val For how write one item from map? You can try something with un/buffered code feature: -
var mymap = map[string]string{"one":"","two":"","three":""}
doctype 5
html
body
p= mymap["one"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In https://pugjs.org/language/iteration.html
How this write in your engine?
And how write one item from map? Example .arr[.key].field
The text was updated successfully, but these errors were encountered: