[go-nuts] Re: Websocket vs Template

2019-05-02 Thread ThisEndUp
Thanks. You're right. After posting, I kept looking and got as far as starting to read about AJAX XMLHttpRequest, at which point I decided that templates wouldn't be a particularly pleasant way to accomplish my task. On Thursday, May 2, 2019 at 2:45:33 AM UTC-4, amn...@gmail.com wrote: > > Use

[go-nuts] Re: Websocket vs Template

2019-05-01 Thread amnonbc
Use a websocket. templates would give you server side rendering which will not give you live updates on the web page. Steer clear of x/net/websocket which is deprecated. Instead use the popular gorilla/websocket or the simpler nhooyr/websocket. On Wednesday, 1 May 2019 15:11:55 UTC+1, ThisEndUp