Skip to content

Commit 80e6439

Browse files
committed
update package name and go version
1 parent 3e1b734 commit 80e6439

File tree

11 files changed

+29
-19
lines changed

11 files changed

+29
-19
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
module random
1+
module github.com/AmrSaber/random
22

3-
go 1.22.3
3+
go 1.24.2
44

55
require (
66
github.com/fatih/color v1.18.0

main.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ package main
22

33
import (
44
"os"
5-
"random/src/commands"
6-
"random/src/common"
5+
6+
"github.com/AmrSaber/random/src/commands"
7+
"github.com/AmrSaber/random/src/common"
78

89
"github.com/urfave/cli/v2"
910
)

src/commands/id.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ package commands
22

33
import (
44
"fmt"
5-
"random/src/common"
65
"slices"
76
"strings"
87

8+
"github.com/AmrSaber/random/src/common"
9+
910
"github.com/google/uuid"
1011
gonanoid "github.com/matoous/go-nanoid/v2"
1112
"github.com/urfave/cli/v2"

src/commands/pick.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package commands
22

33
import (
4-
"random/src/common"
5-
"random/src/common/helpers"
64
"strings"
75

6+
"github.com/AmrSaber/random/src/common"
7+
"github.com/AmrSaber/random/src/common/helpers"
8+
89
"github.com/urfave/cli/v2"
910
)
1011

src/commands/pick_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
package commands
22

33
import (
4-
"random/src/common"
5-
"random/src/common/tests"
64
"slices"
75
"strings"
86
"testing"
97

8+
"github.com/AmrSaber/random/src/common"
9+
"github.com/AmrSaber/random/src/common/tests"
10+
1011
"github.com/urfave/cli/v2"
1112
)
1213

src/commands/shuffle.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package commands
22

33
import (
4-
"random/src/common"
5-
"random/src/common/helpers"
64
"strings"
75

6+
"github.com/AmrSaber/random/src/common"
7+
"github.com/AmrSaber/random/src/common/helpers"
8+
89
"github.com/urfave/cli/v2"
910
)
1011

src/commands/shuffle_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
package commands
22

33
import (
4-
"random/src/common"
5-
"random/src/common/tests"
64
"slices"
75
"strings"
86
"testing"
97

8+
"github.com/AmrSaber/random/src/common"
9+
"github.com/AmrSaber/random/src/common/tests"
10+
1011
"github.com/urfave/cli/v2"
1112
)
1213

src/commands/string.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ package commands
22

33
import (
44
"fmt"
5-
"random/src/common"
6-
"random/src/common/helpers"
75
"slices"
86
"strings"
97

8+
"github.com/AmrSaber/random/src/common"
9+
"github.com/AmrSaber/random/src/common/helpers"
10+
1011
"github.com/urfave/cli/v2"
1112
)
1213

src/commands/string_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
package commands
22

33
import (
4-
"random/src/common"
5-
"random/src/common/tests"
64
"strings"
75
"testing"
86

7+
"github.com/AmrSaber/random/src/common"
8+
"github.com/AmrSaber/random/src/common/tests"
9+
910
"github.com/urfave/cli/v2"
1011
)
1112

src/common/helpers/random.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import (
44
"crypto/rand"
55
"fmt"
66
"math"
7-
"random/src/common"
7+
8+
"github.com/AmrSaber/random/src/common"
89
)
910

1011
// returns a random floating point number created with

0 commit comments

Comments
 (0)