Skip to content

Commit

Permalink
refactor: mistake in package name
Browse files Browse the repository at this point in the history
  • Loading branch information
dd84ai committed Feb 11, 2024
1 parent 87c0d9a commit 026e9ae
Show file tree
Hide file tree
Showing 88 changed files with 260 additions and 260 deletions.
2 changes: 1 addition & 1 deletion OLD_CODE2/consoler/consoler.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def process_cli() -> SimpleNamespace:

actions_choices = root_parser.add_subparsers(
dest="command",
help="github.com/darklab/fl-darkbot help",
help="github.com/darklab8/fl-darkbot help",
required=True,
)

Expand Down
6 changes: 3 additions & 3 deletions app/configurator/alerts.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package configurator

import (
"github.com/darklab/fl-darkbot/app/configurator/models"
"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/configurator/models"
"github.com/darklab8/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/types"
)

type AlertThresholdType interface {
Expand Down
4 changes: 2 additions & 2 deletions app/configurator/alerts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"testing"

"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/types"

"github.com/stretchr/testify/assert"
)
Expand Down
6 changes: 3 additions & 3 deletions app/configurator/channel.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package configurator

import (
"github.com/darklab/fl-darkbot/app/configurator/models"
"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/configurator/models"
"github.com/darklab8/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/types"

"github.com/darklab8/go-typelog/typelog"
"github.com/darklab8/go-utils/goutils/utils"
Expand Down
4 changes: 2 additions & 2 deletions app/configurator/channel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package configurator
import (
"testing"

"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/types"
"github.com/darklab8/go-typelog/typelog"

"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion app/configurator/configurators.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package configurator

import "github.com/darklab/fl-darkbot/app/settings/types"
import "github.com/darklab8/fl-darkbot/app/settings/types"

type Players struct {
Systems ConfiguratorSystem
Expand Down
8 changes: 4 additions & 4 deletions app/configurator/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ User settings. Probably in Sqlite3? :thinking:
package configurator

import (
"github.com/darklab/fl-darkbot/app/configurator/models"
"github.com/darklab/fl-darkbot/app/settings"
"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/configurator/models"
"github.com/darklab8/fl-darkbot/app/settings"
"github.com/darklab8/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/types"
"github.com/darklab8/go-typelog/typelog"

"gorm.io/driver/sqlite"
Expand Down
6 changes: 3 additions & 3 deletions app/configurator/fixtures.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package configurator
import (
"os"

"github.com/darklab/fl-darkbot/app/settings"
"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/settings"
"github.com/darklab8/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/types"

"github.com/darklab8/go-utils/goutils/utils"
)
Expand Down
2 changes: 1 addition & 1 deletion app/configurator/models/model_templates.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package models

import (
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/settings/types"

"gorm.io/gorm"
)
Expand Down
2 changes: 1 addition & 1 deletion app/configurator/models/models.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package models

import (
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/settings/types"

"gorm.io/gorm"
)
Expand Down
6 changes: 3 additions & 3 deletions app/configurator/ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package configurator
import (
"fmt"

"github.com/darklab/fl-darkbot/app/discorder"
"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/discorder"
"github.com/darklab8/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/types"
"github.com/darklab8/go-typelog/typelog"
)

Expand Down
6 changes: 3 additions & 3 deletions app/configurator/tags.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package configurator

import (
"github.com/darklab/fl-darkbot/app/configurator/models"
"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/configurator/models"
"github.com/darklab8/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/types"

"github.com/darklab8/go-utils/goutils/utils"
)
Expand Down
4 changes: 2 additions & 2 deletions app/configurator/tags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package configurator
import (
"testing"

"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/types"
"github.com/darklab8/go-typelog/typelog"

"github.com/stretchr/testify/assert"
Expand Down
10 changes: 5 additions & 5 deletions app/consoler/commands/alerts.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"strconv"
"strings"

"github.com/darklab/fl-darkbot/app/configurator"
"github.com/darklab/fl-darkbot/app/consoler/commands/cmdgroup"
"github.com/darklab/fl-darkbot/app/consoler/printer"
"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/configurator"
"github.com/darklab8/fl-darkbot/app/consoler/commands/cmdgroup"
"github.com/darklab8/fl-darkbot/app/consoler/printer"
"github.com/darklab8/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/types"

"github.com/darklab8/go-typelog/typelog"
"github.com/darklab8/go-utils/goutils/utils"
Expand Down
4 changes: 2 additions & 2 deletions app/consoler/commands/cmdgroup/main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cmdgroup

import (
"github.com/darklab/fl-darkbot/app/configurator"
"github.com/darklab/fl-darkbot/app/consoler/consoler_types"
"github.com/darklab8/fl-darkbot/app/configurator"
"github.com/darklab8/fl-darkbot/app/consoler/consoler_types"

"github.com/spf13/cobra"
)
Expand Down
16 changes: 8 additions & 8 deletions app/consoler/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ package commands
import (
"fmt"

"github.com/darklab/fl-darkbot/app/configurator"
"github.com/darklab/fl-darkbot/app/configurator/models"
"github.com/darklab/fl-darkbot/app/consoler/commands/cmdgroup"
"github.com/darklab/fl-darkbot/app/consoler/consoler_types"
"github.com/darklab/fl-darkbot/app/consoler/printer"
"github.com/darklab/fl-darkbot/app/settings"
"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/configurator"
"github.com/darklab8/fl-darkbot/app/configurator/models"
"github.com/darklab8/fl-darkbot/app/consoler/commands/cmdgroup"
"github.com/darklab8/fl-darkbot/app/consoler/consoler_types"
"github.com/darklab8/fl-darkbot/app/consoler/printer"
"github.com/darklab8/fl-darkbot/app/settings"
"github.com/darklab8/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/types"

"github.com/spf13/cobra"
)
Expand Down
10 changes: 5 additions & 5 deletions app/consoler/commands/shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package commands
import (
"fmt"

"github.com/darklab/fl-darkbot/app/configurator"
"github.com/darklab/fl-darkbot/app/consoler/printer"
"github.com/darklab/fl-darkbot/app/settings"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/configurator"
"github.com/darklab8/fl-darkbot/app/consoler/printer"
"github.com/darklab8/fl-darkbot/app/settings"
"github.com/darklab8/fl-darkbot/app/settings/types"

"github.com/spf13/cobra"
)
Expand All @@ -20,7 +20,7 @@ func CheckCommandAllowedToRun(cmd *cobra.Command, channels configurator.Configur
}

if !isChannelEnabled {
printer.Println(cmd, fmt.Sprintf("github.com/darklab/fl-darkbot is not connected to this channel. Run `%s connect`", settings.Config.ConsolerPrefix))
printer.Println(cmd, fmt.Sprintf("github.com/darklab8/fl-darkbot is not connected to this channel. Run `%s connect`", settings.Config.ConsolerPrefix))
return false
}

Expand Down
10 changes: 5 additions & 5 deletions app/consoler/commands/tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"fmt"
"strings"

"github.com/darklab/fl-darkbot/app/configurator"
"github.com/darklab/fl-darkbot/app/consoler/commands/cmdgroup"
"github.com/darklab/fl-darkbot/app/consoler/printer"
"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/configurator"
"github.com/darklab8/fl-darkbot/app/consoler/commands/cmdgroup"
"github.com/darklab8/fl-darkbot/app/consoler/printer"
"github.com/darklab8/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/types"

"github.com/spf13/cobra"
)
Expand Down
10 changes: 5 additions & 5 deletions app/consoler/consoler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ package consoler
import (
"strings"

"github.com/darklab/fl-darkbot/app/configurator"
"github.com/darklab/fl-darkbot/app/consoler/commands"
"github.com/darklab/fl-darkbot/app/consoler/consoler_types"
"github.com/darklab/fl-darkbot/app/settings"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/configurator"
"github.com/darklab8/fl-darkbot/app/consoler/commands"
"github.com/darklab8/fl-darkbot/app/consoler/consoler_types"
"github.com/darklab8/fl-darkbot/app/settings"
"github.com/darklab8/fl-darkbot/app/settings/types"
)

type Consoler struct {
Expand Down
6 changes: 3 additions & 3 deletions app/consoler/consoler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package consoler
import (
"testing"

"github.com/darklab/fl-darkbot/app/configurator"
"github.com/darklab/fl-darkbot/app/settings"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/configurator"
"github.com/darklab8/fl-darkbot/app/settings"
"github.com/darklab8/fl-darkbot/app/settings/types"

"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion app/consoler/consoler_types/types.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package consoler_types

import "github.com/darklab/fl-darkbot/app/settings/types"
import "github.com/darklab8/fl-darkbot/app/settings/types"

type ChannelParams struct {
channelID types.DiscordChannelID
Expand Down
2 changes: 1 addition & 1 deletion app/consoler/printer/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Those functions are capable to print back to user to Discord via Cobra
import (
"fmt"

"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/logus"

"github.com/spf13/cobra"
)
Expand Down
6 changes: 3 additions & 3 deletions app/discorder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"fmt"
"time"

"github.com/darklab/fl-darkbot/app/settings"
"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab/fl-darkbot/app/settings/types"
"github.com/darklab8/fl-darkbot/app/settings"
"github.com/darklab8/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/types"

"github.com/darklab8/go-utils/goutils/utils"

Expand Down
4 changes: 2 additions & 2 deletions app/exposer/exposer.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
_ "embed"
"net/http"

"github.com/darklab/fl-darkbot/app/exposer/routes"
"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/exposer/routes"
"github.com/darklab8/fl-darkbot/app/settings/logus"
)

func NewExposer() {
Expand Down
2 changes: 1 addition & 1 deletion app/exposer/exposer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/logus"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion app/exposer/management/devrun.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
_ "embed"

"github.com/darklab/fl-darkbot/app/exposer"
"github.com/darklab8/fl-darkbot/app/exposer"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion app/exposer/routes/home.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
_ "embed"
"net/http"

"github.com/darklab/fl-darkbot/app/exposer/web"
"github.com/darklab8/fl-darkbot/app/exposer/web"
)

//go:embed home.md
Expand Down
2 changes: 1 addition & 1 deletion app/exposer/routes/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package routes
import (
"net/http"

"github.com/darklab/fl-darkbot/app/exposer/web"
"github.com/darklab8/fl-darkbot/app/exposer/web"
)

var Server *web.Server = web.NewServer()
Expand Down
2 changes: 1 addition & 1 deletion app/exposer/web/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package web
import (
"net/http"

"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/settings/logus"
)

type Server struct {
Expand Down
4 changes: 2 additions & 2 deletions app/forumer/forum_post.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"net/url"
"strings"

"github.com/darklab/fl-darkbot/app/forumer/forum_types"
"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/forumer/forum_types"
"github.com/darklab8/fl-darkbot/app/settings/logus"

"github.com/anaskhan96/soup"
)
Expand Down
4 changes: 2 additions & 2 deletions app/forumer/forum_post_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"path/filepath"
"testing"

"github.com/darklab/fl-darkbot/app/forumer/forum_types"
"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/forumer/forum_types"
"github.com/darklab8/fl-darkbot/app/settings/logus"

"github.com/darklab8/go-utils/goutils/utils"

Expand Down
4 changes: 2 additions & 2 deletions app/forumer/forum_threads.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"net/url"

"github.com/darklab/fl-darkbot/app/forumer/forum_types"
"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/forumer/forum_types"
"github.com/darklab8/fl-darkbot/app/settings/logus"

"github.com/anaskhan96/soup"
)
Expand Down
4 changes: 2 additions & 2 deletions app/forumer/forum_threads_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"path/filepath"
"testing"

"github.com/darklab/fl-darkbot/app/forumer/forum_types"
"github.com/darklab/fl-darkbot/app/settings/logus"
"github.com/darklab8/fl-darkbot/app/forumer/forum_types"
"github.com/darklab8/fl-darkbot/app/settings/logus"

"github.com/darklab8/go-utils/goutils/utils"

Expand Down
Loading

0 comments on commit 026e9ae

Please sign in to comment.