Re: [go-nuts] Accessing elements outside slice using [:]

2025-01-26 Thread Pyrode
Got it 👍 Thanks for the response! -- 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:

[go-nuts] Fscan() eats 1st char in scanning values

2025-01-26 Thread 'Ivan Burak' via golang-nuts
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 discover

Re: [go-nuts] Fscan() eats 1st char in scanning values

2025-01-26 Thread Ian Lance Taylor
On Sun, Jan 26, 2025 at 4:51 PM 'Ivan Burak' via golang-nuts 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 n