On Friday, 9 September 2016 21:51:05 UTC+2, Ian Lance Taylor wrote:
>
> On Fri, Sep 9, 2016 at 12:36 PM, >
> wrote:
> >
> > On Friday, 9 September 2016 18:45:24 UTC+2, Ian Lance Taylor wrote:
> >>
> >> On Fri, Sep 9, 2016 at 7:22 AM, wrote:
> >> >
> >> > I was trying to read a longer text
On Friday, 9 September 2016 18:45:24 UTC+2, Ian Lance Taylor wrote:
>
> On Fri, Sep 9, 2016 at 7:22 AM, > wrote:
> >
> > I was trying to read a longer text from stdin, without any newline. I
> tried
> > it with many ways: fmt.Scan, bufio.NewScanner, bufio ReadLine,
> > ioutil.ReadAll. A samp
Hi,
I was trying to read a longer text from stdin, without any newline. I tried
it with many ways: fmt.Scan, bufio.NewScanner, bufio ReadLine,
ioutil.ReadAll. A sample code looks like this:
stackoverflow.com/questions/27196195/golang-read-from-pipe-reads-tons-of-data#answer-27196786
If the lengt