Add structcheck, unused, and varcheck linters.
Warn on unused and dead code Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
@@ -40,8 +40,6 @@ func withExecArgs(s *specs.Process, args ...string) {
|
||||
}
|
||||
|
||||
var (
|
||||
withRemappedSnapshot = WithRemappedSnapshot
|
||||
withRemappedSnapshotView = WithRemappedSnapshotView
|
||||
withNewSnapshot = WithNewSnapshot
|
||||
withImageConfig = WithImageConfig
|
||||
withNewSnapshot = WithNewSnapshot
|
||||
withImageConfig = WithImageConfig
|
||||
)
|
||||
|
Reference in New Issue
Block a user