On Sun, Jan 26, 2025 at 4:51 PM 'Ivan Burak' via golang-nuts <golang-nuts@googlegroups.com> wrote: > > Fscan() eats 1st char in scanning values if the values aren't a first value > in a line. > > The documentation tells: "Fscanln is similar to Fscan, but stops scanning at > a newline and after the final item there must be a newline or EOF." > > > > The test discovers a bug in Fscanln() - https://go.dev/play/p/Jem2lWVn3H5
Check the error result from Fscanln. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXG%3Db5KRR2ZuzH3pWCD3Ju%3D8gQZAXaAaUD0QmK42EKLzA%40mail.gmail.com.