Simplify package paths
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit

This commit is contained in:
Timothy Warren 2021-04-07 13:10:40 -04:00
parent 9c1fa5402d
commit 6cdb658d43
26 changed files with 19 additions and 19 deletions

View File

@ -4,7 +4,7 @@ import (
"bufio" "bufio"
"log" "log"
"os" "os"
"timshome.page/gilo/internal/gilo" "timshome.page/gilo/gilo"
) )
type Document struct { type Document struct {

View File

@ -2,8 +2,8 @@ package document
import ( import (
"strings" "strings"
"timshome.page/gilo/internal/editor/highlight" "timshome.page/gilo/editor/highlight"
"timshome.page/gilo/internal/gilo" "timshome.page/gilo/gilo"
"unicode" "unicode"
) )

View File

@ -5,9 +5,9 @@ import (
"fmt" "fmt"
"strings" "strings"
"time" "time"
"timshome.page/gilo/internal/editor/highlight" "timshome.page/gilo/editor/highlight"
"timshome.page/gilo/internal/gilo" "timshome.page/gilo/gilo"
"timshome.page/gilo/internal/terminal" "timshome.page/gilo/terminal"
) )
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@ -4,10 +4,10 @@ package editor
import ( import (
"fmt" "fmt"
"time" "time"
doc "timshome.page/gilo/internal/editor/document" doc "timshome.page/gilo/editor/document"
"timshome.page/gilo/internal/gilo" "timshome.page/gilo/gilo"
"timshome.page/gilo/internal/key" "timshome.page/gilo/key"
"timshome.page/gilo/internal/terminal" "timshome.page/gilo/terminal"
) )
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@ -1,6 +1,6 @@
package highlight package highlight
import "timshome.page/gilo/internal/terminal" import "timshome.page/gilo/terminal"
func SyntaxToColor(hl int) string { func SyntaxToColor(hl int) string {
switch hl { switch hl {

View File

@ -1,10 +1,10 @@
package editor package editor
import ( import (
"timshome.page/gilo/internal/editor/document" "timshome.page/gilo/editor/document"
"timshome.page/gilo/internal/gilo" "timshome.page/gilo/gilo"
"timshome.page/gilo/internal/key" "timshome.page/gilo/key"
"timshome.page/gilo/internal/terminal" "timshome.page/gilo/terminal"
) )
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@ -2,8 +2,8 @@ package editor
import ( import (
"testing" "testing"
"timshome.page/gilo/internal/gilo" "timshome.page/gilo/gilo"
"timshome.page/gilo/internal/key" "timshome.page/gilo/key"
) )
type moveCursor struct { type moveCursor struct {

View File

@ -4,8 +4,8 @@ import (
"fmt" "fmt"
"golang.org/x/term" "golang.org/x/term"
"os" "os"
"timshome.page/gilo/internal/editor" "timshome.page/gilo/editor"
"timshome.page/gilo/internal/terminal" "timshome.page/gilo/terminal"
) )
func cleanup(oldState *term.State) { func cleanup(oldState *term.State) {