DRY up bug-panics
abhinav opened this issue · 0 comments
abhinav commented
There are a number of panics in the dig codebase that take the form,
It looks like you have found a bug in dig.
Please file an issue at https://github.com/uber-go/dig/issues/
and provide the following message: actual reason
Per #256 (comment), we should
DRY these up into a single function. I propose,
package internal
func BugPanicf(msg string, args ...interface{})