global: make the whole package go mod ready

Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch>
This commit is contained in:
Yoan Blanc
2018-11-30 09:40:45 +01:00
parent 42873297d2
commit 11b1d45ce9
36 changed files with 80 additions and 75 deletions

View File

@@ -7,8 +7,8 @@ import (
"io"
"net"
"unicode"
"vncproxy/common"
"vncproxy/logger"
"github.com/amitbet/vncproxy/common"
"github.com/amitbet/vncproxy/logger"
)
// A ServerMessage implements a message sent from the server to the client.

View File

@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/binary"
"io"
"vncproxy/common"
"github.com/amitbet/vncproxy/common"
)
func readPixelFormat(r io.Reader, result *common.PixelFormat) error {

View File

@@ -6,9 +6,9 @@ import (
"fmt"
"io"
"strings"
"vncproxy/common"
"vncproxy/encodings"
"vncproxy/logger"
"github.com/amitbet/vncproxy/common"
"github.com/amitbet/vncproxy/encodings"
"github.com/amitbet/vncproxy/logger"
)
// MsgFramebufferUpdate consists of a sequence of rectangles of

View File

@@ -2,8 +2,8 @@ package client
import (
"io"
"vncproxy/common"
"vncproxy/logger"
"github.com/amitbet/vncproxy/common"
"github.com/amitbet/vncproxy/logger"
)
type WriteTo struct {