Omit package for types in current package
- Dominant language
- Go
- Stars
- 527
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
I really like it when I can just paste the output of `got` into my `qt.DeepEquals` `expect`. But if would be even better if the package names would be correct for types in the current package (which, when doing unit tests, isn't uncommon). One example from recently:
```go
page.PageMatcherParamsConfig{
Params: {
"foo": "bar",
},
Target: page.PageMatcher{Path:"", Kind:"page", Lang:"", Environment:""},
}
```
This test is run from package `page`. So, after I paste the above I need to remove the `page.` package "prefix".
This is not a big issue, but it would make quicktest even nicer.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.