Simplify imports

This commit is contained in:
Mark Spanbroek 2021-06-29 15:24:11 +02:00
parent 5194a88f2f
commit 7fac1c9c94
6 changed files with 17 additions and 12 deletions

3
abc.nim Normal file
View File

@ -0,0 +1,3 @@
import abc/wallet
export wallet

View File

@ -2,6 +2,7 @@ import ./keys
import ./transactions
export keys
export transactions
type
Wallet* = object

10
tests/basics.nim Normal file
View File

@ -0,0 +1,10 @@
import std/unittest
import pkg/questionable
import abc
import ./examples
export unittest
export questionable
export abc
export examples

View File

@ -1,8 +1,5 @@
import std/unittest
import pkg/questionable
import pkg/stew/byteutils
import abc/keys
import ./examples
import ./basics
suite "Keys":

View File

@ -1,7 +1,4 @@
import std/unittest
import pkg/questionable
import abc/transactions
import ./examples
import ./basics
suite "Transactions":

View File

@ -1,7 +1,4 @@
import std/unittest
import abc/wallet
import abc/transactions
import ./examples
import ./basics
suite "Wallets":