|
I am new to Go and have a dumb question. I have a template in which I would like to render something resembling a calendar. As part of it, I'd like to generate 31 identical divs. I don't really understand how to use the range operator to do this - the internet seems to be replete with examples of how to use range to iterate over slices and whatnot, but nothing about how to do what amounts to a basic for loop. Help?
|
# ¿ Jan 18, 2016 16:32 |
|
|
# ¿ May 4, 2024 14:54 |
|
Edit: nevermind, I'm just going to do this in JS.
Sub Par fucked around with this message at 21:11 on Jan 18, 2016 |
# ¿ Jan 18, 2016 18:18 |