update import path
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/.idea/
|
||||
@@ -5,11 +5,7 @@ chat software.
|
||||
|
||||

|
||||
|
||||
## 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
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
6
ui.go
6
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 (
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package uiterm
|
||||
package uiterm // import "layeh.com/barnard/uiterm"
|
||||
|
||||
/*
|
||||
* Source: https://godoc.org/github.com/nsf/termbox-go
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package uiterm
|
||||
package uiterm // import "layeh.com/barnard/uiterm"
|
||||
|
||||
/*
|
||||
* Source: https://godoc.org/github.com/nsf/termbox-go
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package uiterm
|
||||
package uiterm // import "layeh.com/barnard/uiterm"
|
||||
|
||||
import (
|
||||
"strings"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package uiterm
|
||||
package uiterm // import "layeh.com/barnard/uiterm"
|
||||
|
||||
import (
|
||||
"strings"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package uiterm
|
||||
package uiterm // import "layeh.com/barnard/uiterm"
|
||||
|
||||
import (
|
||||
"strings"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package uiterm
|
||||
package uiterm // import "layeh.com/barnard/uiterm"
|
||||
|
||||
import (
|
||||
"strings"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package uiterm
|
||||
package uiterm // import "layeh.com/barnard/uiterm"
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package uiterm
|
||||
package uiterm // import "layeh.com/barnard/uiterm"
|
||||
|
||||
type View interface {
|
||||
uiInitialize(ui *Ui)
|
||||
|
||||
Reference in New Issue
Block a user