mirror of https://github.com/liamg/aminal.git
Change import to github.com
Changes the import from `gitlab.com` to `github.com`. Without this Go gets confused. ``` main.go:13:2: cannot find package "gitlab.com/liamg/raft/config" in any of: /home/moscar/projects/go/src/github.com/liamg/raft/vendor/gitlab.com/liamg/raft/config (vendor tree) /usr/lib/go/src/gitlab.com/liamg/raft/config (from $GOROOT) /home/moscar/projects/go/src/gitlab.com/liamg/raft/config (from $GOPATH) main.go:14:2: cannot find package "gitlab.com/liamg/raft/gui" in any of: /home/moscar/projects/go/src/github.com/liamg/raft/vendor/gitlab.com/liamg/raft/gui (vendor tree) /usr/lib/go/src/gitlab.com/liamg/raft/gui (from $GOROOT) /home/moscar/projects/go/src/gitlab.com/liamg/raft/gui (from $GOPATH) main.go:15:2: cannot find package "gitlab.com/liamg/raft/terminal" in any of: /home/moscar/projects/go/src/github.com/liamg/raft/vendor/gitlab.com/liamg/raft/terminal (vendor tree) /usr/lib/go/src/gitlab.com/liamg/raft/terminal (from $GOROOT) /home/moscar/projects/go/src/gitlab.com/liamg/raft/terminal (from $GOPATH) ``` Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
This commit is contained in:
parent
e46d9cc53f
commit
58d9b4a435
|
@ -5,13 +5,13 @@ import (
|
|||
"runtime"
|
||||
"time"
|
||||
|
||||
"gitlab.com/liamg/raft/glfont"
|
||||
"github.com/liamg/raft/glfont"
|
||||
|
||||
"github.com/go-gl/gl/all-core/gl"
|
||||
"github.com/go-gl/glfw/v3.2/glfw"
|
||||
"gitlab.com/liamg/raft/buffer"
|
||||
"gitlab.com/liamg/raft/config"
|
||||
"gitlab.com/liamg/raft/terminal"
|
||||
"github.com/liamg/raft/buffer"
|
||||
"github.com/liamg/raft/config"
|
||||
"github.com/liamg/raft/terminal"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"math"
|
||||
|
||||
"github.com/go-gl/glfw/v3.2/glfw"
|
||||
"gitlab.com/liamg/raft/terminal"
|
||||
"github.com/liamg/raft/terminal"
|
||||
)
|
||||
|
||||
func (gui *GUI) mouseButtonCallback(w *glfw.Window, button glfw.MouseButton, action glfw.Action, mod glfw.ModifierKey) {
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"math"
|
||||
|
||||
"github.com/go-gl/gl/all-core/gl"
|
||||
"gitlab.com/liamg/raft/buffer"
|
||||
"gitlab.com/liamg/raft/config"
|
||||
"gitlab.com/liamg/raft/glfont"
|
||||
"github.com/liamg/raft/buffer"
|
||||
"github.com/liamg/raft/config"
|
||||
"github.com/liamg/raft/glfont"
|
||||
)
|
||||
|
||||
type OpenGLRenderer struct {
|
||||
|
|
6
main.go
6
main.go
|
@ -10,9 +10,9 @@ import (
|
|||
|
||||
"github.com/kr/pty"
|
||||
"github.com/riywo/loginshell"
|
||||
"gitlab.com/liamg/raft/config"
|
||||
"gitlab.com/liamg/raft/gui"
|
||||
"gitlab.com/liamg/raft/terminal"
|
||||
"github.com/liamg/raft/config"
|
||||
"github.com/liamg/raft/gui"
|
||||
"github.com/liamg/raft/terminal"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ package terminal
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"gitlab.com/liamg/raft/buffer"
|
||||
"github.com/liamg/raft/buffer"
|
||||
)
|
||||
|
||||
func sgrSequenceHandler(params []string, intermediate string, terminal *Terminal) error {
|
||||
|
|
|
@ -10,8 +10,8 @@ import (
|
|||
"syscall"
|
||||
"unsafe"
|
||||
|
||||
"gitlab.com/liamg/raft/buffer"
|
||||
"gitlab.com/liamg/raft/config"
|
||||
"github.com/liamg/raft/buffer"
|
||||
"github.com/liamg/raft/config"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue