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: difference between Print and Println #14563
Please answer these questions before submitting your issue. Thanks!
go version go1.6 darwin/amd64 , also playground
The same formatting on both lines (the one from fmt.Println).
While fmt.Print omits the separator between the string and int argument, fmt.Println doesn't.