From e63f8f98b84583afa1fdae7600a74cce25a8c2a1 Mon Sep 17 00:00:00 2001 From: Tim Cooper Date: Sat, 24 Dec 2016 13:21:10 -0400 Subject: [PATCH] update import path --- .gitignore | 1 + README.md | 6 +----- barnard.go | 8 ++++---- client.go | 8 ++++---- cmd/barnard/main.go | 10 +++++----- ui.go | 6 +++--- ui_tree.go | 6 +++--- uiterm/attributes.go | 2 +- uiterm/keys.go | 2 +- uiterm/label.go | 2 +- uiterm/textbox.go | 2 +- uiterm/textview.go | 2 +- uiterm/tree.go | 2 +- uiterm/ui.go | 2 +- uiterm/view.go | 2 +- 15 files changed, 29 insertions(+), 32 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57f1cb2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.idea/ \ No newline at end of file diff --git a/README.md b/README.md index 4f682b1..65098ac 100644 --- 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 diff --git a/barnard.go b/barnard.go index ef263f7..9ee58c1 100644 --- a/barnard.go +++ b/barnard.go @@ -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 { diff --git a/client.go b/client.go index 8ef6d36..2eda4b8 100644 --- 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() { diff --git a/cmd/barnard/main.go b/cmd/barnard/main.go index 767269f..a426c3e 100644 --- a/cmd/barnard/main.go +++ b/cmd/barnard/main.go @@ -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 --- 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 ( diff --git a/ui_tree.go b/ui_tree.go index c3abff9..aa05e26 100644 --- a/ui_tree.go +++ b/ui_tree.go @@ -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 { diff --git a/uiterm/attributes.go b/uiterm/attributes.go index ba1534d..62f1353 100644 --- a/uiterm/attributes.go +++ b/uiterm/attributes.go @@ -1,4 +1,4 @@ -package uiterm +package uiterm // import "layeh.com/barnard/uiterm" /* * Source: https://godoc.org/github.com/nsf/termbox-go diff --git a/uiterm/keys.go b/uiterm/keys.go index a5466b8..a0e79db 100644 --- a/uiterm/keys.go +++ b/uiterm/keys.go @@ -1,4 +1,4 @@ -package uiterm +package uiterm // import "layeh.com/barnard/uiterm" /* * Source: https://godoc.org/github.com/nsf/termbox-go diff --git a/uiterm/label.go b/uiterm/label.go index 9ba39e4..312b92d 100644 --- a/uiterm/label.go +++ b/uiterm/label.go @@ -1,4 +1,4 @@ -package uiterm +package uiterm // import "layeh.com/barnard/uiterm" import ( "strings" diff --git a/uiterm/textbox.go b/uiterm/textbox.go index a7d0d4d..9001cdf 100644 --- a/uiterm/textbox.go +++ b/uiterm/textbox.go @@ -1,4 +1,4 @@ -package uiterm +package uiterm // import "layeh.com/barnard/uiterm" import ( "strings" diff --git a/uiterm/textview.go b/uiterm/textview.go index d1c155f..c799f3d 100644 --- a/uiterm/textview.go +++ b/uiterm/textview.go @@ -1,4 +1,4 @@ -package uiterm +package uiterm // import "layeh.com/barnard/uiterm" import ( "strings" diff --git a/uiterm/tree.go b/uiterm/tree.go index 628fbb1..5cdc618 100644 --- a/uiterm/tree.go +++ b/uiterm/tree.go @@ -1,4 +1,4 @@ -package uiterm +package uiterm // import "layeh.com/barnard/uiterm" import ( "strings" diff --git a/uiterm/ui.go b/uiterm/ui.go index 31114c7..3eb1222 100644 --- a/uiterm/ui.go +++ b/uiterm/ui.go @@ -1,4 +1,4 @@ -package uiterm +package uiterm // import "layeh.com/barnard/uiterm" import ( "errors" diff --git a/uiterm/view.go b/uiterm/view.go index c63387f..ff866a2 100644 --- a/uiterm/view.go +++ b/uiterm/view.go @@ -1,4 +1,4 @@ -package uiterm +package uiterm // import "layeh.com/barnard/uiterm" type View interface { uiInitialize(ui *Ui) -- 2.39.2