1
0
Fork 0

Simplify package paths
timw4mail/gilo/pipeline/head There was a failure building this commit Details

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"
"log"
"os"
"timshome.page/gilo/internal/gilo"
"timshome.page/gilo/gilo"
)
type Document struct {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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