fix: update module path to use GitHub URL

This commit is contained in:
Gu1llaum-3 2025-09-06 23:48:30 +02:00
parent 67987e6242
commit edf61049fc
19 changed files with 30 additions and 34 deletions

View File

@ -2,7 +2,7 @@ package cmd
import (
"fmt"
"sshm/internal/ui"
"github.com/Gu1llaum-3/sshm/internal/ui"
"github.com/spf13/cobra"
)

View File

@ -2,7 +2,7 @@ package cmd
import (
"fmt"
"sshm/internal/ui"
"github.com/Gu1llaum-3/sshm/internal/ui"
"github.com/spf13/cobra"
)

View File

@ -6,8 +6,8 @@ import (
"os"
"strings"
"sshm/internal/config"
"sshm/internal/ui"
"github.com/Gu1llaum-3/sshm/internal/config"
"github.com/Gu1llaum-3/sshm/internal/ui"
"github.com/spf13/cobra"
)

View File

@ -5,7 +5,7 @@ import (
"os"
"strings"
"sshm/internal/config"
"github.com/Gu1llaum-3/sshm/internal/config"
"github.com/spf13/cobra"
)

4
go.mod
View File

@ -1,4 +1,4 @@
module sshm
module github.com/Gu1llaum-3/sshm
go 1.23.1
@ -7,6 +7,7 @@ require (
github.com/charmbracelet/bubbletea v1.3.6
github.com/charmbracelet/lipgloss v1.1.0
github.com/spf13/cobra v1.9.1
golang.org/x/crypto v0.41.0
)
require (
@ -28,7 +29,6 @@ require (
github.com/rivo/uniseg v0.4.7 // indirect
github.com/spf13/pflag v1.0.6 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
golang.org/x/crypto v0.41.0 // indirect
golang.org/x/sync v0.16.0 // indirect
golang.org/x/sys v0.35.0 // indirect
golang.org/x/text v0.28.0 // indirect

8
go.sum
View File

@ -53,18 +53,14 @@ golang.org/x/crypto v0.41.0 h1:WKYxWedPGCTVVl5+WHSSrOBT0O8lx32+zxmHxijgXp4=
golang.org/x/crypto v0.41.0/go.mod h1:pO5AFd7FA68rFak7rOAGVuygIISepHftHnr8dr6+sUc=
golang.org/x/exp v0.0.0-20220909182711-5c715a9e8561 h1:MDc5xs78ZrZr3HMQugiXOAkSZtfTpbJLDr/lwfgO53E=
golang.org/x/exp v0.0.0-20220909182711-5c715a9e8561/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE=
golang.org/x/sync v0.15.0 h1:KWH3jNZsfyT6xfAfKiz6MRNmd46ByHDYaZ7KSkCtdW8=
golang.org/x/sync v0.15.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
golang.org/x/sync v0.16.0 h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw=
golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw=
golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=
golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/text v0.3.8 h1:nAL+RVCQ9uMn3vJZbV+MRnydTJFPf8qqY42YiA6MrqY=
golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ=
golang.org/x/term v0.34.0 h1:O/2T7POpk0ZZ7MAzMeWFSg6S5IpWd/RXDlM9hgM3DR4=
golang.org/x/term v0.34.0/go.mod h1:5jC53AEywhIVebHgPVeg0mj8OD3VO9OzclacVrqpaAw=
golang.org/x/text v0.28.0 h1:rhazDwis8INMIwQ4tpjLDzUhx6RlXqZNPEM0huQojng=
golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

View File

@ -3,7 +3,7 @@ package connectivity
import (
"context"
"net"
"sshm/internal/config"
"github.com/Gu1llaum-3/sshm/internal/config"
"strings"
"sync"
"time"

View File

@ -7,7 +7,7 @@ import (
"sort"
"time"
"sshm/internal/config"
"github.com/Gu1llaum-3/sshm/internal/config"
)
// ConnectionHistory represents the history of SSH connections

View File

@ -4,8 +4,8 @@ import (
"os"
"os/user"
"path/filepath"
"sshm/internal/config"
"sshm/internal/validation"
"github.com/Gu1llaum-3/sshm/internal/config"
"github.com/Gu1llaum-3/sshm/internal/validation"
"strings"
"github.com/charmbracelet/bubbles/textinput"

View File

@ -1,8 +1,8 @@
package ui
import (
"sshm/internal/config"
"sshm/internal/validation"
"github.com/Gu1llaum-3/sshm/internal/config"
"github.com/Gu1llaum-3/sshm/internal/validation"
"strings"
"github.com/charmbracelet/bubbles/textinput"

View File

@ -3,7 +3,7 @@ package ui
import (
"fmt"
"path/filepath"
"sshm/internal/config"
"github.com/Gu1llaum-3/sshm/internal/config"
"strings"
tea "github.com/charmbracelet/bubbletea"

View File

@ -2,7 +2,7 @@ package ui
import (
"fmt"
"sshm/internal/config"
"github.com/Gu1llaum-3/sshm/internal/config"
"strings"
tea "github.com/charmbracelet/bubbletea"

View File

@ -1,9 +1,9 @@
package ui
import (
"sshm/internal/config"
"sshm/internal/connectivity"
"sshm/internal/history"
"github.com/Gu1llaum-3/sshm/internal/config"
"github.com/Gu1llaum-3/sshm/internal/connectivity"
"github.com/Gu1llaum-3/sshm/internal/history"
"github.com/charmbracelet/bubbles/table"
"github.com/charmbracelet/bubbles/textinput"

View File

@ -4,7 +4,7 @@ import (
"sort"
"strings"
"sshm/internal/config"
"github.com/Gu1llaum-3/sshm/internal/config"
)
// sortHosts sorts hosts according to the current sort mode

View File

@ -3,8 +3,8 @@ package ui
import (
"strings"
"sshm/internal/config"
"sshm/internal/history"
"github.com/Gu1llaum-3/sshm/internal/config"
"github.com/Gu1llaum-3/sshm/internal/history"
"github.com/charmbracelet/bubbles/table"
)

View File

@ -5,9 +5,9 @@ import (
"strings"
"time"
"sshm/internal/config"
"sshm/internal/connectivity"
"sshm/internal/history"
"github.com/Gu1llaum-3/sshm/internal/config"
"github.com/Gu1llaum-3/sshm/internal/connectivity"
"github.com/Gu1llaum-3/sshm/internal/history"
"github.com/charmbracelet/bubbles/table"
"github.com/charmbracelet/bubbles/textinput"

View File

@ -6,8 +6,8 @@ import (
"os/exec"
"time"
"sshm/internal/config"
"sshm/internal/connectivity"
"github.com/Gu1llaum-3/sshm/internal/config"
"github.com/Gu1llaum-3/sshm/internal/connectivity"
"github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea"

View File

@ -2,7 +2,7 @@ package ui
import (
"fmt"
"sshm/internal/connectivity"
"github.com/Gu1llaum-3/sshm/internal/connectivity"
"strings"
"time"
)

View File

@ -1,6 +1,6 @@
package main
import "sshm/cmd"
import "github.com/Gu1llaum-3/sshm/cmd"
func main() {
cmd.Execute()