update import path
authorTim Cooper <tim.cooper@layeh.com>
Sat, 24 Dec 2016 17:21:10 +0000 (13:21 -0400)
committerTim Cooper <tim.cooper@layeh.com>
Sat, 24 Dec 2016 17:21:27 +0000 (13:21 -0400)
15 files changed:
.gitignore [new file with mode: 0644]
README.md
barnard.go
client.go
cmd/barnard/main.go
ui.go
ui_tree.go
uiterm/attributes.go
uiterm/keys.go
uiterm/label.go
uiterm/textbox.go
uiterm/textview.go
uiterm/tree.go
uiterm/ui.go
uiterm/view.go

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..57f1cb2
--- /dev/null
@@ -0,0 +1 @@
+/.idea/
\ No newline at end of file
index 4f682b1..65098ac 100644 (file)
--- a/README.md
+++ b/README.md
@@ -5,11 +5,7 @@ chat software.
 
 ![Screenshot](https://i.imgur.com/B8ldT5k.png)
 
-## Requirements
-
-- [gumble](https://github.com/layeh/gumble/tree/master/gumble)
-- [gumbleopenal](https://github.com/layeh/gumble/tree/master/gumbleopenal)
-- [termbox-go](https://github.com/nsf/termbox-go)
+    go get -u layeh.com/barnard
 
 ## License
 
index ef263f7..9ee58c1 100644 (file)
@@ -1,11 +1,11 @@
-package barnard
+package barnard // import "layeh.com/barnard"
 
 import (
        "crypto/tls"
 
-       "github.com/layeh/barnard/uiterm"
-       "github.com/layeh/gumble/gumble"
-       "github.com/layeh/gumble/gumbleopenal"
+       "layeh.com/barnard/uiterm"
+       "layeh.com/gumble/gumble"
+       "layeh.com/gumble/gumbleopenal"
 )
 
 type Barnard struct {
index 8ef6d36..2eda4b8 100644 (file)
--- a/client.go
+++ b/client.go
@@ -1,13 +1,13 @@
-package barnard
+package barnard // import "layeh.com/barnard"
 
 import (
        "fmt"
        "net"
        "os"
 
-       "github.com/layeh/gumble/gumble"
-       "github.com/layeh/gumble/gumbleopenal"
-       "github.com/layeh/gumble/gumbleutil"
+       "layeh.com/gumble/gumble"
+       "layeh.com/gumble/gumbleopenal"
+       "layeh.com/gumble/gumbleutil"
 )
 
 func (b *Barnard) start() {
index 767269f..a426c3e 100644 (file)
@@ -1,4 +1,4 @@
-package main
+package main // import "layeh.com/barnard/cmd/barnard"
 
 import (
        "crypto/tls"
@@ -6,10 +6,10 @@ import (
        "fmt"
        "os"
 
-       "github.com/layeh/barnard"
-       "github.com/layeh/barnard/uiterm"
-       "github.com/layeh/gumble/gumble"
-       _ "github.com/layeh/gumble/opus"
+       "layeh.com/barnard"
+       "layeh.com/barnard/uiterm"
+       "layeh.com/gumble/gumble"
+       _ "layeh.com/gumble/opus"
 )
 
 func main() {
diff --git a/ui.go b/ui.go
index 824dc85..f127caf 100644 (file)
--- a/ui.go
+++ b/ui.go
@@ -1,4 +1,4 @@
-package barnard
+package barnard // import "layeh.com/barnard"
 
 import (
        "fmt"
@@ -6,8 +6,8 @@ import (
        "time"
 
        "github.com/kennygrant/sanitize"
-       "github.com/layeh/barnard/uiterm"
-       "github.com/layeh/gumble/gumble"
+       "layeh.com/barnard/uiterm"
+       "layeh.com/gumble/gumble"
 )
 
 const (
index c3abff9..aa05e26 100644 (file)
@@ -1,8 +1,8 @@
-package barnard
+package barnard // import "layeh.com/barnard"
 
 import (
-       "github.com/layeh/barnard/uiterm"
-       "github.com/layeh/gumble/gumble"
+       "layeh.com/barnard/uiterm"
+       "layeh.com/gumble/gumble"
 )
 
 type TreeItem struct {
index ba1534d..62f1353 100644 (file)
@@ -1,4 +1,4 @@
-package uiterm
+package uiterm // import "layeh.com/barnard/uiterm"
 
 /*
  * Source: https://godoc.org/github.com/nsf/termbox-go
index a5466b8..a0e79db 100644 (file)
@@ -1,4 +1,4 @@
-package uiterm
+package uiterm // import "layeh.com/barnard/uiterm"
 
 /*
  * Source: https://godoc.org/github.com/nsf/termbox-go
index 9ba39e4..312b92d 100644 (file)
@@ -1,4 +1,4 @@
-package uiterm
+package uiterm // import "layeh.com/barnard/uiterm"
 
 import (
        "strings"
index a7d0d4d..9001cdf 100644 (file)
@@ -1,4 +1,4 @@
-package uiterm
+package uiterm // import "layeh.com/barnard/uiterm"
 
 import (
        "strings"
index d1c155f..c799f3d 100644 (file)
@@ -1,4 +1,4 @@
-package uiterm
+package uiterm // import "layeh.com/barnard/uiterm"
 
 import (
        "strings"
index 628fbb1..5cdc618 100644 (file)
@@ -1,4 +1,4 @@
-package uiterm
+package uiterm // import "layeh.com/barnard/uiterm"
 
 import (
        "strings"
index 31114c7..3eb1222 100644 (file)
@@ -1,4 +1,4 @@
-package uiterm
+package uiterm // import "layeh.com/barnard/uiterm"
 
 import (
        "errors"
index c63387f..ff866a2 100644 (file)
@@ -1,4 +1,4 @@
-package uiterm
+package uiterm // import "layeh.com/barnard/uiterm"
 
 type View interface {
        uiInitialize(ui *Ui)