Skip to content
This repository was archived by the owner on Jul 20, 2025. It is now read-only.

Commit 1b1d866

Browse files
committed
Make module name fully qualified
1 parent cbc8908 commit 1b1d866

File tree

11 files changed

+22
-12
lines changed

11 files changed

+22
-12
lines changed

client/api.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ package client
22

33
import (
44
"bytes"
5-
"discord-delete/client/spoof"
65
"encoding/json"
76
"fmt"
87
"net/http"
98
"time"
109

10+
"github.com/adversarialtools/discord-delete/client/spoof"
1111
"github.com/pkg/errors"
12+
1213
log "github.com/sirupsen/logrus"
1314
)
1415

client/args.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import (
44
"errors"
55
"time"
66

7+
"github.com/adversarialtools/discord-delete/client/snowflake"
8+
79
log "github.com/sirupsen/logrus"
810
)
911

client/snowflake/snowflake_test.go

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

33
import (
4-
"github.com/stretchr/testify/assert"
54
"testing"
5+
6+
"github.com/stretchr/testify/assert"
67
)
78

89
func TestToSnowflake(t *testing.T) {

client/token/search.go

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

33
import (
4+
"regexp"
5+
"strconv"
6+
47
"github.com/pkg/errors"
58
log "github.com/sirupsen/logrus"
69
"github.com/syndtr/goleveldb/leveldb"
710
"github.com/syndtr/goleveldb/leveldb/opt"
8-
"regexp"
9-
"strconv"
1011
)
1112

1213
// Discord moved to https://discord.com as of some time around May 2020

client/token/search_test.go

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

33
import (
4-
"github.com/stretchr/testify/assert"
54
"testing"
5+
6+
"github.com/stretchr/testify/assert"
67
)
78

89
func TestUnquotedBadToken(t *testing.T) {

client/token/token_darwin.go

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

33
import (
4-
log "github.com/sirupsen/logrus"
54
"os"
65
"path/filepath"
76
"runtime"
7+
8+
log "github.com/sirupsen/logrus"
89
)
910

1011
var versions = []string{"discord", "discordcanary", "discordptb"}

client/token/token_linux.go

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

33
import (
4-
log "github.com/sirupsen/logrus"
54
"os"
65
"path/filepath"
6+
7+
log "github.com/sirupsen/logrus"
78
)
89

910
var versions = []string{"discord", "discordcanary", "discordptb"}

client/token/token_windows.go

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

33
import (
4-
log "github.com/sirupsen/logrus"
54
"os"
65
"path/filepath"
6+
7+
log "github.com/sirupsen/logrus"
78
)
89

910
var versions = []string{"Discord", "discordcanary", "discordptb"}

cmd/partial.go

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

33
import (
4-
"discord-delete/client"
5-
"discord-delete/client/token"
64
"os"
75

6+
"github.com/adversarialtools/discord-delete/client"
7+
"github.com/adversarialtools/discord-delete/client/token"
8+
89
log "github.com/sirupsen/logrus"
910
"github.com/spf13/cobra"
1011
)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module discord-delete
1+
module github.com/adversarialtools/discord-delete
22

33
go 1.18
44

0 commit comments

Comments
 (0)