Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Expand example Gopkg.toml text; always add on init #462
This expands the example text we add to
It also changes the behavior of
I'm not sure this latter part is the best idea, but being that there will be precious few situations under which we'd have an empty manifest (once init changes are done, #277), it seems worth being more aggressive about writing out these examples.
We could also add a flag to init that allows the user to suppress writing out the examples.