update import path

This commit is contained in:
Tim Cooper
2016-12-24 13:21:10 -04:00
parent c15344203a
commit e63f8f98b8
15 changed files with 29 additions and 32 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/.idea/

View File

@@ -5,11 +5,7 @@ chat software.
![Screenshot](https://i.imgur.com/B8ldT5k.png) ![Screenshot](https://i.imgur.com/B8ldT5k.png)
## Requirements go get -u layeh.com/barnard
- [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)
## License ## License

View File

@@ -1,11 +1,11 @@
package barnard package barnard // import "layeh.com/barnard"
import ( import (
"crypto/tls" "crypto/tls"
"github.com/layeh/barnard/uiterm" "layeh.com/barnard/uiterm"
"github.com/layeh/gumble/gumble" "layeh.com/gumble/gumble"
"github.com/layeh/gumble/gumbleopenal" "layeh.com/gumble/gumbleopenal"
) )
type Barnard struct { type Barnard struct {

View File

@@ -1,13 +1,13 @@
package barnard package barnard // import "layeh.com/barnard"
import ( import (
"fmt" "fmt"
"net" "net"
"os" "os"
"github.com/layeh/gumble/gumble" "layeh.com/gumble/gumble"
"github.com/layeh/gumble/gumbleopenal" "layeh.com/gumble/gumbleopenal"
"github.com/layeh/gumble/gumbleutil" "layeh.com/gumble/gumbleutil"
) )
func (b *Barnard) start() { func (b *Barnard) start() {

View File

@@ -1,4 +1,4 @@
package main package main // import "layeh.com/barnard/cmd/barnard"
import ( import (
"crypto/tls" "crypto/tls"
@@ -6,10 +6,10 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/layeh/barnard" "layeh.com/barnard"
"github.com/layeh/barnard/uiterm" "layeh.com/barnard/uiterm"
"github.com/layeh/gumble/gumble" "layeh.com/gumble/gumble"
_ "github.com/layeh/gumble/opus" _ "layeh.com/gumble/opus"
) )
func main() { func main() {

6
ui.go
View File

@@ -1,4 +1,4 @@
package barnard package barnard // import "layeh.com/barnard"
import ( import (
"fmt" "fmt"
@@ -6,8 +6,8 @@ import (
"time" "time"
"github.com/kennygrant/sanitize" "github.com/kennygrant/sanitize"
"github.com/layeh/barnard/uiterm" "layeh.com/barnard/uiterm"
"github.com/layeh/gumble/gumble" "layeh.com/gumble/gumble"
) )
const ( const (

View File

@@ -1,8 +1,8 @@
package barnard package barnard // import "layeh.com/barnard"
import ( import (
"github.com/layeh/barnard/uiterm" "layeh.com/barnard/uiterm"
"github.com/layeh/gumble/gumble" "layeh.com/gumble/gumble"
) )
type TreeItem struct { type TreeItem struct {

View File

@@ -1,4 +1,4 @@
package uiterm package uiterm // import "layeh.com/barnard/uiterm"
/* /*
* Source: https://godoc.org/github.com/nsf/termbox-go * Source: https://godoc.org/github.com/nsf/termbox-go

View File

@@ -1,4 +1,4 @@
package uiterm package uiterm // import "layeh.com/barnard/uiterm"
/* /*
* Source: https://godoc.org/github.com/nsf/termbox-go * Source: https://godoc.org/github.com/nsf/termbox-go

View File

@@ -1,4 +1,4 @@
package uiterm package uiterm // import "layeh.com/barnard/uiterm"
import ( import (
"strings" "strings"

View File

@@ -1,4 +1,4 @@
package uiterm package uiterm // import "layeh.com/barnard/uiterm"
import ( import (
"strings" "strings"

View File

@@ -1,4 +1,4 @@
package uiterm package uiterm // import "layeh.com/barnard/uiterm"
import ( import (
"strings" "strings"

View File

@@ -1,4 +1,4 @@
package uiterm package uiterm // import "layeh.com/barnard/uiterm"
import ( import (
"strings" "strings"

View File

@@ -1,4 +1,4 @@
package uiterm package uiterm // import "layeh.com/barnard/uiterm"
import ( import (
"errors" "errors"

View File

@@ -1,4 +1,4 @@
package uiterm package uiterm // import "layeh.com/barnard/uiterm"
type View interface { type View interface {
uiInitialize(ui *Ui) uiInitialize(ui *Ui)