Skip to content

Commit

Permalink
Merge pull request #1056 from martinkunc/added-std-lib-package-crypto…
Browse files Browse the repository at this point in the history
…-ed25519

crypto ed25519 added to stdlib in go1.13
  • Loading branch information
mattfarina authored Jul 10, 2019
2 parents 9ef6ca3 + 4aad4fd commit 5601f48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dependency/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"errors"
"runtime"
"sort"

//"go/build"
"os"
"path/filepath"
Expand Down Expand Up @@ -975,6 +976,10 @@ var PackagesAddedToStdlib = map[string]struct{}{
// Some packages, such as github.com/RoaringBitmap/roaring are importing
// it with build flags in files for go1.9.
"math/bits": struct{}{},

// crypto/ed25519 is a package being added to the Go 1.13 standard library.
// It is importing itself with build flags in files for go1.13.
"crypto/ed25519": struct{}{},
}

// FindPkg takes a package name and attempts to find it on the filesystem
Expand Down

0 comments on commit 5601f48

Please sign in to comment.