You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many of the crypto functions, like b58cdecode, can be utilized by other go-based applications doing Tezos stuff. By putting these functions in their own /crypto module, and marking all functions as exportable, go-tezos can continue using them, plus other applications too vs re-inventing/copying code.
The text was updated successfully, but these errors were encountered:
$ go build
package mytesting
nonce.go:7:2: use of internal package github.com/goat-systems/go-tezos/v3/internal/crypto not allowed
According to godocs:
An import of a path containing the element “internal” is disallowed if the importing code is outside the tree rooted at the parent of the “internal” directory.
Please consider moving the crypto code into a differently named directory so that it can be used by other projects.
utdrmac
changed the title
Create crypto module for export
De-internalize crypto module
Oct 9, 2020
Many of the crypto functions, like b58cdecode, can be utilized by other go-based applications doing Tezos stuff. By putting these functions in their own /crypto module, and marking all functions as exportable, go-tezos can continue using them, plus other applications too vs re-inventing/copying code.
The text was updated successfully, but these errors were encountered: