Move legacy under internal directory.

After Go 1.5, this will prevent consumers from importing these
packages since they are currently unmaintained.

Closes #232.
This commit is contained in:
Josh Rickmar 2015-05-27 10:09:22 -04:00
parent b7cef610c0
commit 5843c0bc66
6 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ import (
"strings"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwallet/legacy/keystore"
"github.com/btcsuite/btcwallet/internal/legacy/keystore"
flags "github.com/btcsuite/go-flags"
)

View file

@ -39,7 +39,7 @@ import (
"github.com/btcsuite/btcd/txscript"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwallet/legacy/rename"
"github.com/btcsuite/btcwallet/internal/legacy/rename"
"github.com/btcsuite/golangcrypto/ripemd160"
)

View file

@ -30,7 +30,7 @@ import (
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcutil/hdkeychain"
"github.com/btcsuite/btcwallet/legacy/keystore"
"github.com/btcsuite/btcwallet/internal/legacy/keystore"
"github.com/btcsuite/btcwallet/waddrmgr"
"github.com/btcsuite/btcwallet/wallet"
"github.com/btcsuite/btcwallet/walletdb"