Re:A Go Package for Building Progressive Web Apps
by habibur on Friday September 17, 2021 @10:04AM
(#28565609)
Using a template would have been easier and more clear.
[ Parent
| on HN ]
Re:A Go Package for Building Progressive Web Apps
by Maxence on Friday September 17, 2021 @02:46PM
(#28569393)
Hi, go-app’s creator here.
I did it in previous version and since there is no code check/lint on HTML templates within strings, debugging HTML was a pain in the ass.
More clear is a matter of taste and you can do pretty clear code with this syntax.