Move github.com/miguelmota/gocui to /pkg/gocui

pull/232/head
Simon Roberts 3 years ago
parent 79a84ba249
commit b932124d8a
No known key found for this signature in database
GPG Key ID: 0F30F99E6B771FD4

@ -13,10 +13,11 @@ import (
"github.com/cointop-sh/cointop/pkg/api/types"
"github.com/cointop-sh/cointop/pkg/cache"
"github.com/cointop-sh/cointop/pkg/filecache"
"github.com/cointop-sh/cointop/pkg/gocui"
"github.com/cointop-sh/cointop/pkg/pathutil"
"github.com/cointop-sh/cointop/pkg/table"
"github.com/cointop-sh/cointop/pkg/ui"
"github.com/miguelmota/gocui"
log "github.com/sirupsen/logrus"
)

@ -5,8 +5,8 @@ import (
"strconv"
"sync"
"github.com/cointop-sh/cointop/pkg/gocui"
fcolor "github.com/fatih/color"
"github.com/miguelmota/gocui"
"github.com/tomnomnom/xtermcolor"
)

@ -3,7 +3,7 @@ package cointop
import (
"strings"
"github.com/miguelmota/gocui"
"github.com/cointop-sh/cointop/pkg/gocui"
log "github.com/sirupsen/logrus"
)

@ -3,7 +3,7 @@ package cointop
import (
"os"
"github.com/miguelmota/gocui"
"github.com/cointop-sh/cointop/pkg/gocui"
log "github.com/sirupsen/logrus"
)

@ -4,7 +4,7 @@ import (
"sort"
"sync"
"github.com/miguelmota/gocui"
"github.com/cointop-sh/cointop/pkg/gocui"
log "github.com/sirupsen/logrus"
)

@ -1,7 +1,7 @@
package cointop
import (
"github.com/miguelmota/gocui"
"github.com/cointop-sh/cointop/pkg/gocui"
log "github.com/sirupsen/logrus"
)

@ -16,7 +16,6 @@ require (
github.com/maruel/panicparse v1.6.1
github.com/mattn/go-runewidth v0.0.13
github.com/miguelmota/go-coinmarketcap v0.1.8
github.com/miguelmota/gocui v0.4.2
github.com/mitchellh/go-wordwrap v1.0.1
github.com/olekukonko/tablewriter v0.0.5
github.com/patrickmn/go-cache v2.1.0+incompatible

@ -246,8 +246,6 @@ github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d/go.mod h1:01TrycV0kFyex
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
github.com/miguelmota/go-coinmarketcap v0.1.8 h1:rZhB7xs1j7qxxd1zftjADhAv6ECJQVhBom1dh3zURKY=
github.com/miguelmota/go-coinmarketcap v0.1.8/go.mod h1:hBjej1IiB5+pfj+0cZhnxRkAc2bgky8qWLhCJTQ3zjw=
github.com/miguelmota/gocui v0.4.2 h1:nMYnYn3RjV7FlWFcidQa9eAkX3kT7XMI6yJMxEkAz6s=
github.com/miguelmota/gocui v0.4.2/go.mod h1:wVtmhuLR+VAS9VRBIJZBNJS9IgH+9QOZ/m/MvRarOZ4=
github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=

@ -1,7 +1,7 @@
package ui
import (
"github.com/miguelmota/gocui"
"github.com/cointop-sh/cointop/pkg/gocui"
)
// UI is the UI view struct

@ -3,7 +3,7 @@ package ui
import (
"fmt"
"github.com/miguelmota/gocui"
"github.com/cointop-sh/cointop/pkg/gocui"
)
// IView is the view interface

@ -120,9 +120,6 @@ github.com/mattn/go-runewidth
github.com/miguelmota/go-coinmarketcap/pro/v1
github.com/miguelmota/go-coinmarketcap/v2
github.com/miguelmota/go-coinmarketcap/v2/types
# github.com/miguelmota/gocui v0.4.2
## explicit; go 1.13
github.com/miguelmota/gocui
# github.com/mitchellh/go-wordwrap v1.0.1
## explicit; go 1.14
github.com/mitchellh/go-wordwrap

Loading…
Cancel
Save