dcrd/require.go
Dave Collins 3203401fc5
main: Add requires for new version modules.
This adds requires for newer module versions that are not yet fully
integrated to the main go.mod file and a new file with a build tag
to ignore it which imports those modules to prevent go mod tidy from
removing the otherwise unused entries.
2019-06-26 20:21:16 -05:00

21 lines
613 B
Go

// Copyright (c) 2019 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
// +build ignore
// This file exists to prevent go mod tidy from removing requires for newer
// module versions that are not yet fully integrated and to allow them to be
// automatically discovered by the testing infrastructure.
//
// It is excluded from the build to avoid including unused modules in the final
// binary.
package main
import (
_ "github.com/decred/dcrd/chaincfg/v2"
_ "github.com/decred/dcrd/dcrutil/v2"
_ "github.com/decred/dcrd/txscript/v2"
)