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