Re: [go-nuts] Is anyone aware of a blocking ring buffer implementation?

2019-11-24 Thread adam.azarchs via golang-nuts
You could always use os.Pipe (which unlike io.Pipe is a standard posix pipe), and wrap one end or the other with bufio.Reader/Writer. Or if all you want to do is buffer the response from http.Get you can just wrap the http response reader with bufio.Reader. Or am I missing something here abou

[go-nuts] Re: golang tool for splitting long lines

2019-11-24 Thread Bill Nixon
I agree json.MarshalIndent is great. However, be aware that json.MarshalIndent will not output private (lowercase) fields of the struct. On Monday, November 18, 2019 at 3:29:28 AM UTC-6, anderso...@blacklane.com wrote: > > Hi Sankar, > > Not really, a easy trick is to use json.MarshalIndent. It

[go-nuts] [ANN] SFTPGo 0.9.4 Released

2019-11-24 Thread Nicola Murino
I'm pleased to announce SFTPGo 0.9.4. SFTPGo is a free and open source full featured and highly configurable SFTP server. It works on Linux, macOS and Windows. Here are the main new features and fixes compared to 0.9.3 version: - Portable mode: a convenient way to share a single directory on de