[go-nuts] Re: Creating Go web server into small Docker images

2019-05-05 Thread amnonbc
try the non-shell version of Entrypoint: ENTRYPOINT ["/myapp"] On Saturday, 4 May 2019 17:29:16 UTC+1, sunto...@gmail.com wrote: > > Hi, > > I'm trying to create Go web server into small Docker images. Here is > my Dockerfile: > > > # golang:latest as build-env > FROM golang:latest AS build-env

[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

Re: [go-nuts] the Dominance of English in Programming Languages

2019-04-29 Thread amnonbc
We would have even more fun if we had non-latin characters in keywords aliases, and supported both left-to-right and right-to-left writing directions. But I doubt that this will make programs more readable for everyone. On Monday, 29 April 2019 10:10:28 UTC+1, Max wrote: > > I am Italian, and I l