This commit is contained in:
Tulir Asokan 2018-06-02 00:44:21 +03:00
parent 134604edce
commit b9079e22d2
16 changed files with 28 additions and 28 deletions

View File

@ -21,13 +21,13 @@ import (
"os"
"path/filepath"
"encoding/json"
"gopkg.in/yaml.v2"
"maunium.net/go/gomatrix"
"maunium.net/go/gomuks/debug"
"maunium.net/go/gomuks/matrix/pushrules"
"maunium.net/go/gomuks/matrix/rooms"
"strings"
"encoding/json"
)
type AuthCache struct {

View File

@ -30,6 +30,8 @@ import (
"strings"
"time"
"crypto/tls"
"encoding/json"
"gopkg.in/russross/blackfriday.v2"
"maunium.net/go/gomatrix"
"maunium.net/go/gomuks/config"
@ -38,8 +40,6 @@ import (
"maunium.net/go/gomuks/lib/bfhtml"
"maunium.net/go/gomuks/matrix/pushrules"
"maunium.net/go/gomuks/matrix/rooms"
"crypto/tls"
"encoding/json"
)
// Container is a wrapper for a gomatrix Client and some other stuff.

View File

@ -17,11 +17,11 @@
package ui
import (
"maunium.net/go/gomuks/interface"
"strings"
"fmt"
"maunium.net/go/gomuks/config"
"maunium.net/go/gomuks/debug"
"fmt"
"maunium.net/go/gomuks/interface"
"strings"
)
type gomuksPointerContainer struct {

View File

@ -17,9 +17,9 @@
package ui
import (
"encoding/json"
"maunium.net/go/gomuks/debug"
"strings"
"encoding/json"
)
func cmdMe(cmd *Command) {

View File

@ -24,13 +24,13 @@ import (
"strings"
"github.com/mattn/go-runewidth"
"maunium.net/go/gomuks/config"
"maunium.net/go/gomuks/debug"
"maunium.net/go/gomuks/interface"
"maunium.net/go/gomuks/lib/open"
"maunium.net/go/gomuks/ui/messages"
"maunium.net/go/gomuks/ui/messages/tstring"
"maunium.net/go/gomuks/ui/widget"
"maunium.net/go/gomuks/config"
"maunium.net/go/tcell"
"maunium.net/go/tview"
)

View File

@ -20,11 +20,11 @@ import (
"encoding/gob"
"time"
"maunium.net/go/gomuks/config"
"maunium.net/go/gomuks/interface"
"maunium.net/go/gomuks/ui/messages/tstring"
"maunium.net/go/gomuks/ui/widget"
"maunium.net/go/tcell"
"maunium.net/go/gomuks/config"
)
func init() {

View File

@ -20,8 +20,8 @@ import (
"encoding/gob"
"time"
"maunium.net/go/gomuks/ui/messages/tstring"
"maunium.net/go/gomuks/config"
"maunium.net/go/gomuks/ui/messages/tstring"
)
func init() {

View File

@ -24,12 +24,12 @@ import (
"image/color"
"maunium.net/go/gomuks/config"
"maunium.net/go/gomuks/debug"
"maunium.net/go/gomuks/interface"
"maunium.net/go/gomuks/lib/ansimage"
"maunium.net/go/gomuks/ui/messages/tstring"
"maunium.net/go/tcell"
"maunium.net/go/gomuks/config"
)
func init() {

View File

@ -17,9 +17,9 @@
package messages
import (
"maunium.net/go/gomuks/config"
"maunium.net/go/gomuks/interface"
"maunium.net/go/gomuks/ui/messages/tstring"
"maunium.net/go/gomuks/config"
)
// UIMessage is a wrapper for the content and metadata of a Matrix message intended to be displayed.

View File

@ -22,12 +22,12 @@ import (
"regexp"
"strings"
"golang.org/x/net/html"
"maunium.net/go/gomatrix"
"maunium.net/go/gomuks/matrix/rooms"
"maunium.net/go/gomuks/ui/messages/tstring"
"maunium.net/go/gomuks/ui/widget"
"maunium.net/go/tcell"
"golang.org/x/net/html"
"strconv"
)

View File

@ -17,10 +17,10 @@
package messages
import (
"regexp"
"maunium.net/go/gomuks/ui/messages/tstring"
"fmt"
"maunium.net/go/gomuks/config"
"maunium.net/go/gomuks/ui/messages/tstring"
"regexp"
)
// Regular expressions used to split lines when calculating the buffer.

View File

@ -21,9 +21,9 @@ import (
"fmt"
"time"
"maunium.net/go/gomuks/config"
"maunium.net/go/gomuks/interface"
"maunium.net/go/gomuks/ui/messages/tstring"
"maunium.net/go/gomuks/config"
)
func init() {

View File

@ -25,6 +25,7 @@ import (
"time"
"github.com/mattn/go-runewidth"
"maunium.net/go/gomuks/config"
"maunium.net/go/gomuks/interface"
"maunium.net/go/gomuks/lib/util"
"maunium.net/go/gomuks/matrix/rooms"
@ -32,7 +33,6 @@ import (
"maunium.net/go/gomuks/ui/widget"
"maunium.net/go/tcell"
"maunium.net/go/tview"
"maunium.net/go/gomuks/config"
)
type RoomView struct {

View File

@ -21,6 +21,7 @@ import (
"time"
"unicode"
"bufio"
"maunium.net/go/gomatrix"
"maunium.net/go/gomuks/config"
"maunium.net/go/gomuks/debug"
@ -32,7 +33,6 @@ import (
"maunium.net/go/gomuks/ui/widget"
"maunium.net/go/tcell"
"maunium.net/go/tview"
"bufio"
"os"
)