mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
With a upgrade to a never version of newer golang.org/x/tools/govet, a lint check to check for legacy buildtag lines starting with `// +build` has been added, as they're no longer needed. In order for the `make lint` check to pass with the newer version, we remove such buildtag lines.
14 lines
497 B
Go
14 lines
497 B
Go
//go:build tools
|
|
|
|
package terminal
|
|
|
|
// The other imports represent our build tools. Instead of defining a commit we
|
|
// want to use for those golang based tools, we use the go mod versioning system
|
|
// to unify the way we manage dependencies. So we define our build tool
|
|
// dependencies here and pin the version in go.mod.
|
|
import (
|
|
_ "github.com/btcsuite/btcd"
|
|
_ "github.com/golangci/golangci-lint/cmd/golangci-lint"
|
|
_ "github.com/ory/go-acc"
|
|
_ "github.com/rinchsan/gosimports/cmd/gosimports"
|
|
)
|