Browse Source

update import path

master
Tim Cooper 8 years ago
parent
commit
e63f8f98b8
15 changed files with 29 additions and 32 deletions
  1. +1
    -0
      .gitignore
  2. +1
    -5
      README.md
  3. +4
    -4
      barnard.go
  4. +4
    -4
      client.go
  5. +5
    -5
      cmd/barnard/main.go
  6. +3
    -3
      ui.go
  7. +3
    -3
      ui_tree.go
  8. +1
    -1
      uiterm/attributes.go
  9. +1
    -1
      uiterm/keys.go
  10. +1
    -1
      uiterm/label.go
  11. +1
    -1
      uiterm/textbox.go
  12. +1
    -1
      uiterm/textview.go
  13. +1
    -1
      uiterm/tree.go
  14. +1
    -1
      uiterm/ui.go
  15. +1
    -1
      uiterm/view.go

+ 1
- 0
.gitignore View File

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

+ 1
- 5
README.md View File

@@ -5,11 +5,7 @@ chat software.


![Screenshot](https://i.imgur.com/B8ldT5k.png) ![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 ## License




+ 4
- 4
barnard.go 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"
"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 { type Barnard struct {


+ 4
- 4
client.go 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"
"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() { func (b *Barnard) start() {


+ 5
- 5
cmd/barnard/main.go 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"
"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() { func main() {


+ 3
- 3
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"
"github.com/layeh/gumble/gumble"
"layeh.com/barnard/uiterm"
"layeh.com/gumble/gumble"
) )


const ( const (


+ 3
- 3
ui_tree.go View File

@@ -1,8 +1,8 @@
package barnard
package barnard // import "layeh.com/barnard"


import ( import (
"github.com/layeh/barnard/uiterm"
"github.com/layeh/gumble/gumble"
"layeh.com/barnard/uiterm"
"layeh.com/gumble/gumble"
) )


type TreeItem struct { type TreeItem struct {


+ 1
- 1
uiterm/attributes.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


+ 1
- 1
uiterm/keys.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


+ 1
- 1
uiterm/label.go View File

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


import ( import (
"strings" "strings"


+ 1
- 1
uiterm/textbox.go View File

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


import ( import (
"strings" "strings"


+ 1
- 1
uiterm/textview.go View File

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


import ( import (
"strings" "strings"


+ 1
- 1
uiterm/tree.go View File

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


import ( import (
"strings" "strings"


+ 1
- 1
uiterm/ui.go View File

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


import ( import (
"errors" "errors"


+ 1
- 1
uiterm/view.go 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)


Loading…
Cancel
Save