introduce go modules and make minimal changes to make gotty compile

This commit is contained in:
Bohdan Trotsenko 2022-07-23 11:25:00 +03:00
parent ca725a9fdc
commit 1710712286
12 changed files with 95 additions and 75 deletions

View file

@ -14,13 +14,13 @@ import (
"time"
"github.com/NYTimes/gziphandler"
"github.com/elazarl/go-bindata-assetfs"
assetfs "github.com/elazarl/go-bindata-assetfs"
"github.com/gorilla/websocket"
"github.com/pkg/errors"
"github.com/yudai/gotty/pkg/homedir"
"github.com/yudai/gotty/pkg/randomstring"
"github.com/yudai/gotty/webtty"
"gotty/pkg/homedir"
"gotty/pkg/randomstring"
"gotty/webtty"
)
// Server provides a webtty HTTP endpoint.