> so to define if you're prod, you try to parse the port as an int? that's quite a hack.
> 
> also to look if a file exists, you use `os.IsNotExists(err)`.

It is technically possible to use a unix socket in development, although unlikely to happen in reality... I think using isProd as a shorthand for using unix sockets is more of a hack.