mirror of
https://github.com/tuxdotrs/trok.git
synced 2025-07-05 19:46:35 +05:30
refactor: change mod name
This commit is contained in:
@ -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
|
||||
|
@ -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{
|
||||
|
@ -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
2
go.mod
@ -1,4 +1,4 @@
|
||||
module github.com/0xtux/trok
|
||||
module github.com/tuxdotrs/trok
|
||||
|
||||
go 1.22.7
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user