update go.mod and import paths for waveshell

This commit is contained in:
sawka 2023-10-16 13:25:53 -07:00
parent a4c0128c89
commit 397a0faa88
11 changed files with 25 additions and 25 deletions

View File

@ -1,4 +1,4 @@
module github.com/commandlinedev/apishell module github.com/wavetermdev/waveterm/waveshell
go 1.18 go 1.18

View File

@ -9,10 +9,10 @@ import (
"syscall" "syscall"
"time" "time"
"github.com/commandlinedev/apishell/pkg/base" "github.com/wavetermdev/waveterm/waveshell/pkg/base"
"github.com/commandlinedev/apishell/pkg/packet" "github.com/wavetermdev/waveterm/waveshell/pkg/packet"
"github.com/commandlinedev/apishell/pkg/server" "github.com/wavetermdev/waveterm/waveshell/pkg/server"
"github.com/commandlinedev/apishell/pkg/shexec" "github.com/wavetermdev/waveterm/waveshell/pkg/shexec"
"golang.org/x/sys/unix" "golang.org/x/sys/unix"
) )

View File

@ -10,8 +10,8 @@ import (
"time" "time"
"github.com/fsnotify/fsnotify" "github.com/fsnotify/fsnotify"
"github.com/commandlinedev/apishell/pkg/base" "github.com/wavetermdev/waveterm/waveshell/pkg/base"
"github.com/commandlinedev/apishell/pkg/packet" "github.com/wavetermdev/waveterm/waveshell/pkg/packet"
) )
const MaxDataBytes = 4096 const MaxDataBytes = 4096

View File

@ -4,7 +4,7 @@ import (
"io" "io"
"sync" "sync"
"github.com/commandlinedev/apishell/pkg/packet" "github.com/wavetermdev/waveterm/waveshell/pkg/packet"
) )
type FdReader struct { type FdReader struct {

View File

@ -7,8 +7,8 @@ import (
"os" "os"
"sync" "sync"
"github.com/commandlinedev/apishell/pkg/base" "github.com/wavetermdev/waveterm/waveshell/pkg/base"
"github.com/commandlinedev/apishell/pkg/packet" "github.com/wavetermdev/waveterm/waveshell/pkg/packet"
) )
const ReadBufSize = 128 * 1024 const ReadBufSize = 128 * 1024

View File

@ -12,7 +12,7 @@ import (
"reflect" "reflect"
"sync" "sync"
"github.com/commandlinedev/apishell/pkg/base" "github.com/wavetermdev/waveterm/waveshell/pkg/base"
) )
// single : <init, >run, >cmddata, >cmddone, <cmdstart, <>data, <>dataack, <cmddone // single : <init, >run, >cmddata, >cmddone, <cmdstart, <>data, <>dataack, <cmddone

View File

@ -7,8 +7,8 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/commandlinedev/apishell/pkg/binpack" "github.com/wavetermdev/waveterm/waveshell/pkg/binpack"
"github.com/commandlinedev/apishell/pkg/statediff" "github.com/wavetermdev/waveterm/waveshell/pkg/statediff"
) )
const ShellStatePackVersion = 0 const ShellStatePackVersion = 0

View File

@ -15,9 +15,9 @@ import (
"time" "time"
"github.com/alessio/shellescape" "github.com/alessio/shellescape"
"github.com/commandlinedev/apishell/pkg/base" "github.com/wavetermdev/waveterm/waveshell/pkg/base"
"github.com/commandlinedev/apishell/pkg/packet" "github.com/wavetermdev/waveterm/waveshell/pkg/packet"
"github.com/commandlinedev/apishell/pkg/shexec" "github.com/wavetermdev/waveterm/waveshell/pkg/shexec"
) )
const MaxFileDataPacketSize = 16 * 1024 const MaxFileDataPacketSize = 16 * 1024

View File

@ -7,8 +7,8 @@ import (
"os/exec" "os/exec"
"time" "time"
"github.com/commandlinedev/apishell/pkg/base" "github.com/wavetermdev/waveterm/waveshell/pkg/base"
"github.com/commandlinedev/apishell/pkg/packet" "github.com/wavetermdev/waveterm/waveshell/pkg/packet"
"golang.org/x/mod/semver" "golang.org/x/mod/semver"
) )

View File

@ -9,9 +9,9 @@ import (
"strings" "strings"
"github.com/alessio/shellescape" "github.com/alessio/shellescape"
"github.com/commandlinedev/apishell/pkg/packet" "github.com/wavetermdev/waveterm/waveshell/pkg/packet"
"github.com/commandlinedev/apishell/pkg/simpleexpand" "github.com/wavetermdev/waveterm/waveshell/pkg/simpleexpand"
"github.com/commandlinedev/apishell/pkg/statediff" "github.com/wavetermdev/waveterm/waveshell/pkg/statediff"
"mvdan.cc/sh/v3/expand" "mvdan.cc/sh/v3/expand"
"mvdan.cc/sh/v3/syntax" "mvdan.cc/sh/v3/syntax"
) )

View File

@ -18,10 +18,10 @@ import (
"time" "time"
"github.com/alessio/shellescape" "github.com/alessio/shellescape"
"github.com/commandlinedev/apishell/pkg/base" "github.com/wavetermdev/waveterm/waveshell/pkg/base"
"github.com/commandlinedev/apishell/pkg/cirfile" "github.com/wavetermdev/waveterm/waveshell/pkg/cirfile"
"github.com/commandlinedev/apishell/pkg/mpio" "github.com/wavetermdev/waveterm/waveshell/pkg/mpio"
"github.com/commandlinedev/apishell/pkg/packet" "github.com/wavetermdev/waveterm/waveshell/pkg/packet"
"github.com/creack/pty" "github.com/creack/pty"
"golang.org/x/mod/semver" "golang.org/x/mod/semver"
"golang.org/x/sys/unix" "golang.org/x/sys/unix"