Closed dolmen closed 5 months ago
It could be solved by
but I'll think about adding it to the linter 🤔
I'm also tempted to add this to the package:
func init() {
panic("package github.com/stretchr/testify must not be imported: it has no content")
}
Import of package
github.com/stretchr/testify
is just an error. This package contains only documentation.I have noticed that import in multiple projects. That import was added only to workaround issues with old dependency management tools. This is obsolete in the Go modules era.