Rename github.com/sorenisanerd/gotty to gitea.xs0.ru/forks/gotty
Some checks failed
Unit and Build Tests / bundle-up-to-date (push) Has been cancelled
Unit and Build Tests / cross-compile-test (push) Has been cancelled
pre-release / Pre Release Docker (push) Has been cancelled
Quick build test / quick-build-test (push) Has been cancelled

This commit is contained in:
2025-11-19 21:32:45 +03:00
parent 4b995d970b
commit 9fe3aec7e8
6 changed files with 12 additions and 12 deletions

View File

@@ -4,7 +4,7 @@ import (
"syscall"
"time"
"github.com/sorenisanerd/gotty/server"
"gitea.xs0.ru/forks/gotty/server"
)
type Options struct {

View File

@@ -12,10 +12,10 @@ import (
cli "github.com/urfave/cli/v2"
"github.com/sorenisanerd/gotty/backend/localcommand"
"github.com/sorenisanerd/gotty/pkg/homedir"
"github.com/sorenisanerd/gotty/server"
"github.com/sorenisanerd/gotty/utils"
"gitea.xs0.ru/forks/gotty/backend/localcommand"
"gitea.xs0.ru/forks/gotty/pkg/homedir"
"gitea.xs0.ru/forks/gotty/server"
"gitea.xs0.ru/forks/gotty/utils"
)
func main() {

View File

@@ -14,7 +14,7 @@ import (
"github.com/gorilla/websocket"
"github.com/pkg/errors"
"github.com/sorenisanerd/gotty/webtty"
"gitea.xs0.ru/forks/gotty/webtty"
)
func (server *Server) generateHandleWS(ctx context.Context, cancel context.CancelFunc, counter *counter) http.HandlerFunc {

View File

@@ -19,10 +19,10 @@ import (
"github.com/gorilla/websocket"
"github.com/pkg/errors"
"github.com/sorenisanerd/gotty/bindata"
"github.com/sorenisanerd/gotty/pkg/homedir"
"github.com/sorenisanerd/gotty/pkg/randomstring"
"github.com/sorenisanerd/gotty/webtty"
"gitea.xs0.ru/forks/gotty/bindata"
"gitea.xs0.ru/forks/gotty/pkg/homedir"
"gitea.xs0.ru/forks/gotty/pkg/randomstring"
"gitea.xs0.ru/forks/gotty/webtty"
)
// Server provides a webtty HTTP endpoint.

View File

@@ -1,7 +1,7 @@
package server
import (
"github.com/sorenisanerd/gotty/webtty"
"gitea.xs0.ru/forks/gotty/webtty"
)
// Slave is webtty.Slave with some additional methods.

View File

@@ -10,7 +10,7 @@ import (
"github.com/urfave/cli/v2"
"github.com/yudai/hcl"
"github.com/sorenisanerd/gotty/pkg/homedir"
"gitea.xs0.ru/forks/gotty/pkg/homedir"
)
func GenerateFlags(options ...interface{}) (flags []cli.Flag, mappings map[string]string, err error) {