storj/scripts/dependencies_test.go
Egon Elbre 00b2e1a7d7 all: enable staticcheck (#2849)
* by having megacheck in disable it also disabled staticcheck

* fix closing body

* keep interfacer disabled

* hide bodies

* don't use deprecated func

* fix dead code

* fix potential overrun

* keep stylecheck disabled

* don't pass nil as context

* fix infinite recursion

* remove extraneous return

* fix data race

* use correct func

* ignore unused var

* remove unused consts
2019-08-22 13:40:15 +02:00

18 lines
427 B
Go

// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
package scripts_test
// this ensures that we download the necessary packages for the tools in scripts folder
// without actually being a binary
import (
"golang.org/x/tools/go/ast/astutil"
"golang.org/x/tools/go/packages"
"golang.org/x/tools/imports"
)
var _ = imports.Process
var _ = packages.NeedName
var _ = astutil.PathEnclosingInterval