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 package cmd
import ( import (
"github.com/0xtux/trok/internal/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/tuxdotrs/trok/internal/client"
) )
// clientCmd represents the local command // clientCmd represents the local command

View File

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

View File

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

View File

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

View File

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

View File

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