Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
testing: delay registration of flags until MainStart #21051
Mitchell Hashimoto pointed out at Gophercon that if you write
I sent CL 49251 to delay the registration of the flags so that
For discussion for Go 1.10.
This happened so enough times in Camlistore that we have a test for it.
I suppose this CL would "break" this code:
But it wouldn't really matter, since it was only detecting that to avoid the testing flags showing up.