There's only a single executable, so this makes things cleanermaster
@@ -1,4 +1,4 @@ | |||||
package barnard // import "layeh.com/barnard" | |||||
package main | |||||
import ( | import ( | ||||
"crypto/tls" | "crypto/tls" | ||||
@@ -1,4 +1,4 @@ | |||||
package barnard // import "layeh.com/barnard" | |||||
package main | |||||
import ( | import ( | ||||
"fmt" | "fmt" | ||||
@@ -0,0 +1,2 @@ | |||||
// barnard is a terminal based client for the Mumble VoIP system. | |||||
package main // import "layeh.com/barnard" |
@@ -1,4 +1,4 @@ | |||||
package main // import "layeh.com/barnard/cmd/barnard" | |||||
package main | |||||
import ( | import ( | ||||
"crypto/tls" | "crypto/tls" | ||||
@@ -6,7 +6,6 @@ import ( | |||||
"fmt" | "fmt" | ||||
"os" | "os" | ||||
"layeh.com/barnard" | |||||
"layeh.com/barnard/uiterm" | "layeh.com/barnard/uiterm" | ||||
"layeh.com/gumble/gumble" | "layeh.com/gumble/gumble" | ||||
_ "layeh.com/gumble/opus" | _ "layeh.com/gumble/opus" | ||||
@@ -23,8 +22,8 @@ func main() { | |||||
flag.Parse() | flag.Parse() | ||||
// Initialize | // Initialize | ||||
b := barnard.Barnard{ | |||||
Config: gumble.NewConfig(), | |||||
b := Barnard{ | |||||
Config: gumble.NewConfig(), | |||||
Address: *server, | Address: *server, | ||||
} | } | ||||
@@ -1,4 +1,4 @@ | |||||
package barnard // import "layeh.com/barnard" | |||||
package main | |||||
import ( | import ( | ||||
"fmt" | "fmt" | ||||
@@ -1,4 +1,4 @@ | |||||
package barnard // import "layeh.com/barnard" | |||||
package main | |||||
import ( | import ( | ||||
"layeh.com/barnard/uiterm" | "layeh.com/barnard/uiterm" | ||||
@@ -1,4 +1,4 @@ | |||||
package uiterm // import "layeh.com/barnard/uiterm" | |||||
package uiterm | |||||
/* | /* | ||||
* Source: https://godoc.org/github.com/nsf/termbox-go | * Source: https://godoc.org/github.com/nsf/termbox-go | ||||
@@ -0,0 +1 @@ | |||||
package uiterm // import "layeh.com/barnard/uiterm" |
@@ -1,4 +1,4 @@ | |||||
package uiterm // import "layeh.com/barnard/uiterm" | |||||
package uiterm | |||||
/* | /* | ||||
* Source: https://godoc.org/github.com/nsf/termbox-go | * Source: https://godoc.org/github.com/nsf/termbox-go | ||||
@@ -1,4 +1,4 @@ | |||||
package uiterm // import "layeh.com/barnard/uiterm" | |||||
package uiterm | |||||
import ( | import ( | ||||
"strings" | "strings" | ||||
@@ -1,4 +1,4 @@ | |||||
package uiterm // import "layeh.com/barnard/uiterm" | |||||
package uiterm | |||||
import ( | import ( | ||||
"strings" | "strings" | ||||
@@ -1,4 +1,4 @@ | |||||
package uiterm // import "layeh.com/barnard/uiterm" | |||||
package uiterm | |||||
import ( | import ( | ||||
"strings" | "strings" | ||||
@@ -1,4 +1,4 @@ | |||||
package uiterm // import "layeh.com/barnard/uiterm" | |||||
package uiterm | |||||
import ( | import ( | ||||
"strings" | "strings" | ||||
@@ -1,4 +1,4 @@ | |||||
package uiterm // import "layeh.com/barnard/uiterm" | |||||
package uiterm | |||||
import ( | import ( | ||||
"errors" | "errors" | ||||
@@ -1,4 +1,4 @@ | |||||
package uiterm // import "layeh.com/barnard/uiterm" | |||||
package uiterm | |||||
type View interface { | type View interface { | ||||
uiInitialize(ui *Ui) | uiInitialize(ui *Ui) | ||||