From b1327b8301637707af4a08647c03e497426ae653 Mon Sep 17 00:00:00 2001 From: Obanby Date: Fri, 31 May 2024 10:19:17 -0400 Subject: [PATCH] chore: upgrade go version - Upgrade go version to 1.22.3 - Fix import statment for internal packages --- .gitignore | 2 ++ cmd/sshfront/sshfront.go | 2 +- go.mod | 9 ++++++--- go.sum | 3 +++ 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 9b1b0db..0fb3e9a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ execd build release + +.idea \ No newline at end of file diff --git a/cmd/sshfront/sshfront.go b/cmd/sshfront/sshfront.go index 585dbdc..7b02cfe 100644 --- a/cmd/sshfront/sshfront.go +++ b/cmd/sshfront/sshfront.go @@ -3,7 +3,7 @@ package main import ( "flag" "fmt" - . "github.com/gliderlabs/sshfront/internal" + . "github.com/plotly/sshfront/internal" "log" "net" "os" diff --git a/go.mod b/go.mod index 410e0fa..22f8c25 100644 --- a/go.mod +++ b/go.mod @@ -1,11 +1,14 @@ module github.com/plotly/sshfront -go 1.21 +go 1.22.3 require ( - github.com/creack/pty v1.1.21 github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 + github.com/kr/pty v1.1.8 golang.org/x/crypto v0.21.0 ) -require golang.org/x/sys v0.18.0 // indirect +require ( + github.com/creack/pty v1.1.21 // indirect + golang.org/x/sys v0.18.0 // indirect +) diff --git a/go.sum b/go.sum index ca6f755..20788fc 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,10 @@ +github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.21 h1:1/QdRyBaHHJP61QkWMXlOIBfsgdDeeKfK8SYVUWJKf0= github.com/creack/pty v1.1.21/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= +github.com/kr/pty v1.1.8 h1:AkaSdXYQOWeaO3neb8EM634ahkXXe3jYbVh/F9lq+GI= +github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=