Fix module import path and installation instructions

This commit is contained in:
Menno van Leeuwen 2025-05-23 15:19:59 +02:00
parent ee9c0edf8a
commit e136c30266
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE
6 changed files with 104 additions and 104 deletions

View File

@ -10,7 +10,7 @@ A Go-based command-line tool to manage SSH tunnels. This tool allows you to:
## Installation ## Installation
``` ```
go install git.mvl.sh/vleeuwenmenno/sshtunnel/cmd@latest go install git.mvl.sh/vleeuwenmenno/sshtunnel@latest
``` ```
Or clone this repository and build it yourself: Or clone this repository and build it yourself:

View File

@ -8,8 +8,8 @@ import (
"strings" "strings"
"time" "time"
"git.mvl.sh/vleeuwenmenno/sshtunnel/pkg/stats"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"sshtunnel/pkg/stats"
) )
var ( var (

View File

@ -5,8 +5,8 @@ import (
"os" "os"
"time" "time"
"sshtunnel/pkg/monitor" "git.mvl.sh/vleeuwenmenno/sshtunnel/pkg/monitor"
"sshtunnel/pkg/stats" "git.mvl.sh/vleeuwenmenno/sshtunnel/pkg/stats"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@ -5,8 +5,8 @@ import (
"os" "os"
"syscall" "syscall"
"git.mvl.sh/vleeuwenmenno/sshtunnel/pkg/stats"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"sshtunnel/pkg/stats"
) )
var ( var (

2
go.mod
View File

@ -1,4 +1,4 @@
module sshtunnel module git.mvl.sh/vleeuwenmenno/sshtunnel
go 1.22.2 go 1.22.2

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"os" "os"
"sshtunnel/cmd" "git.mvl.sh/vleeuwenmenno/sshtunnel/cmd"
) )
func main() { func main() {