This updates the code that requires modules in the repo that are otherwise unused to ensure they are excluded from the build.
18 lines
418 B
Go
18 lines
418 B
Go
// Copyright (c) 2019-2020 The Decred developers
|
|
// Use of this source code is governed by an ISC
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// This file exists to prevent go mod tidy from removing requires on tools.
|
|
//
|
|
// It is excluded from the build to avoid including unused modules in the final
|
|
// binary.
|
|
|
|
//go:build require
|
|
// +build require
|
|
|
|
package main
|
|
|
|
import (
|
|
_ "github.com/decred/dcrd/bech32"
|
|
)
|