Re: [go-nuts] Reading multi line input from user

2020-06-21 Thread Miguel Angel Rivera Notararigo
Hi! you may try this https://play.golang.org/p/hDDyzm6IfED or this https://play.golang.org/p/MoKAbIbtR_J, but the user cannot edit previous lines and he/she have to hit Ctrl + D when is done -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsu

[go-nuts] Reading multi line input from user

2020-06-21 Thread Durga Someswararao G
Hi, I am trying to read multi line user input, which I don't know the count of those lines. Is there any way to do it. Eg: User will give one sample piece of code like below we have to read complete code without skipping content. As it is a piece of code we cannot get number of lines we have