Skip to content

Commit a9100e8

Browse files
committed
Add go.mod
1 parent 2184ebe commit a9100e8

File tree

5 files changed

+42
-56
lines changed

5 files changed

+42
-56
lines changed

‎glide.lock‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

‎glide.yaml‎

Lines changed: 0 additions & 16 deletions
This file was deleted.

‎go.mod‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
module github.com/bep/goat
2+
3+
go 1.17
4+
5+
require (
6+
github.com/stretchr/testify v1.7.0
7+
gopkg.in/alecthomas/kingpin.v2 v2.2.6
8+
)
9+
10+
require (
11+
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
12+
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
13+
github.com/davecgh/go-spew v1.1.0 // indirect
14+
github.com/pmezard/go-difflib v1.0.0 // indirect
15+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
16+
)

‎go.sum‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 h1:JYp7IbQjafoB+tBA3gMyHYHrpOtNuDiK/uB5uXxq5wM=
2+
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
3+
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 h1:s6gZFSlWYmbqAuRjVTiNNhvNRfY2Wxp9nhfyel4rklc=
4+
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE=
5+
github.com/bep/goat v0.0.0-20160228004455-2184ebe13497 h1:cgQMarzpW1NOLDESPdFP5I27TjjWHE/YFD3rmrkMKp4=
6+
github.com/bep/goat v0.0.0-20160228004455-2184ebe13497/go.mod h1:fTSmo5+2d3H2TaL1n7EZth7J63WyAzmrD2wzHJyheT4=
7+
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
8+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
9+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
10+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
11+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
12+
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
13+
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
14+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
15+
gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc=
16+
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
17+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
18+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
19+
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
20+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
21+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

‎main.go‎

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,21 @@ import (
44
"log"
55
"os"
66

7-
"github.com/blampe/goat/src"
7+
goat "github.com/bep/goat/src"
88

99
"gopkg.in/alecthomas/kingpin.v2"
1010
)
1111

12-
var (
13-
fileName = kingpin.Arg(
14-
"file",
15-
"Path to a file containing an ASCII diagram.",
16-
).Required().String()
17-
)
12+
var fileName = kingpin.Arg(
13+
"file",
14+
"Path to a file containing an ASCII diagram.",
15+
).Required().String()
1816

1917
func main() {
2018
kingpin.Version("0.0.1")
2119
kingpin.Parse()
2220

2321
file, err := os.Open(*fileName)
24-
2522
if err != nil {
2623
log.Fatal(err)
2724
}

0 commit comments

Comments
 (0)