mirror of
https://github.com/FlipsideCrypto/dcrd.git
synced 2026-02-06 10:56:47 +00:00
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.
21 lines
613 B
Go
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"
|
|
)
|