From 7b77956fee4cd22b36fe5ba63a2aefa0304d567b Mon Sep 17 00:00:00 2001 From: Caleb Bassi Date: Mon, 24 Dec 2018 13:09:30 -0800 Subject: [PATCH] Fix docopt import path --- go.mod | 1 + go.sum | 2 ++ main.go | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 67edbc56..e2f7ec6d 100644 --- a/go.mod +++ b/go.mod @@ -7,6 +7,7 @@ require ( github.com/cjbassi/termui v0.0.0-20181208033036-e8dd23f6146c github.com/davecgh/go-spew v1.1.1 // indirect github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815 + github.com/docopt/docopt.go v0.0.0-20180111231733-ee0de3bc6815 github.com/go-ole/go-ole v1.2.1 // indirect github.com/mattn/go-runewidth v0.0.2 // indirect github.com/nsf/termbox-go v0.0.0-20180407224525-3e24a7b6661e // indirect diff --git a/go.sum b/go.sum index a50556fa..b869d58c 100644 --- a/go.sum +++ b/go.sum @@ -10,6 +10,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815 h1:bWDMxwH3px2JBh6AyO7hdCn/PkvCZXii8TGj7sbtEbQ= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= +github.com/docopt/docopt.go v0.0.0-20180111231733-ee0de3bc6815 h1:HMAfwOa33y82IaQEKQDfUCiwNlxtM1iw7HLM9ru0RNc= +github.com/docopt/docopt.go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:l7JNRynTRuqe45tpIyItHNqZWTxywYjp87MWTOnU5cg= github.com/go-ole/go-ole v1.2.1 h1:2lOsA72HgjxAuMlKpFiCbHTvu44PIVkZ5hqm3RSdI/E= github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8= github.com/mattn/go-runewidth v0.0.2 h1:UnlwIPBGaTZfPQ6T1IGzPI0EkYAQmT9fAEJ/poFC63o= diff --git a/main.go b/main.go index 58864dd8..60df7d53 100644 --- a/main.go +++ b/main.go @@ -19,7 +19,7 @@ import ( "github.com/cjbassi/gotop/src/logging" w "github.com/cjbassi/gotop/src/widgets" ui "github.com/cjbassi/termui" - docopt "github.com/docopt/docopt-go" + docopt "github.com/docopt/docopt.go" ) var version = "1.7.1"