Skip to content

Commit

Permalink
Update Go module name
Browse files Browse the repository at this point in the history
Co-Authored-By: Liza Tsibur <[email protected]>
  • Loading branch information
caffeinatedpixel and lisaSW committed Jul 3, 2024
1 parent b3db023 commit 3e017f3
Show file tree
Hide file tree
Showing 62 changed files with 237 additions and 177 deletions.
9 changes: 5 additions & 4 deletions analysis/analysis.go
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
package analysis

import (
"activecm/rita/config"
"activecm/rita/database"
"activecm/rita/logger"
"activecm/rita/util"
"context"
"fmt"
"math"
"net"
"runtime"
"time"

"github.com/activecm/ritav2/config"
"github.com/activecm/ritav2/database"
"github.com/activecm/ritav2/logger"
"github.com/activecm/ritav2/util"

"golang.org/x/sync/errgroup"
"golang.org/x/time/rate"
)
Expand Down
3 changes: 2 additions & 1 deletion analysis/analysis_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package analysis

import (
"activecm/rita/config"
"log"
"testing"

"github.com/activecm/ritav2/config"

"github.com/joho/godotenv"
"github.com/spf13/afero"
"github.com/stretchr/testify/require"
Expand Down
5 changes: 3 additions & 2 deletions analysis/beacons.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package analysis

import (
"activecm/rita/logger"
"activecm/rita/util"
"errors"
"fmt"
"math"
"slices"
"sort"

"github.com/activecm/ritav2/logger"
"github.com/activecm/ritav2/util"

"github.com/montanaflynn/stats"
)

Expand Down
7 changes: 4 additions & 3 deletions analysis/spagooper.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
package analysis

import (
"activecm/rita/logger"
"activecm/rita/progressbar"
"activecm/rita/util"
"context"
"fmt"
"net"
"os"
"strconv"
"time"

"github.com/activecm/ritav2/logger"
"github.com/activecm/ritav2/progressbar"
"github.com/activecm/ritav2/util"

"github.com/ClickHouse/clickhouse-go/v2"
"github.com/charmbracelet/bubbles/progress"
tea "github.com/charmbracelet/bubbletea"
Expand Down
5 changes: 3 additions & 2 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package cmd

import (
"activecm/rita/config"
"activecm/rita/util"
"errors"
"fmt"

"github.com/activecm/ritav2/config"
"github.com/activecm/ritav2/util"

"github.com/google/go-github/github"
"github.com/spf13/afero"
"github.com/urfave/cli/v2"
Expand Down
5 changes: 3 additions & 2 deletions cmd/cmd_test.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
package cmd_test

import (
"activecm/rita/config"
"activecm/rita/database"
"context"
"fmt"
"log"
"os"
"path/filepath"
"testing"

"github.com/activecm/ritav2/config"
"github.com/activecm/ritav2/database"

"github.com/joho/godotenv"
"github.com/spf13/afero"
"github.com/stretchr/testify/require"
Expand Down
5 changes: 3 additions & 2 deletions cmd/delete.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package cmd

import (
"activecm/rita/config"
"activecm/rita/database"
"context"
"errors"
"fmt"
"regexp"
"strings"

"github.com/activecm/ritav2/config"
"github.com/activecm/ritav2/database"

"github.com/manifoldco/promptui"
"github.com/spf13/afero"
"github.com/urfave/cli/v2"
Expand Down
5 changes: 3 additions & 2 deletions cmd/delete_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package cmd_test

import (
"activecm/rita/cmd"
"activecm/rita/database"
"testing"
"time"

"github.com/activecm/ritav2/cmd"
"github.com/activecm/ritav2/database"

"github.com/spf13/afero"
"github.com/stretchr/testify/require"
"github.com/urfave/cli/v2"
Expand Down
15 changes: 8 additions & 7 deletions cmd/import.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
package cmd

import (
"activecm/rita/analysis"
"activecm/rita/config"
"activecm/rita/database"
"activecm/rita/importer"
"activecm/rita/logger"
"activecm/rita/modifier"
"activecm/rita/util"
"errors"
"fmt"
"math"
Expand All @@ -21,6 +14,14 @@ import (
"time"
"unicode"

"github.com/activecm/ritav2/analysis"
"github.com/activecm/ritav2/config"
"github.com/activecm/ritav2/database"
"github.com/activecm/ritav2/importer"
"github.com/activecm/ritav2/logger"
"github.com/activecm/ritav2/modifier"
"github.com/activecm/ritav2/util"

"github.com/spf13/afero"
"github.com/urfave/cli/v2"
)
Expand Down
10 changes: 6 additions & 4 deletions cmd/import_test.go
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
package cmd_test

import (
"activecm/rita/cmd"
"activecm/rita/database"
"activecm/rita/util"
"context"
"fmt"

"activecm/rita/importer"
"github.com/activecm/ritav2/cmd"
"github.com/activecm/ritav2/database"
"github.com/activecm/ritav2/util"

iofs "io/fs"
"os"
"path/filepath"
"strings"
"testing"
"time"

"github.com/activecm/ritav2/importer"

"github.com/ClickHouse/clickhouse-go/v2"
"github.com/spf13/afero"
"github.com/stretchr/testify/require"
Expand Down
5 changes: 3 additions & 2 deletions cmd/list.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
package cmd

import (
"activecm/rita/config"
"activecm/rita/database"
"context"
"fmt"
"os"
"strconv"

"github.com/activecm/ritav2/config"
"github.com/activecm/ritav2/database"

"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/table"
"github.com/spf13/afero"
Expand Down
7 changes: 4 additions & 3 deletions cmd/list_test.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package cmd_test

import (
"activecm/rita/cmd"
"activecm/rita/config"
"activecm/rita/database"
"context"
"net"
"strings"
"time"

"github.com/activecm/ritav2/cmd"
"github.com/activecm/ritav2/config"
"github.com/activecm/ritav2/database"

"github.com/spf13/afero"
"github.com/stretchr/testify/require"
)
Expand Down
5 changes: 3 additions & 2 deletions cmd/validate.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package cmd

import (
"activecm/rita/config"
"activecm/rita/util"
"errors"
"fmt"

"github.com/activecm/ritav2/config"
"github.com/activecm/ritav2/util"

"github.com/spf13/afero"
"github.com/urfave/cli/v2"
)
Expand Down
9 changes: 5 additions & 4 deletions cmd/view.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
package cmd

import (
"activecm/rita/config"
"activecm/rita/database"
"activecm/rita/util"
"activecm/rita/viewer"
"context"
"database/sql"
"errors"
"fmt"

"github.com/activecm/ritav2/config"
"github.com/activecm/ritav2/database"
"github.com/activecm/ritav2/util"
"github.com/activecm/ritav2/viewer"

"github.com/spf13/afero"
"github.com/urfave/cli/v2"
)
Expand Down
3 changes: 2 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package config

import (
"activecm/rita/util"
"errors"
"fmt"
"os"
"sync"

"github.com/activecm/ritav2/util"

"github.com/hjson/hjson-go/v4"
"github.com/spf13/afero"
)
Expand Down
3 changes: 2 additions & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
package config

import (
"activecm/rita/util"
"fmt"
"log"
"net"
"os"
"testing"

"github.com/activecm/ritav2/util"

"github.com/joho/godotenv"
"github.com/spf13/afero"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion config/filter.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package config

import (
"activecm/rita/util"
"github.com/activecm/ritav2/util"

"net"
)
Expand Down
5 changes: 3 additions & 2 deletions database/db.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package database

import (
"activecm/rita/config"
"activecm/rita/logger"
"context"
"database/sql"
"errors"
Expand All @@ -11,6 +9,9 @@ import (
"net"
"time"

"github.com/activecm/ritav2/config"
"github.com/activecm/ritav2/logger"

clickhouse "github.com/ClickHouse/clickhouse-go/v2"
driver "github.com/ClickHouse/clickhouse-go/v2/lib/driver"
)
Expand Down
7 changes: 4 additions & 3 deletions database/db_test.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
package database_test

import (
"activecm/rita/cmd"
"activecm/rita/database"
"activecm/rita/util"
"context"
"fmt"
"os"
"path/filepath"
"testing"
"time"

"github.com/activecm/ritav2/cmd"
"github.com/activecm/ritav2/database"
"github.com/activecm/ritav2/util"

clickhouse "github.com/ClickHouse/clickhouse-go/v2"
"github.com/spf13/afero"
"github.com/stretchr/testify/require"
Expand Down
5 changes: 3 additions & 2 deletions database/metadb.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package database

import (
"activecm/rita/config"
"activecm/rita/util"
"fmt"
"strconv"
"time"

"github.com/activecm/ritav2/config"
"github.com/activecm/ritav2/util"

"github.com/ClickHouse/clickhouse-go/v2"
)

Expand Down
5 changes: 3 additions & 2 deletions database/server.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package database

import (
"activecm/rita/config"
"activecm/rita/logger"
"context"
"database/sql"
"errors"
"fmt"
"time"

"github.com/activecm/ritav2/config"
"github.com/activecm/ritav2/logger"

clickhouse "github.com/ClickHouse/clickhouse-go/v2"
driver "github.com/ClickHouse/clickhouse-go/v2/lib/driver"
"github.com/spf13/afero"
Expand Down
Loading

0 comments on commit 3e017f3

Please sign in to comment.