Package quickfix provides functions for fixing Go ASTs that are well typed but "go build" refuses to build.
QuickFix rewrites AST files of same package so that they pass go build. For example:
v declared but not used -> append `_ = v` "p" imported but not used -> rewrite to `import _ "p"` no new variables on left side of := -> rewrite `:=` to `=`
TODO implement hardMode, which removes errorneous code rather than adding
RevertQuickFix reverts possible quickfixes introduced by QuickFix. This may result to non-buildable source, and cannot reproduce the original code before prior QuickFix. For example:
`_ = v` -> removed `import _ "p"` -> rewritten to `import "p"`
|cmd/goquickfix||The goquickfix command quick fixes Go source that is well typed but go refuses to compile e.g.|