dcrec: Refine go build module support.

Update the dcrec and dcrec/edwards modules to only depend on on their
direct dependencies instead of the entire dcrd module.
This commit is contained in:
Dave Collins 2018-07-20 19:51:06 -05:00
parent b5b24a7aa9
commit 59fe2b293f
No known key found for this signature in database
GPG Key ID: B8904D9D9C93D1F2
3 changed files with 6 additions and 0 deletions

3
dcrec/edwards/go.mod Normal file
View File

@ -0,0 +1,3 @@
module github.com/decred/dcrd/dcrec/edwards
require github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412

2
dcrec/edwards/go.sum Normal file
View File

@ -0,0 +1,2 @@
github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412 h1:w1UutsfOrms1J05zt7ISrnJIXKzwaspym5BTKGx93EI=
github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412/go.mod h1:WPjqKcmVOxf0XSf3YxCJs6N6AOSrOx3obionmG7T0y0=

1
dcrec/go.mod Normal file
View File

@ -0,0 +1 @@
module github.com/decred/dcrd/dcrec