Skip to content

Commit a9b3368

Browse files
committed
add dep, fix broken imports, remove vendor directory, add installation instructions
int
1 parent 2ff824f commit a9b3368

File tree

220 files changed

+311
-123361
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

220 files changed

+311
-123361
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@
1414
.glide/
1515

1616
.idea/
17+
18+
vendor/

Gopkg.lock

Lines changed: 108 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Gopkg.toml example
2+
#
3+
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
4+
# for detailed Gopkg.toml documentation.
5+
#
6+
# required = ["github.com/user/thing/cmd/thing"]
7+
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
8+
#
9+
# [[constraint]]
10+
# name = "github.com/user/project"
11+
# version = "1.0.0"
12+
#
13+
# [[constraint]]
14+
# name = "github.com/user/project2"
15+
# branch = "dev"
16+
# source = "github.com/myfork/project2"
17+
#
18+
# [[override]]
19+
# name = "github.com/x/y"
20+
# version = "2.4.0"
21+
#
22+
# [prune]
23+
# non-go = false
24+
# go-tests = true
25+
# unused-packages = true
26+
27+
28+
[[constraint]]
29+
name = "github.com/aiportal/termui"
30+
version = "2.2.0"
31+
32+
[[constraint]]
33+
branch = "master"
34+
name = "github.com/btcsuite/btcd"
35+
36+
[[constraint]]
37+
branch = "master"
38+
name = "github.com/btcsuite/btcutil"
39+
40+
[[constraint]]
41+
name = "github.com/fatih/color"
42+
version = "1.6.0"
43+
44+
[[constraint]]
45+
branch = "master"
46+
name = "golang.org/x/crypto"
47+
48+
[prune]
49+
go-tests = true
50+
unused-packages = true

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ Donations are welcome at <code>[<b>1BTC</b>zvzTn7QYBwFkRRkXGcVPodwrYoQyAq](https
2121

2222
![GoWallet Encryption Process](https://raw.githubusercontent.com/aiportal/gowallet/master/_doc/encryption.png)
2323

24+
#### Installation
25+
26+
requires installation of golang version 1.10 or later
27+
28+
```
29+
go get github.com/aiportal/gowallet
30+
dep ensure
31+
go install
32+
```
2433

2534
#### Advanced usage
2635

gowallet.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import (
44
"flag"
55
"fmt"
66
"os"
7-
"gowallet/view"
8-
"gowallet/wallet"
7+
8+
"github.com/aiportal/gowallet/view"
9+
"github.com/aiportal/gowallet/wallet"
910
)
1011

1112
func main() {

vendor/github.com/fatih/color/README.md

Lines changed: 10 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/fatih/color/color.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)