refactor: change mod name

This commit is contained in:
tux
2025-02-28 03:15:05 +05:30
parent 82448449af
commit 4fe8742133
7 changed files with 7 additions and 7 deletions

View File

@ -5,8 +5,8 @@ Copyright © 2024 tux <0xtux@pm.me>
package cmd
import (
"github.com/0xtux/trok/internal/client"
"github.com/spf13/cobra"
"github.com/tuxdotrs/trok/internal/client"
)
// clientCmd represents the local command

View File

@ -7,8 +7,8 @@ package cmd
import (
"os"
"github.com/0xtux/trok/internal/config"
"github.com/spf13/cobra"
"github.com/tuxdotrs/trok/internal/config"
)
var rootCmd = &cobra.Command{

View File

@ -5,8 +5,8 @@ Copyright © 2024 tux <0xtux@pm.me>
package cmd
import (
"github.com/0xtux/trok/internal/server"
"github.com/spf13/cobra"
"github.com/tuxdotrs/trok/internal/server"
)
// serverCmd represents the server command

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/0xtux/trok
module github.com/tuxdotrs/trok
go 1.22.7

View File

@ -10,8 +10,8 @@ import (
"net"
"strings"
"github.com/0xtux/trok/internal/lib"
"github.com/rs/zerolog/log"
"github.com/tuxdotrs/trok/internal/lib"
)
type Trok struct {

View File

@ -11,9 +11,9 @@ import (
"sync"
"time"
"github.com/0xtux/trok/internal/lib"
gonanoid "github.com/matoous/go-nanoid/v2"
"github.com/rs/zerolog/log"
"github.com/tuxdotrs/trok/internal/lib"
)
type Conn struct {

View File

@ -4,7 +4,7 @@ Copyright © 2024 tux <0xtux@pm.me>
package main
import "github.com/0xtux/trok/cmd"
import "github.com/tuxdotrs/trok/cmd"
func main() {
cmd.Execute()