Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
fmt: Scanln doesn't stop at end of line when using a Scanner #1490
From the docs: "Sscanln, Fscanln and Sscanln stop scanning at a newline and require that the items be followed by one." If one of the items implements Scanner, the scanning will only stop scanning at a newline if the Scan method decides to. either ScanState.ReadRune should return EOF when it gets to a newline in this case, or it should be possible to find out from ScanState whether we're inside one of the *ln functions. i can see arguments both ways.